Bug#860758: Note in mdadm.conf that the initramfs has its own copy

Anthony DeRobertis anthony at derobert.net
Wed Apr 19 19:22:09 UTC 2017


Package: mdadm
Version: 3.4-4+b1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems that not everyone knows that the initramfs keeps its own copy
of mdadm.conf and thus you often need to run update-initramfs after
editing /etc/mdadm/mdadm.conf.

I think a comment in the file would help with that. The mdadm.conf(5)
man page doesn't appear to mention it either.

Not being aware of this breaks people's systems, e.g.,:

https://unix.stackexchange.com/questions/359952/md-raid-fails-on-first-boot-of-the-day

https://unix.stackexchange.com/questions/210416/new-raid-array-will-not-auto-assemble-leads-to-boot-problems

https://unix.stackexchange.com/questions/165959/degraded-raid1-array-boots-with-one-drive-not-with-the-other (possibly)

https://unix.stackexchange.com/questions/23879/using-mdadm-examine-to-write-mdadm-conf (RHEL)



More information about the pkg-mdadm-devel mailing list