[CentOS-virt] [CentOS] VirtIO disk 'leakage' across guests?

Tue Jan 17 21:01:20 UTC 2012
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 01/17/2012 06:46 PM, James B. Byrne wrote:
>
> On Mon, January 16, 2012 17:01, Dennis Jacobfeuerborn wrote:
>> On 01/16/2012 10:16 PM, James B. Byrne wrote:
>>
>> ...
>>> The xmldump for this guest instance contains this:
>> ...
>>
>> Please post the xmldumps of the original guest and cloned
>> guest right after
>> cloning and without any modifications.
>>
>> Regards,
>>     Dennis
>
> Prototype dumpxml
>
> virsh # dumpxml vm-centos-6
> <domain type='kvm' id='34'>
...
>        <source dev='/dev/vg_vhost01/lv_vm_base'/>
> </domain>

> virsh # dumpxml sshpipe.harte-lyne.ca
> <domain type='kvm' id='19'>
...
>        <source
> dev='/dev/vg_vhost01/lv_vm_sshipe.harte-lyne.ca_00'/>
> </domain>
>
> The second guest, sshpipe, shows this for pvdisplay:
>
> [root at sshpipe ~]# pvdisplay
>    Couldn't find device with uuid
> umrIn6-Np0c-NC4Z-MuUo-5TBj-IKRE-XBU0De.
>    --- Physical volume ---
>    PV Name               /dev/vda2
>    VG Name               vg_vm_centos_6
>    PV Size               7.32 GiB / not usable 3.00 MiB
>    Allocatable           yes (but full)
>    PE Size               4.00 MiB
>    Total PE              1874
>    Free PE               0
>    Allocated PE          1874
>    PV UUID
> djM23m-6Yeb-BQ2x-gPh9-ORMt-dX2i-Ou9xBQ
>
>    --- Physical volume ---
>    PV Name               unknown device
>    VG Name               vg_vm_centos_6
>    PV Size               31.25 GiB / not usable 3.97 MiB
>    Allocatable           yes
>    PE Size               4.00 MiB
>    Total PE              7999
>    Free PE               1855
>    Allocated PE          6144
>    PV UUID
> umrIn6-Np0c-NC4Z-MuUo-5TBj-IKRE-XBU0De
>

What does the first guest say for pvdisplay?
The key here is the PV UUID "umrIn6-Np0c...". Either this PV must exists 
somewhere else on the host or in one of the guest or maybe the cloning 
process has corrupted the LVM metadata.

Regards,
   Dennis