[Bug 1071910] Re: lxc stop will hang forever

Tim iceczd at gmail.com
Thu Nov 1 18:33:58 UTC 2012


*** This bug is a duplicate of bug 1073238 ***
    https://bugs.launchpad.net/bugs/1073238

I hope this helps someone some day:

>From what I observed: lvremove was failing to remove the COW device
because udev was occasionally doing a vgscan at the same time. This then
cause certain components to remain in a suspended state blocking lvm
commands against them. The solution was to detect the error "Unable to
deactivate" from stderr of lvremove, then call dmsetup resume on all
related suspended devices, in the above post it is only "vmg1-vm" that
needed to be resumed. Then wait a little bit for the other lvm commands
to finish, then call lvremove again.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1071910

Title:
  lxc stop will hang forever

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1071910/+subscriptions



More information about the Ubuntu-server-bugs mailing list