File Server RAID-5
My root filesystem is loaded across 2 40gb hdds with raid 2 and there are absolutly no problems booting my machine into linux BUT, I also have 4 SATA seagate 300GB hdds on a promise sata card.
Here is my problem:
-My 4 SATA drives are setup using RAID 5, I set them up using mdadm.
"mdadm -C /dev/md3 --auto -n4 -l5 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1" I then created a mount location (/archives) then I manually mounted the filesystem (after formatting it)...I can use the drives just fine. I then added entrys in to fstad, mtab, and mdadm.conf (see below)... I have been looking at about 30 webpages and some say use one, some say use the other...I just used them all... ok, everything looks just fine to me...but I obviously don't know shit, lol. when I reboot the machine, the RAID will not start, nor will it mount. I can restart the array using "mdadm -As /dev/md3" (or by recreating it, and lose no data either way) but its a huge pain in my ass... How can I get these drives to load/mount on boot?
(/dev/md3 are my SATA drives)
I have other info such as my dmesg if you think you need it to help me
Fstab:
/etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/md3 /archives ext3 defaults 0 0
/dev/md2 / ext3 defaults,errors=remount-ro 0 1
/dev/md0 /boot ext2 defaults 0 2
/dev/md1 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Mtab:
/dev/md2 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/md0 /boot ext2 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0
/dev/md3 /archives ext3 rw 0 0
Mdadm.conf:
DEVICE partitions
ARRAY /dev/md3 level=raid5 num-devices=4 UUID=a3154cec:11371890:66deaae9:f07d161c
devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=c22e74f8:e7dfe3f9:3d1cbd65:39a192de
devices=/dev/hda6,/dev/hdb6
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=52f696e2:fa620ff5:8571115f:975907e5
devices=/dev/hda5,/dev/hdb5
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=30c0b246:bd5c8ae2:dc912d1a:3646555b
devices=/dev/hda1,/dev/hdb1
I will love you FOREVER if you can help me! :-P
|