Hi I'm trying to upgrade my personal web server & I have a 4 port SATA2
PCI card with the 4 Hard Drives connected, I'm putting a 1GB swap
partition at the front of each of the 4 500GB drives and the rest is /
in an mdadm software RAID5 configuration.
I know you cant boot a RAID5 system directly so I've tried having /boot
on a 4GB CF card connected to the on-board IDE bus, and also on 2 in a
RAID1 configuration,
I've been banging my head against this for a while,
I've been adding various permutations of
insmod raid
insmod raid5rec
insmod mdraid
to the grub boot options along with adding a rootdelay=15
bootdegraded=true init=/initrd.img-2.6.32-5-686
to the kernel line and I've ended up with an unbootable machine.
The current attempt leaves me with an error along the lines of
raid5: not enough operational devices for md0 (3/4 failed)
raid5: failed to run raid set md0
md: pers->run() failed...
mdadm: failed to RUN_ARRAY /dev/md/0: input/output error
mdadm: Not enough devices to start the array.
mdadm: /dev/md/0 is already in use.
But if I boot a knoppix disk the array starts and mounts fine, one thing
that occurred to me is that the initrd and vmlinuz symlinks are in / and
not accessible until the array is assembled.
there are more messages about failing to mount stuff which you'd expect
before
Target filesystem doesn't have requested /sbin/init.
No init found, Try passing init= bootarg.
but if I go the the grub prompt and ls /
I can see the /initrd.img-2.6.32-5-686 and /vmlinuz-2.6.32-5-686 and a
config file listed.
I've read numerable howtos but most of them are talking about having /
on a RAID1 or 10 partition & many go on to say the modern installers are
prity good with regard to RAID and it should just work.
What am I missing? I'm sure it's something pretty obvious that my
searchfu hasn't turned up.
Sorry it's a bit long
Any help greatly appreciated, thank you for your time.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/500f50f4.1020...@homeurl.co.uk