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

2012-01-17 Thread Dennis Jacobfeuerborn
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
> 
...
>
> 

> virsh # dumpxml sshpipe.harte-lyne.ca
> 
...
> dev='/dev/vg_vhost01/lv_vm_sshipe.harte-lyne.ca_00'/>
> 
>
> The second guest, sshpipe, shows this for pvdisplay:
>
> [root@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

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


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

2012-01-17 Thread James B. Byrne

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

  vm-centos-6
  77692b36-d424-175f-b991-abc58fa0359b
  vm clone prototype
root user password: protoype
  2097152
  2097152
  1
  
hvm

  
  



  
  
  destroy
  restart
  restart
  
/usr/libexec/qemu-kvm

  
  
  
  
  


  
  
  
  
  


  
  


  
  
  
  
  
  


  
  
  


  
  
  


  




  
  


  
  
  


  
  

  
  
system_u:system_r:svirt_t:s0:c299,c322
system_u:object_r:svirt_image_t:s0:c299,c322
  


virsh #

A substantially identical clone of the prototype.  This
guest has had no additional storage added to it.

virsh # dumpxml sshpipe.harte-lyne.ca

  sshpipe.harte-lyne.ca
  5fbd2bad-059c-da0d-c856-c16cfb831a9a
  vm clone prototype
root user password: protoype
  2097152
  2097152
  1
  
hvm

  
  



  
  
  destroy
  restart
  restart
  
/usr/libexec/qemu-kvm

  
  
  
  
  


  
  
  
  
  


  
  


  
  
  
  
  
  


  
  
  


  
  
  


  




  
  


  
  
  


  
  

  
  
system_u:system_r:svirt_t:s0:c876,c1002
system_u:object_r:svirt_image_t:s0:c876,c1002
  


virsh #


The second guest, sshpipe, shows this for pvdisplay:

[root@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

and this for vgdisplay

[root@sshpipe ~]# vgdisplay
  Couldn't find device with uuid
umrIn6-Np0c-NC4Z-MuUo-5TBj-IKRE-XBU0De.
  --- Volume group ---
  VG Name   vg_vm_centos_6
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  7
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV3
  Open LV   2
  Max PV0
  Cur PV2
  Act PV1
  VG Size   38.57 GiB
  PE Size   4.00 MiB
  Total PE  9873
  Alloc PE / Size   8018 / 31.32 GiB
  Free  PE / Size   1855 / 7.25 GiB
  VG UUID
qa6jwq-5gTp-6mMH-IWl9-OrEK-HjWc-pbaFsa

But, sshpipe should only have a single 8Gb VirtIO disk
assigned.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt