Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Newbe when it comes to linux so this might be an easy thing. I have just installed Ubuntu 10.10 server on and old pc to use it as a ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    6

    [SOLVED] Using fakeraid for samba share, how do I mount

    Hi,

    Newbe when it comes to linux so this might be an easy thing.

    I have just installed Ubuntu 10.10 server on and old pc to use it as a backup server for my and my kids pc's.

    The pc I use for the Ubuntu server has two sata disks on a fasttrak 378 controller, fakeraid as I have learned, and a single pata disk. I have installed ubuntu on the single pata disk and was planing to use the fakeraid as the samba share.

    df ->
    Code:
    /dev/mapper/ubuntu-root
                          75287688    985120  70478136   2% /
    none                   1024032       248   1023784   1% /dev
    none                   1030124         0   1030124   0% /dev/shm
    none                   1030124       336   1029788   1% /var/run
    none                   1030124         0   1030124   0% /var/lock
    /dev/sda1               233191     20198    200552  10% /boot
    
    ls -l in /dev/mapper ->
    totalt 0
    crw------- 1 root root 10, 59 2011-01-15 10:01 control
    lrwxrwxrwx 1 root root      7 2011-01-15 10:01 pdc_ccficdjhfc -> ../dm-2
    lrwxrwxrwx 1 root root      7 2011-01-15 10:01 pdc_ccficdjhfc1 -> ../dm-3
    lrwxrwxrwx 1 root root      7 2011-01-15 10:01 ubuntu-root -> ../dm-0
    lrwxrwxrwx 1 root root      7 2011-01-15 10:01 ubuntu-swap_1 -> ../dm-1
    
    dmraid -r ->
    /dev/sdc: pdc, pdc_ccficdjhfc, mirror, ok, 238281250 sectors, data(a) 0
    /dev/sdb: pdc, pdc_ccficdjhfc, mirror, ok, 238281250 sectors, data(a) 0
    I'm guessing that the fakeraid is not mounted on the system from the df output.

    So, finally, to the question: How do I mount this fakeraid with a mirror setup? should I mount one of the disks, and if so which?

    Thank you in advance for any answers or proposals
    Last edited by MikeTbob; 01-15-2011 at 06:13 PM. Reason: Added Code Tags

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    6
    And of course, how do I keep the mount at reboot?

    Thanks again.

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    6
    Solved it my self. It was the "/dev/mapper/pdc_ccficdjhfc1" I should mount. I guess this is the partition, correct? Once I got it mounted and verified it worked I added it into /etc/fstab. After a reboot a uuid was created so I went ahead changed to that in /etc/fstab. Now it all works fine.

Posting Permissions

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