software raid init script problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
I'm on Ubuntu Server 7.04, the software raid 1 is working perfectly but I got an error message on the startup and on the shutdown.
This is what I get on the startup:
Starting up ...
Loading, please wait...
mdadm: No devices listed in conf file were found.
And this is what I get on the shutdown:
Stopping MD array md0 [fail]
Please note that the raid appears to be perfectly up and running:
root@sema:~# mount | grep md0
/dev/md0 on / type ext3 (rw,errors=
I tried to reinstall everything after a dd if=/dev/zero of=/dev/sdX on both drives but the problem is still there.
These are some infos about my hard drives:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 62 497983+ 82 Linux swap / Solaris
/dev/sda2 63 9729 77650177+ fd Linux raid autodetect
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 62 497983+ 82 Linux swap / Solaris
/dev/sdb2 63 9729 77650177+ fd Linux raid autodetect
Thank you.
Giacomo Graziosi.
Ok, looks like I was too optimistic: my system just failed to boot with the message "mount: Mounting /dev/md0 on /root failed: Device or resource busy" and showed the initramfs prompt, after rebooting the system was able to boot again!
root@sema:~# grep UUID /etc/mdadm/ mdadm.conf 07887cb0: 64410288: 9cfb7b87 1bc4-4cc1- ad12-edc9fc4124 25
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=8db4bd85:
root@sema:~# vol_id -u /dev/md0
c80bb816-
Is this normal?