lp:ubuntu/gutsy/mdadm

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:ubuntu/gutsy/mdadm
Members of Ubuntu branches can upload to this branch. Log in for directions.

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Development

Recent revisions

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

24. By Scott James Remnant (Canonical)

Rename 70-mdadm.rules to 85-mdadm.rules

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.

20. By Fabio Massimo Di Nitto

* Merge from debian unstable, remaining changes:
  - same as 2.5.6-6ubuntu1.

19. By Fabio Massimo Di Nitto

* Merge from debian unstable:
  * debian/control: Depends: udev (>= 0.79-0ubuntu22).
    (see 1.12.0-1ubuntu4)
  * debian/mdadm.postinst: clean up mdadm-raid rcS.d symlinks.
    (see 1.12.0-1ubuntu2)
  * debian/mdadm-raid: log_problem -> log_dev change (workaround that needs
    to be reverted).
    (see 2.5.5-1ubuntu2)
  * use lstat in mdopen.c.
    (see 2.4.1-6ubuntu1)
  * debian/mdrun: mknod only if devices have not been created yet.
  * debian/initramfs/hook: prereq udev.
  * debian/initramfs/script.local-top: prereq udev instead of udev_helper.

18. By Fabio Massimo Di Nitto

* Use bash in maintainer scripts:
  * mdadm.config requires it at the moment due to "echo -e" usage that is
    not standard across all shell implementations.
  * mdadm.* for failsafe.

17. By Fabio Massimo Di Nitto

Merge from debian unstable.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers