Volume Group of VM visible under XEN hypervisor
Issue
- Disks in a VM not created with a partition as it is configured in XEN configuration file causing the volume group of VM to be displayed under Hypervisor
- vgs output from Xen Hypervisor
[root@host ~]# vgs
WARNING: Duplicate VG name vgtest: 0WMdWJ-SGuM-ZSF6-I6gh-hZlG-teNd-JLIyOL (created here) takes precedence over B4fbd6-GpPP-Rrlc-1fYy-vQ7s-4Hqg-aX9Ie1
VG #PV #LV #SN Attr VSize VFree
vgtest 5 3 0 wz--nc 319.84G 6.25G
vgtest 4 3 0 wz-pn- 377.47G 0 <======== VG of VM getting displayed under hypervisor.
- vgs output from XEN VM
[root@VM ~]# vgs
VG #PV #LV #SN Attr VSize VFree
vgtest 4 3 0 wz--n- 377.47G 0
vgroot 1 5 0 wz--n- 60.69G 33.69G
Environment
- Red Hat Enterprise Linux 5
- Xen
- LVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.