[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] /dev/mdX won't shutdown

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


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
3600d02300067d2b107ad9a43303d8200 253   0 L--w    1    1      1 mpath-3600d02300067d2b107ad9a43303d8200
3600d02300067d2f707d12552c2821300 253   1 L--w    1    1      1 mpath-3600d02300067d2f707d12552c2821300



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]