Bug#519328: mdadm: initramfs hook should warn on old mdadm.conf (patch)

Adrian Bridgett adrian at smop.co.uk
Wed Mar 11 21:36:03 UTC 2009


Package: mdadm
Version: 2.6.7.2-1
Severity: minor

This patch warns if /etc/mdadm/mdadm.conf has some devices but not all.

I hadn't realised you were supposed to edit /etc/mdadm/mdadm.conf each
time you created a new md device.  

/usr/share/initramfs-tools/hooks/mdadm looks like it will ensure a
scan takes place if /etc/mdadm/mdadm.conf is devoid of any MD devices.
However if you have an one from a long time ago (and have perhaps just
added another MD device into your root volume group), only the
original MD device is assembled in the initramfs and you can't boot.

Hopefully this will save someone else hitting this issue.

Adrian
-- 
Email: adrian at smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mdadm.diff
Type: text/x-diff
Size: 744 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090311/0afa0318/attachment.diff 


More information about the pkg-mdadm-devel mailing list