Find the answer to your Linux question:
Results 1 to 6 of 6
OK, this is probably an easy question but I can't seem to figure it out. I have added two disks to my system and want to run them as RAID1. ...
  1. #1
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30

    Mounting

    OK, this is probably an easy question but I can't seem to figure it out.

    I have added two disks to my system and want to run them as RAID1. I have set them up as 0x83 and created a RAID1 parition using them named /md0 formated as ext3.

    I can figure out how to mount this new drive to a folder of the root (simply put mount point to /somename). But I want it to show up under media: as the two partitions of the main drive does (root and home).

    How do I do this?

    And is there an easy way of setting user rights through Yast or do I have to stick to using chmod on the mount point?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you can mount partitions anywhere. create a mount_point (folder) in /media and execute mount command. add an entry in /etc/fstab file and partition will be mounted at boot up automatically.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    I think you misunderstood.

    What I want to do is mount it as a device so that it shows up in konqueror when going media:/ and as a device in the main window listed under "Disk Information".

    Last edited by TheMayhem; 05-11-2007 at 05:18 PM. Reason: Added picture

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    partitions mounted at boot up appear in media:/ or sysinfo:/. if you mount partitions manually, those wont appear media:/ or sysinfo:/. add entries in /etc/fstab file to mount partitions at boot up.
    mount_point doesn't matter in this case.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    I manage to do this with a regular partition, it shows up fine as a device. But the raid fails during boot. Is there any special actions to take for raid partitions?

  6. #6
    Just Joined! TheMayhem's Avatar
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    30
    System boots now and the drive is mounted in the folder I choose, but it still doesn't show up in media:/ and sysinfo:/

    Here's how the partitioner looks:


    And here is my fstab file:
    Code:
    /dev/hda2            /                    ext3       acl,user_xattr        1 1
    /dev/hda3            /home                ext3       acl,user_xattr        1 2
    /dev/hda1            swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    LABEL=MHQclean       /local               ext3       acl,user_xattr        1 2
    /dev/md0             /mnt/myraid          ext3       defaults          0 0
    It's md0 I am having trouble getting to show up.

Posting Permissions

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