[dm-devel] /dev/mdX won't shutdown
Jie Gao
J.Gao at isu.usyd.edu.au
Mon Sep 11 00:26:27 UTC 2006
Hi All
Redhat Enterprise Linux AS update 4 patched up-to-date:
2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 17:57:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
-------------------------------------------------------------------------------------
I reckon somebody must have encountered this, but I will report this anyway.
I have set up mirroring as /dev/md1 on the following multipath devices
/dev/mapper/3600d02300067d2b107ad9a43303d8200
/dev/mapper/3600d02300067d2f707d12552c2821300.
I have used lvms to create physical volume, volume group, and a logical
volume on it.
I can shutdown /dev/md1 using "mdadm --stop /dev/md1" and restart it
after all the above steps except the logical volume creation. I cannot
shut down /dev/md1 once the logical volume is created: I get the
following message:
mdadm: fail to stop array /dev/md1: Device or resource busy
The device is not mounted.
dmesetup says:
> dmsetup info -c
Name Maj Min Stat Open Targ Event UUID
www_vg_01-www_lv_01 253 2 L--w 1 1 0
LVM-138joBnlTj4A60wh1AqTEriQ2Tfczwyj8ckKOs70a8K2FcQjhwdx6M1e6ge48GVH
3600d02300067d2b107ad9a43303d8200 253 0 L--w 1 1 1 mpath-3600d02300067d2b107ad9a43303d8200
3600d02300067d2f707d12552c2821300 253 1 L--w 1 1 1 mpath-3600d02300067d2f707d12552c2821300
Regards,
Jie
More information about the dm-devel
mailing list