raid 10 not auto detected
I have installed slackware 14.0 on a USB-stick, grub 1.5 as boatloader.
Next I have put four similar disks in the system and created a RAID 10 array.
My mdadm.conf looks OK.
However it is not detected on boot.
Assembling and mounting it by hand works correctly.
How can I make sure it is detected at boot and mounted in fstab?
I'm not very familiar with RAID but I'll try to provide some suggestions.
Make sure that you included RAID support and UDEV in your initrd.
Copy "/etc/mkinitrd.conf.sample" to "/etc/mkinitrd.conf" and modify the lines for these options.
If you still have problems please post your "mdadm.conf", the "mkinitrd" command that you used and the contents of "mkinitrd.conf". It will also be helpful if you post the message log.
To copy the message log to a file you can use this command.
Please post a little bit more about what you are trying to do.
What command line did you pass to mkinitrd?
When I assemble it by hand
> mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
all seems fine.
I guess not enough.
I have tried another thing by installing slackware directly on a stick and I see a line passing by mentioning it is trying to detect a raid array, not there yet.
I had to remove the disks from the system cause I have another problem while booting with grub.
Maybe it is off topic but here it goes;
My slackware install on the USB disk, /dev/sda, went fine.
Installed grub and it boots correctly.
When adding the disks for the raid array my system is not able to boot anymore
/dev/sda is the 1st disk in the array and /dev/sdd the last.
/dev/sde is now the USB stick with the slack-install.
How can I resolve this boot issue ?
I have tried to modify the boot commands without success.
The booting is solved. phew.
I added 2 more devices to the devices.map of grub, changed my fstab so that sde2 is mounted to /.
With this full install (no X however), my raid is auto detected. Which make me conclude that indeed the initrd was not OK
Also - did you make then disk type as "FD" when you fdisk'ed them ?
Yes i did.
|All times are GMT -5. The time now is 02:42 PM.|