lp:ubuntu/edgy/mdadm

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

Branch merges

Related bugs

Related blueprints

Branch information

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

Recent revisions

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.

7. By Scott James Remnant (Canonical)

Ship the initramfs script ourselves.

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

5. By Fabio Massimo Di Nitto

Resyncronize with Debian.

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