Find the answer to your Linux question:
Results 1 to 5 of 5
hi! Im trying to create a new disk so that I can download some files. I have done this: * Created a new disk in VMware as a root user: ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    13

    NEWBIE: help me create/mount a disc

    hi!
    Im trying to create a new disk so that I can download some files.


    I have done this:

    * Created a new disk in VMware

    as a root user:
    * fdisk /dev/sdb (my new disk)
    * pvcreate /dev/sdb
    * vgcreate oracle /dev/sdb
    * mkdir opt/oracle
    * lvcreate -L 5000 -n orcl oracle
    * mkfs.reiserfs /dev/oracle/orcl

    Should I edit fstab? And with what?

    I have tried som different things, but when I try:

    mount /opt/oracle

    I get a "not a block device"

    or a

    mount: mount point /orcl does not exist

    What to do?
    Are the steps above done correctly?

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    8

    Smile

    Hallo,
    Try to use partionator in Yast; here you can format the disk with the filesystem you want, make the partions you desire and set the mount's point.

    See you,

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    13
    Thanks!

    I have solved my "problem".

    I do have another one now. I want to move a file to my new directory /opt/oracle

    But I dont have the permission to do that. How do I change the permission on the directory? I have tried chmod, but that doesnt work, at least not for me

  4. #4
    Just Joined!
    Join Date
    Jun 2007
    Posts
    8
    Hi there !
    Yast ->Partionatorer ->modify the partiotion you have created in your new disk...in these cards there's a flag to select: automatic mount and available for user; select them and you can use your disk without root permission

    Bye

  5. #5
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    su
    chown username /opt/oracle

    Replace username with your username.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...