[xen-tools-discuss] Unmountable devices
Johan Schurer
johannes.schurer at alcatel-lucent.com
Wed Oct 10 11:15:31 CEST 2012
On Wed, Oct 10, 2012 at 08:31:21AM +0200, Bubba Sour wrote:
> Hi!
>
> If a xen-create-image processes has been aborted for some reason, it happens that I have /tmp/<ID> mounts where the LV is mounted, and the device seems busy and unmountable. A reboot seem to help, but I wish there are other ways solving this.
>
> mount on dom0
> /dev/mapper/myvg-test--disk on /tmp/ermebNGZVj type ext3 (rw)
> /proc on /tmp/ermebNGZVj/proc type none (rw,bind)
> devpts on /tmp/ermebNGZVj/dev/pts type devpts (rw)
# unmount in reverse order:
umount /tmp/ermebNGZVj/dev/pts
umount /tmp/ermebNGZVj/dev
umount /tmp/ermebNGZVj/proc
umount /tmp/ermebNGZVj
rmdir /tmp/ermebNGZVj
# remove the vg and lv's
vgchange -an myvg
lvremove -f /dev/myvg/*
vgremove myvg
That should do the trick.
--
Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://xen-tools.org/pipermail/xen-tools-discuss/attachments/20121010/396cd567/attachment.pgp>
More information about the xen-tools-discuss
mailing list