I have built a new server and I have installed a fakeraid array. (system board bios)
david@sGlamp:$ sudo dmraid -r
[sudo] password for david:
/dev/sda: pdc, "pdc_bafgaid-0", stripe, ok, 310546816 sectors, data@ 0
/dev/sdb: pdc, "pdc_bafgaid-0", stripe, ok, 310546816 sectors, data@ 0
/dev/sdc: pdc, "pdc_bafgaid-1", stripe, ok, 310546816 sectors, data@ 0
/dev/sdd: pdc, "pdc_bafgaid-1", stripe, ok, 310546816 sectors, data@ 0
I have not been able to mount it. I have tried using this.
david@sGlamp:/$ sudo mount /dev/mapper/pdc_bafgaid-0 /mnt/var/www
When I do I get this.
mount: /dev/mapper/pdc_bafgaid-0 already mounted or busy
but
david@sGlamp:/$ sudo umount /dev/mapper/pdc_bafgaid-0
umount: /dev/mapper/pdc_bafgaid-0: not mounted
I have tried adding to my fstab like this, but does not mount.
/dev/mapper/pdc_bafgaid-0 /var/www reiserfs defaults 0 1
I have googled a lot of stuff about how to install on a raid. I have installed ubuntu lamp on a separate hard drive that is not part of the array, now I just wan to mount and put my /home and /var/www on it. Can anyone point me in the right direction.
I hope this is not too confusing. I am totally confused.
David
david@sGlamp:$ sudo dmraid -r
[sudo] password for david:
/dev/sda: pdc, "pdc_bafgaid-0", stripe, ok, 310546816 sectors, data@ 0
/dev/sdb: pdc, "pdc_bafgaid-0", stripe, ok, 310546816 sectors, data@ 0
/dev/sdc: pdc, "pdc_bafgaid-1", stripe, ok, 310546816 sectors, data@ 0
/dev/sdd: pdc, "pdc_bafgaid-1", stripe, ok, 310546816 sectors, data@ 0
I have not been able to mount it. I have tried using this.
david@sGlamp:/$ sudo mount /dev/mapper/pdc_bafgaid-0 /mnt/var/www
When I do I get this.
mount: /dev/mapper/pdc_bafgaid-0 already mounted or busy
but
david@sGlamp:/$ sudo umount /dev/mapper/pdc_bafgaid-0
umount: /dev/mapper/pdc_bafgaid-0: not mounted
I have tried adding to my fstab like this, but does not mount.
/dev/mapper/pdc_bafgaid-0 /var/www reiserfs defaults 0 1
I have googled a lot of stuff about how to install on a raid. I have installed ubuntu lamp on a separate hard drive that is not part of the array, now I just wan to mount and put my /home and /var/www on it. Can anyone point me in the right direction.
I hope this is not too confusing. I am totally confused.
David
Comment