post installation handling of raid devices on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Undecided
|
Surbhi Palande |
Bug Description
Binary package hint: initramfs-tools
I added raid to my system after installation. /etc/mdadm/
At that point, I do the following...
mdadm --assemble /dev/md0 /dev/sda3 /dev/sdb3
mdadm --assemble /dev/md1 /dev/sda5 /dev/sdb5
Then I logout of the shell, and the system boots normally.
After poking around in /usr/share/
mdadm --detail --scan > /etc/mdadm/
update-initramfs -ck all
My system now boots normally.
Now, I suggest that the following be added to /etc/initramfs-
# GENERATE_CONFIG
# Do you want to generate on /etc/mdadm/
# currently running raid arrays?
#
# This is REQUIRED if you did not setup your software raid during
# installation. e.g. You obtained a new drive some time after
# ubuntu installation, and
# decided to raid your system.
#
# essentially we run mdadm --detail --scan > /etc/mdadm/
GENERATE_
I then suggest that /usr/share/
mdadm --detail --scan > /etc/mdadm/
Any thoughts? Or was there an easier way for me to have my system boot normally?
I'm using 10.04, which I assume was automatically included in the bug report.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: initramfs-tools 0.92bubuntu78
ProcVersionSign
Uname: Linux 2.6.32-24-generic x86_64
Architecture: amd64
Date: Sat Aug 14 00:43:28 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_CA.UTF-8
SourcePackage: initramfs-tools
affects: | initramfs-tools (Ubuntu) → mdadm (Ubuntu) |
Changed in mdadm (Ubuntu): | |
status: | New → In Progress |
Oh, I'm also thinking, since it is such a minor update, perhaps it could be put in for 10.04 as a patch level update, rather than waiting till the next release of ubuntu?