[Bug 550131] Re: maps file not getting copied from initramfs to real rootfs (loosing state, race, misconfig)
Surbhi Palande
550131 at bugs.launchpad.net
Wed Dec 28 23:50:32 UTC 2011
@Steve, Sorry for the delay in my reply.
As far as I can remember, the map is lost when we pivot to the *new* rootfs. The lost map is then reconstructed by calling the rebuild code. This map is what is needed for the proper reconstruction of the raid array.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/550131
Title:
maps file not getting copied from initramfs to real rootfs (loosing
state, race, misconfig)
Status in “mdadm” package in Ubuntu:
In Progress
Status in “mdadm” source package in Lucid:
In Progress
Status in “mdadm” source package in Maverick:
In Progress
Bug description:
Binary package hint: mdadm
"mdadm --incremental" will save state in a map file under
/var/run/mdadm/map.
But in initramfs and early boot this directory does not exist.
The state is then saved in /var/run/mdadm.map.new (man page
incorrectly says /var/run/mdadm.map) and carried into the main system
later on. This means hotplug devices showing up later can not be
matched by --incremental correctly. (with a strange device busy
failure)
This can be fixed as explained by Jools in the comments, and as he did
in his package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/550131/+subscriptions
More information about the foundations-bugs
mailing list