*** 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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs