Created attachment 1476820 [details] virt-manager – LVM pool Description of problem: LVM pool unused by VMs can't be stopped. Version-Release number of component: virt-manager-1.5.1-1.fc28 Steps to Reproduce: 1. Unselected 'On boot' at Autostart. No VMs attached to pool; 2. Reboot the system; 3. Attempt to stop LVM pool (attachment). Actual results: steps 2. – setting in steps 1. does not operate (LVM pool persists to run). step 3. – error message: 'Error stopping pool 'LVM': internal error: Child process (/usr/sbin/vgchange -aln fedora) unexpected exit status 5: Logical volume fedora/root contains a filesystem in use. Can't deactivate volume group "fedora" with 3 open logical volume(s) Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/storagepool.py", line 175, in stop self._backend.destroy() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3224, in destroy if ret == -1: raise libvirtError ('virStoragePoolDestroy() failed', pool=self) libvirtError: internal error: Child process (/usr/sbin/vgchange -aln fedora) unexpected exit status 5: Logical volume fedora/root contains a filesystem in use. Can't deactivate volume group "fedora" with 3 open logical volume(s)' Expected results: volume group to be stoppable. Additional info: No virtual machines are running on qemu:///system.
That usually means your LVM volumes are mounted on the host somewhere independent of any VMs. All libvirt is running here is '/usr/sbin/vgchange -aln fedora'. If that doesn't work there isn't much libvirt/virt-manager can do