I'm starting out with software RAID on Linux and hit a roadblock when using a nested RAID schema. I have three small disks that I'm RAID0ing, and then RAID1ing with a partition on another larger HDD. In effect, this leads to a RAID0+1 scheme, with a RAID1 of a physical partition and a RAID0 partition.
It all works find when I assemble the partitions manually, however on reboot, the top RAID1 doesn't get completely assembled - only the physical partition gets added to the RAID. I have to manually add the RAID0 partition to it, which in turn requires a complete recovery of the drive.
Is there any way to make the kernel attach both the physical and RAID0 partition to the RAID1 array on boot?
- Here's my dmesg, with MD initializion around the 11.19 second mark: http://pastie.org/private/rz1z9uxmiymbqn9we6xscq
- Here's my mdadm.conf http://pastie.org/private/d0odd2hybleaxxkp8nsbyw
- Here's my /etc/default/mdadm config file: http://pastie.org/private/f8zpveb7snumowv7pw5da
The RAID0 drives are /dev/ida/c0d0p2, /dev/ida/c0d1p1 and /dev/ida/c0d2p1. They are set to attach to the /dev/md0 array. Then /dev/md0p1 and /dev/sda1 should be attached to /dev/md1, which is the system root partition.
"@MarkM: It's on very old hardware, and because I can ;)"Server Fault is for system administrators and desktop support professionals, people who manage or maintain computers in a professional capacity. <-- From the faq. It seems that you may be asking this on the wrong site. – MDMarra Dec 14 '11 at 18:25