~ubuntu-branches/ubuntu/karmic/mdadm/karmic

« back to all changes in this revision

Viewing changes to debian/README.recipes

  • Committer: Package Import Robot
  • Author(s): Dustin Kirkland
  • Date: 2008-12-18 20:56:05 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20081218205605-x64ns2twg5uohr05
Tags: 2.6.7.1-1ubuntu1
* This merge should solve the critical bug: LP: #282492.
* Merge from debian unstable, remaining changes:
 * config.c, Assemble.c: retrieve the returned value from asprintf,
   and assert; should prevent mdadm from segfaulting if there is not enough
   memory available; Debian Bug #509167.
 * debian/README.initramfs-transition, debian/README.upgrading-2.5.3,
   debian/README.Debian: drop Debian-specific documentation.
 * debian/mkconf: initialize variable.
 * debian/mdadm-startall, debian/mdadm-startall.8, debian/mdadm.links,
   debian/mdadm.manpages, debian/mdadm-startall.sgm: dropped, not used
   in Ubuntu (thus dropping the build-dep on docbook-to-man).
 * debian/mdadm.preinst, debian/mdadm.udev: udev enablement, remove the
   Debian init script.
 * debian/mdadm.templates, debian/mdadm-udeb.templates: Ubuntu puts the
   debconf template questions in the udeb.
 * debian/mdadm.postrm: drop warnings in the initramfs update.
 * debian/mdadm.postinst, debian/mdadm.config, initramfs/init-premount:
   boot-degraded enablement; maintain udev starting of RAID devices;
   init-premount hook script for the initramfs, to provide information
   at boot.
 * debian/mdadm-udeb.dirs: udeb packaging for installer.
 * debian/mdadm.dirs: install init-premount script.
 * debian/control: maintainer updates, no need for docbook since we dropped
   the manpages that needed it, we need specific udev and initramfs-tools
   versions that don't ship 'mdrun'.
 * debian/mdadm-raid: drop, since we have a udev rule that automatically
   runs "mdadm --assemble --scan --no-degraded", activating any non-degraded
   device as their components are detected.
 * debian/rules: account for the various installation differences of the
   documentation, udev rules, the udeb, initramfs premount script, udeb
   templates and translation thereof.
 * debian/initramfs/hook: massively simplified by udev.
 * debian/install-rc, check.d/_numbers, check.d/root_on_raid: Ubuntu partman
   installer changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    mount /dev/md0 /home    # also change /etc/fstab
103
103
    mdadm --add /dev/md0 /dev/sda1
104
104
 
 
105
    Warren Togami has a document explaining how to convert a filesystem on
 
106
    a remote system via SSH: http://togami.com/~warren/guides/remoteraidcrazies/
 
107
 
105
108
10b. convert existing filesystem to RAID 1 in-place
106
109
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107
110
    In-place conversion of /dev/sda1 to /dev/md0 is effectively
108
111
      mdadm --create /dev/md0 -l1 -n2 /dev/sda1 missing
109
112
    however, do NOT do this, as you risk filesystem corruption.
110
 
  
 
113
 
111
114
    If you need to do this, first unmount and shrink the filesystem by
112
115
    a megabyte (if supported). Then run the above command, then (optionally)
113
116
    again grow the filesystem as much as possible.