update-initramfs not finding UUID-less raid arrays in mdadm.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I found this in an unattended-upgrades notification email after a kernel upgrade:
update-initramfs: Generating /boot/initrd.
W: mdadm: the array /dev/md1 with UUID 69643aeb:
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/
W: mdadm: it to /etc/mdadm/
W: mdadm: the array /dev/md3 with UUID 5254924c:
W: mdadm: is currently active, but it is not listed in mdadm.conf. if
W: mdadm: it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!
W: mdadm: please inspect the output of /usr/share/
W: mdadm: it to /etc/mdadm/
The messages are reproducable by running update-initramfs -u
/etc/mdadm/
# This file was auto-generated on Tue, 04 Mar 2014 11:35:34 +0100
# by mkconf $Id$
ARRAY /dev/md1 level=raid1 num-devices=2 devices=
ARRAY /dev/md3 level=raid1 num-devices=2 devices=
/usr/share/
# definitions of existing MD arrays
ARRAY /dev/md1 UUID=69643aeb:
ARRAY /dev/md3 UUID=5254924c:
Reboot worked fine with no changes to mdadm.conf
Replacing mdadm.conf with output of mkconf or adding UUID parameter after the others stops the warning.
mdadm version is 3.2.5-5ubuntu4
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initramfs-tools 0.103ubuntu4
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Wed May 7 08:58:01 2014
PackageArchitec
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
mdadm hook, is in fact shipped in the mdadm package not in the initramfs-tools itself.