* /dev/mdX won't shutdown
@ 2006-09-11 0:26 Jie Gao
2006-09-11 14:20 ` Luca Berra
0 siblings, 1 reply; 2+ messages in thread
From: Jie Gao @ 2006-09-11 0:26 UTC (permalink / raw)
To: device-mapper development
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /dev/mdX won't shutdown
2006-09-11 0:26 /dev/mdX won't shutdown Jie Gao
@ 2006-09-11 14:20 ` Luca Berra
0 siblings, 0 replies; 2+ messages in thread
From: Luca Berra @ 2006-09-11 14:20 UTC (permalink / raw)
To: dm-devel
On Mon, Sep 11, 2006 at 10:26:27AM +1000, Jie Gao wrote:
>Hi All
>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:
did you deactivate the VG prior to stopping md?
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-11 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-11 0:26 /dev/mdX won't shutdown Jie Gao
2006-09-11 14:20 ` Luca Berra
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.