mdadm now creates version 1.1 superblock by default. The following warning is shown: mdadm: Note: this array has metadata at the start and may not be suitable as a boot device. If you plan to store '/' or '/boot' on this device please ensure that your boot-loader understands md/v1.x metadata, or use --metadata=1.0 But neither arrays with 1.1 nor 1.0 superblocks are recognized during boot by the kernel. That's why the "Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide" http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml should be modified. mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 should be replaced by mdadm --create /dev/md1 --level=1 --raid-devices=2 / --metadata=0.90 dev/sda1 /dev/sdb1 Reproducible: Always
Thanks for reporting this. Can someone from base-systems please comment on this and update the docs if and where appropiate?
using 0.90 superblocks should really only be needed for the root partition as that is the only one the kernel will need started. the rest can be bootstrapped by userspace tools (i.e. mdadm and the mdraid init.d script) and so the default is fine. another option is to use genkernel and produce an initramfs with mdadm in it so it will handle starting up of the raids. then any superblock version should be fine. as for updating the doc, that appears to have been written by the docs-team, so i'm not sure what there is for base-system to do.
Fixed in CVS, thanks. It'll show up on the live web nodes shortly.