lp:ubuntu/hardy-updates/mdadm
- Get this branch:
- bzr branch lp:ubuntu/hardy-updates/mdadm
Branch merges
Branch information
Recent revisions
- 30. By Dustin Kirkland
-
* Fixes for LP: #290885, backported from Intrepid to Hardy
* Backport functionality to enable booting degraded RAID from Intrepid to
Hardy
* debian/control: these fixes require initramfs-tools >= 0.85eubuntu39.3
* debian/initramfs/ init-premount: enhance the init handling to allow for
booting a degraded RAID, and add the appropriate fail hook
* debian/mdadm-udeb. dirs, debian/ mdadm.config, debian/ mdadm.postinst,
debian/po/*, debian/install-rc, debian/mdadm-udeb. templates:
partman/install/ debconf boot-degraded-raid configurability
* check.d/root_on_ raid, check.d/_numbers: installer script to determine if /
or /boot is on a RAID device - 29. By Luke Yelavich
-
debian/
initramfs/ init-premount: Make sure the script exists when it is called
with mountfail. - 28. By Luke Yelavich
-
* Create init-premount hook script for the initramfs, to provide
information at boot, if the root device is not functional.
* Tightened initramfs-tools dependency. - 27. By Scott James Remnant (Canonical)
-
* Merge from debian unstable, remaining changes:
* md activation:
- We now have a single udev rule for both the real system and the
initramfs, since doing things differently there will only result in bugs
and confusion.
- This rule runs "mdadm --assemble --scan --no-degraded", automatically
activating any non-degraded device as their components are detected.
- Drop the mdadm-raid init script, since this does the same thing.
- Also drop mdadm-startall which uses the mdadm-raid init script, and its
associated sgml file (thus dropping the build-dep on docbook-to-man)
- Simplify the configuration, since we always autostart all devices so do
not need to specify any required root devices, etc.
- Drop the deprecated mdrun entirely.
- Since udev autostarts arrays, much of the initramfs script can be
dropped.
* Install a new udev rule at 65 which runs vol_id on clean raid arrays.
This will cause lvm, etc. to be run (since there is vol_id information
present for the enclosed filesystem).
* Depend on initramfs-tools, specifically a version that doesn't ship
the mdrun script. This way we can clean out a lot of the upgrade handling
from the initramfs hook.
* Just get initramfs to load the modules for us - 26. By Scott James Remnant (Canonical)
-
Install 65-mdadm.
vol_id. rules into the udeb so that we have UUID
symlinks in the installer. - 25. By Scott James Remnant (Canonical)
-
* Merge from debian unstable:
- various Debian and Ubuntu changes dropped in favour of the changes
outlined below.* md activation:
- We now have a single udev rule for both the real system and the
initramfs, since doing things differently there will only result in bugs
and confusion.
- This rule runs "mdadm --assemble --scan --no-degraded", automatically
activating any non-degraded device as their components are detected.
- Drop the mdadm-raid init script, since this does the same thing.
- Also drop mdadm-startall which uses the mdadm-raid init script, and its
associated sgml file (thus dropping the build-dep on docbook-to-man)
- Simplify the configuration, since we always autostart all devices so do
not need to specify any required root devices, etc.
- Drop the deprecated mdrun entirely.
- Since udev autostarts arrays, much of the initramfs script can be
dropped.* Install a new udev rule at 65 which runs vol_id on clean raid arrays.
This will cause lvm, etc. to be run (since there is vol_id information
present for the enclosed filesystem).* Depend on initramfs-tools, specifically a version that doesn't ship
the mdrun script. This way we can clean out a lot of the upgrade handling
from the initramfs hook.
* Just get initramfs to load the modules for us - 23. By Ian Jackson
-
Specify --no-degraded argument to mdadm in initramfs; this
can be overridden by setting MD_DEGRADED_ARGS to some nonempty value
(eg, a single space). This ought to fix race problems where RAIDs are
assembled in degraded mode far too much. (LP #75681 and many dupes.) - 22. By Ian Jackson
-
* Provide udev rules for md devices, to run mdadm -As.
* Rerun local-top in initramfs at relevant points when md devices seen,
from udev. (Instead of the normal rule, above.) This is a bit
heavyweight but at least it means that all of the existing logic for
deciding which arrays to activate should still work.
* Revert 2.5.6-7ubuntu2. This udev-event-based approach is the correct
fix. - 21. By Tollef Fog Heen
-
Make sure to call udevsettle in the initramfs script so devices have a
chance of appearing.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)