I am having trouble getting a second HDD mounted in my server. I ran through the steps found at
http://mirror.contribs.org/smeserver/contribs//mblotwijk/HowToGuides/AddExtraHardDisk.htm in a VM test environment on SME7pre3 and everything worked great. However now I am trying to do it in production on SME 7.1 (upgrade from 7.0) and I receive the following error:
mount: /dev/sdb1 already mounted or /mnt/backup busy.
Everything in the document works fine up to the point I try and mount the disk
Running mount shows the following:
/dev/mapper/main-root on / type ext3 (rw,usrquota,grpquota)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/md1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
It is clearly not mounted.
Running fuser -m /dev/sdb1 and 2 (Both valid partitions with new ext3 file systems in them) returns nothing (New command line).
Running mdadm -Q /dev/sdb /dev/sdb1 /dev/sdb2 returns
/dev/sdb: is not an md array
/dev/sdb: No md super block found, not an md component.
for each command.
I have never worked with Linux software raid before but my suspicion is that it is taking control of the drive some how.
My system is using the nv_raid SATA controler with a seagate 7200.10 320GB as the main system drive attempting to add another seagate 7200.10 500GB drive on the same controller.
fdisk -l returns:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 38913 312464250 fd Linux raid autodetect
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 36474 292977373+ 83 Linux
/dev/sdb2 36475 60801 195406627+ 83 Linux
Disk /dev/md2: 319.9 GB, 319963267072 bytes
2 heads, 4 sectors/track, 78116032 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
Disk /dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
I have seen mention of the following command being put in /etc/rc.local but since I have little to no software raid experience I do not know if this is something I should even try as a short term solution:
dmsetup remove_all; sleep 10; mount /dev/hde1
Any ideas or suggestions would be appreciated.
Thanks,