lp://staging/ubuntu/edgy-proposed/mdadm
- Get this branch:
- bzr branch lp://staging/ubuntu/edgy-proposed/mdadm
Branch merges
Branch information
Recent revisions
- 15. By Fabio Massimo Di Nitto
-
* fix initramfs scripts:
* fix shell expansion to catch all sd* and hd* devices. this includes
entire disks allocated as raid and devices that goes over the normal 24
like sdaa.
(Closes Ubuntu: #73312 and #72616)
* report status information to the user if we are not running in quiet
mode.
(Suggested in more than one bug report)
* make an attempt to probe raid once if no RAIDs are known to initramfs.
(Suggested in more than one bug report)
* fix regexp to extract only enabled UUID's. there is no need for other
information in initramfs.
(Closes Ubuntu: #68888)
* use /usr/share/mdadm/mkconf to generate initramfs config instead of
copying mdadm.conf. This has the benefit to always ensure the presence
of UUID for all raids and to have all active raids when generating the
config.
(Closes Ubuntu: #73710)
(Closes Ubuntu: #74346 and the tons of duplicates) - 14. By Fabio Massimo Di Nitto
-
* Modify initrafms scripts to wait for devices to appear if they are not there
yet when the script is executed on boot:
- copy generated mdadm.conf in the initramfs (we need the UUIDs)
- modify local-top script to wait for all UUIDs to appear before executing
mdrun or wait a max of 3 minutes before giving up.
(Closes Ubuntu: #52740)As a side effects of the above fix:
* Avoid FileSystem corruption if root is on lvm on raid and raid is not
started. LVM will find the devices that are part of the raid and use them
bringing the data off-sync.Limitations:
* It might require initramfs updates if raid UUIDs are changed. This is
a rare corner case of relocating raids and usually who does that knows
what he is doing.* We do not check if all devices for a certain raids are available but
the machine might be booting in degraded mode for recovery and we
shouldn't be blocking on that. Given that there is no way to know that
this check will not be performed. - 13. By Fabio Massimo Di Nitto
-
Do not invoke init scripts with -u. Fixes dist upgrade from dapper to edgy
mostlikely caused by /bin/sh pointing to dash. - 12. By Fabio Massimo Di Nitto
-
* Do not attempt to stop raids on upgrade.
(Closes Ubuntu: #60623)* Make sure to update the initramfs in postinst and postrm.
- 11. By Fabio Massimo Di Nitto
-
Fix md local-top script to kick udev a bit harder to make sure that
disk/by-uuid will have md devices too or root on mdwill break.
(Closes Ubuntu: #57607) - 10. By Scott James Remnant (Canonical)
-
* Merge from debian unstable, remaining changes:
- integration with initramfs-tools,
- autocreate devices when udev is in use,
- use lstat in mdopen. - 9. By Adam Conrad
-
* Ship a hook for initramfs-tools as well, so we don't need to copy_exec
from mkinitramfs itself anymore for scripts it doesn't ship.
* Add a versioned conflict against versions of initramfs-tools that
didn't have a "check if the hook exists before running our own version
and exploding" check, so that upgrades don't fail as a result of this. - 8. By Scott James Remnant (Canonical)
-
Declare a versioned-
dependency on udev with the local-top script,
just in case someone tries a partial upgrade. - 6. By Scott James Remnant (Canonical)
-
Move mdadm-raid init script to S25, so it happens before other filesystems
are mounted but after /dev is actually available
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)