Bug#492897: mdadm homehost features need 1.X based mdraids

Joey Korkames joey+floss at kidfixit.com
Thu Apr 8 20:05:10 UTC 2010


All of the HOMEHOST= garbage that the mdadm package's 
initramfs-tools hook uses really requires 1.X based mdraids to work 
properly. However, the new machines I builds that way then cannot use GRUB2 
:-(

The problems with 0.90 raids are replete.
For instance, after a system's hostname is changed and rebooted, 
the initramfs will fallback to assembling the "foreign" homehost'd 
mdraids (labeled with the old hostname) and retagging the homehost 
metadata key with the new hostname. The 0.90 format doesn't truly support 
homehost retagging, the homehost= value is a hash embedded in the mdraid's 
uuid at create-time. The initramfs fallback behavior also seems to fail 
for 0.90, for unknown reasons.

I understand these are truly mdadm bugs, but I doubt the package maintainer 
nor author really want to patch for this obsolete metadata version. I'd 
prefer the new superblock format be supported by GRUB2.

Thanks for this awesome bootloader and for making it the new Debian/Ubuntu 
standard!

-joey






More information about the Pkg-grub-devel mailing list