[Bug 371338] Re: cannot stop RAID1
Andrew Cranwell
371338 at bugs.launchpad.net
Wed Oct 26 01:28:31 UTC 2011
Is this still affecting 10.04? I managed to fix my 8.04 system with a
reboot.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/371338
Title:
cannot stop RAID1
Status in “mdadm” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: mdadm
Ubuntu 8.04.2, i386, server
Cannot stop RAID1 device. I do a disk cleanup and I want to replace
RAID1 device with RAID10 device. I cannot stop RAID1 device. /dev/md1
was used as a swap, but swap is "off" now.
# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid5 sda5[0] sdd5[3] sdc5[2] sdb5[1]
879100416 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
[==>..................] resync = 11.6% (34281344/293033472) finish=251.8min speed=17120K/sec
md1 : active raid1 sdb3[1]
979840 blocks [2/1] [_U]
md0 : active raid1 sda1[0] sdb1[1]
8787456 blocks [2/2] [UU]
unused devices: <none>
# free
total used free shared buffers cached
Mem: 515436 131576 383860 0 8632 69280
-/+ buffers/cache: 53664 461772
Swap: 0 0 0
# mdadm --stop /dev/md1
mdadm: fail to stop array /dev/md1: Device or resource busy
# mdadm /dev/md1 --fail /dev/sdb3
mdadm: set /dev/sdb3 faulty in /dev/md1
# mdadm /dev/md1 --remove /dev/sdb3
mdadm: hot remove failed for /dev/sdb3: Device or resource busy
# mdadm --stop -v /dev/md1
mdadm: fail to stop array /dev/md1: Device or resource busy
My observation is that most documentation focus on creation of new
RAID devices but there is only little information about destruction of
RAID devices (that is needed sometimes...). I want to delete /dev/md1
and create new /dev/md1 that will be RAID10 type. Should be an easy
task but I met an issue I cannot overcome...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/371338/+subscriptions
More information about the foundations-bugs
mailing list