mdadm fails to stop RAID on shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
I use a RAID0 array for my root partition. Since the update from Edgy to Feisty I get the following error message on shutdown:
* Stopping MD array md0 fail
It seems that mdadm tries to stop the RAID while it is still busy. However on shutdown "unmounting local file systems" appears before "Stopping MD array md0", so in theory things should be fine, practically however I get the aforementioned error message.
I've never manually tempered with /etc/mdadm/
My /etc/mdadm/
DEVICE partitions
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=2584f8de:
DEVICE partitions
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=2584f8de:
MAILADDR root
My runlevel 0 executes the following init scripts:
tittel@
K01kdm K20apport K25hwclock.sh README S20sendsigs S40umountfs S59cryptdisks-early
K01usplash K20dbus K25mdadm S01linux-
K19hplip K20firewall K50alsa-utils S15wpa-ifupdown S31umountnfs.sh S50mdadm-raid S90halt
Let me add that I am using pam_encfs to encrypt my home directories using the login password. But the error also happens if I shut down the system via KDM right after it has booted up without logging in and therefore without the chance of encfs getting activated.
Thanks in advance for fixing this!
Changed in mdadm: | |
status: | Unconfirmed → Confirmed |
I confirm that I have the same problem on Ubuntu server 7.04 amd64 with 3 md partitions. When we stop the server first md array (md0) is stopped correctly, but the second md1 (swap partition) and the third md2 (lvm array) fails.