Displaying 3 results from an estimated 3 matches for "centos_hyv2".
2015 Nov 12
2
How to fix an incorrect storage pool?
...-manager I
must have specified something incorrectly.
Unfortunately I can't find a way to correct this. If I try to destroy
(stop) the storage group I get an error:
# virsh pool-destroy vms-lvm
error: Failed to destroy pool vms-lvm
error: internal error: Child process (/usr/sbin/vgchange -aln centos_hyv2)
unexpected exit status 5: Logical volume centos_hyv2/swap in use.
Can't deactivate volume group "centos_hyv2" with 3 open logical volume(s)
Same if I try to undefine it:
# virsh pool-undefine vms-lvm
error: Failed to undefine pool vms-lvm
error: Requested operation is not valid:...
2015 Nov 12
0
Re: How to fix an incorrect storage pool?
It says that Logical volume centos_hyv2/swap in use. Maybe centos_hyv2/swap is mounted. So I think you should umount or
swapoff centos_hyv2/swap first, make sure it is not used by other process. Then try pool-destroy.
----- Original Message -----
From: "Phill Edwards" <philledwards@gmail.com>
To: libvirt-users@redhat.co...
2015 Nov 12
1
Re: How to fix an incorrect storage pool?
On 12 Nov 2015 13:27, "Han Han" <hhan@redhat.com> wrote:
>
> It says that Logical volume centos_hyv2/swap in use. Maybe
centos_hyv2/swap is mounted. So I think you should umount or
> swapoff centos_hyv2/swap first, make sure it is not used by other
process. Then try pool-destroy.
>
Yes, that's the system swap. That and home and root are all in the storage
pool and are, of course, all in...