Re: [Libguestfs] Virt-v2v conversion issue
Too bad ! Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 28 octobre 2014 16:26 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 28, 2014 at 10:58:45AM +, VONDRA Alain wrote: > Hi Richard, > Can you tell me the minimal Kernel version needed to kill this issue ? > I have this one : kernel-3.10.0-123.8.1.el7.x86_64 That is the one which fixed it for us, so I guess this was a different issue. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Oct 28, 2014 at 10:58:45AM +, VONDRA Alain wrote: > Hi Richard, > Can you tell me the minimal Kernel version needed to kill this issue ? > I have this one : kernel-3.10.0-123.8.1.el7.x86_64 That is the one which fixed it for us, so I guess this was a different issue. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi Richard, Can you tell me the minimal Kernel version needed to kill this issue ? I have this one : kernel-3.10.0-123.8.1.el7.x86_64 Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : lundi 27 octobre 2014 20:51 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Fri, Oct 17, 2014 at 06:42:26PM +0100, Richard W.M. Jones wrote: > [Please keep replies on the list] > > On Thu, Oct 16, 2014 at 04:23:52PM +, VONDRA Alain wrote: > > It would be great in my case to import the VM in ovirt without using > > a nfs connection because the share is on the same server... But at > > my knowledge, when you put the option -o rhev, you have to link with > > a nfs server, am I right ? > > It's simply not possible to make it work without the NFS server. > That's just how it works. I suggest you need to ask whoever runs your > NFS server to fix it so it has more capacity. There's some breaking news on this issue. During our internal testing we also observed problems where NFS writes would hang, with virt-v2v but also with other tools (it's an NFS bug). This was fixed by updating the kernel on the virt-v2v client to the latest version. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Fri, Oct 17, 2014 at 06:42:26PM +0100, Richard W.M. Jones wrote: > [Please keep replies on the list] > > On Thu, Oct 16, 2014 at 04:23:52PM +, VONDRA Alain wrote: > > It would be great in my case to import the VM in ovirt without using > > a nfs connection because the share is on the same server... But at > > my knowledge, when you put the option -o rhev, you have to link with > > a nfs server, am I right ? > > It's simply not possible to make it work without the NFS server. > That's just how it works. I suggest you need to ask whoever runs your > NFS server to fix it so it has more capacity. There's some breaking news on this issue. During our internal testing we also observed problems where NFS writes would hang, with virt-v2v but also with other tools (it's an NFS bug). This was fixed by updating the kernel on the virt-v2v client to the latest version. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Sun, Oct 19, 2014 at 11:22:32PM +, VONDRA Alain wrote: > Rich, > This is not a question of capacity, the NFS share has more than 3 Tb free > space, and my 9 virtual disks are 750Gb... By "capacity", I meant the capacity to handle intensive write requests without falling over, which is what seems to be happening in this case. Try running a stress testing tool against the NFS server. http://wiki.linux-nfs.org/wiki/index.php/Testing_tools Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Rich, This is not a question of capacity, the NFS share has more than 3 Tb free space, and my 9 virtual disks are 750Gb... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : vendredi 17 octobre 2014 19:42 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue [Please keep replies on the list] On Thu, Oct 16, 2014 at 04:23:52PM +, VONDRA Alain wrote: > It would be great in my case to import the VM in ovirt without using a > nfs connection because the share is on the same server... But at my > knowledge, when you put the option -o rhev, you have to link with a > nfs server, am I right ? It's simply not possible to make it work without the NFS server. That's just how it works. I suggest you need to ask whoever runs your NFS server to fix it so it has more capacity. BTW 1.27.64, uploading later today, will fix some Windows conversion bugs. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
[Please keep replies on the list] On Thu, Oct 16, 2014 at 04:23:52PM +, VONDRA Alain wrote: > It would be great in my case to import the VM in ovirt without using > a nfs connection because the share is on the same server... But at > my knowledge, when you put the option -o rhev, you have to link with > a nfs server, am I right ? It's simply not possible to make it work without the NFS server. That's just how it works. I suggest you need to ask whoever runs your NFS server to fix it so it has more capacity. BTW 1.27.64, uploading later today, will fix some Windows conversion bugs. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Thu, Oct 16, 2014 at 08:55:10AM +, VONDRA Alain wrote: > I've tried before to convert locally images but they didn't appeared > in "Import VM" on the oVirt Manager. Not sure what precisely you mean by "convert locally". However there was indeed a bug -- long fixed -- where images didn't show up in the Import VM tab. > Maybe it was a bug from older version of libguestfs and works today ? > > If you have a better proposition to make this conversion not using > the -o rhev -os "nfs share", I'll friendly accept virt-v2v doesn't require very much temporary space for -o rhev. A few 100 MBs at most. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
I was hoping that it works, but the conversion hanged at the 7th /9 disk 57,03% since 1.30 AM... [19351,0] Copying disk 7/9 to /tmp/v2v.UgUPSx/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/0123ddcd-f88d-43d0-b836-2cabe57beac3/d0fe6d79-b846-41ca-ac94-835b97488685 (raw) target_file = /tmp/v2v.UgUPSx/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/0123ddcd-f88d-43d0-b836-2cabe57beac3/d0fe6d79-b846-41ca-ac94-835b97488685 target_format = raw target_estimated_size = 42968862720 target_overlay = /var/tmp/v2vovle2fd4a.qcow2 target_overlay.ov_source = /data/big_export/IMAGES/UNC-SRV-QUAL03-6.img qemu-img convert -p -n -f qcow2 -O 'raw' '/var/tmp/v2vovle2fd4a.qcow2' '/tmp/v2v.UgUPSx/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/0123ddcd-f88d-43d0-b836-2cabe57beac3/d0fe6d79-b846-41ca-ac94-835b97488685' (57.03/100%) The qemu-img idles : 23338 root 20 0 227300 7332 3868 S 0,0 0,1 0:48.29 qemu-img I have no errors in dmesg, but NFSD state is D : 11263 root 20 0 0 0 0 S 0,0 0,0 0:00.00 lockd 11266 root 20 0 0 0 0 D 0,0 0,0 1:52.51 nfsd 11267 root 20 0 0 0 0 D 0,0 0,0 1:52.58 nfsd 11268 root 20 0 0 0 0 D 0,0 0,0 1:53.15 nfsd 11269 root 20 0 0 0 0 D 0,0 0,0 1:52.83 nfsd 11270 root 20 0 0 0 0 D 0,0 0,0 1:52.27 nfsd 11271 root 20 0 0 0 0 D 0,0 0,0 1:52.56 nfsd 11272 root 20 0 0 0 0 D 0,0 0,0 1:51.99 nfsd 11273 root 20 0 0 0 0 D 0,0 0,0 1:53.72 nfsd I think the problem is there, I have to say you that my NFS EXPORT_DOMAIN for Ovirt is on the same machine (because of need of large volume space "4Tb" to convert big vmdk images) so the NFS volume /data/big_import/IMPORT is used to convert images and to send (in fact on the same HD via NFS) it to oVirt Manager. I've tried before to convert locally images but they didn't appeared in "Import VM" on the oVirt Manager. Maybe it was a bug from older version of libguestfs and works today ? If you have a better proposition to make this conversion not using the -o rhev -os "nfs share", I'll friendly accept Alain -Message d'origine- De : libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] De la part de VONDRA Alain Envoyé : mercredi 15 octobre 2014 18:33 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue The script as worked perfectly : + size=100G + virt-builder fedora-20 --size 100G -o /tmp/in.img gpg: Signature faite le mar. 08 juil. 2014 11:11:00 CEST avec la clef RSA d'identifiant E1B768A0 gpg: Bonne signature de « Richard W.M. Jones » gpg: alias « Richard W.M. Jones » gpg: Attention : cette clef n'est pas certifiée avec une signature de confiance. gpg: Rien n'indique que la signature appartient à son propriétaire. Empreinte de clef principale : F777 4FB1 AD07 4A7E 8C87 67EA 9173 8F73 E1B7 68A0 [ 1,0] Downloading: http://libguestfs.org/download/builder/fedora-20.xz 100,0% [ 718,0] Planning how to build this image [ 718,0] Uncompressing [ 737,0] Resizing (using virt-resize) to expand the disk to 100,0G [ 786,0] Opening the new disk [ 792,0] Setting a random seed [ 792,0] Setting passwords [ 794,0] Finishing off Output file: /tmp/in.img Output size: 100,0G Output format: raw Total usable space: 97,7G Free space: 97,0G (99%) + guestfish -a /tmp/in.img -i + qemu-img create -q -f qcow2 -b /tmp/in.img -o + compat=1.1,backing_fmt=raw /tmp/overlay.qcow2 truncate -s 100G + /tmp/out.img qemu-img convert -p -n -f qcow2 /tmp/overlay.qcow2 -O raw + /tmp/out.img (100.00/100%) real2m50.364s user0m36.146s sys 2m3.548s I run again a conversion to try to catch a core dump... Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 15 octobre 2014 17:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 15, 2014 at 03:23:39PM +, VONDRA Alain wrote: > I see only qemu-img consumming some CPU and MEM : > > 25897 qemu 20 0 5825976 2,429g 4368 S 5,6 32,2 603:09.34 qemu-kvm That's qemu, not qemu-img. > I have indeed, some nfs errors : > > [475747.296041] nfs: server 192.203.100.247 not responding, still > trying [475747.772022] nfs: server 192.203.100.247 not responding, > still trying [475747.848023] nfs: server 192.203.100.247 not > responding, still trying [475747.849014] nfs: server 192.203.100.247 > not responding, still trying [475748.270030] nfs: server > 192.
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 15, 2014 at 04:32:38PM +, VONDRA Alain wrote: > The script as worked perfectly : For me too. However you could try changing the location of the output file (/tmp/out.img) so it writes to your NFS server instead. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
The script as worked perfectly : + size=100G + virt-builder fedora-20 --size 100G -o /tmp/in.img gpg: Signature faite le mar. 08 juil. 2014 11:11:00 CEST avec la clef RSA d'identifiant E1B768A0 gpg: Bonne signature de « Richard W.M. Jones » gpg: alias « Richard W.M. Jones » gpg: Attention : cette clef n'est pas certifiée avec une signature de confiance. gpg: Rien n'indique que la signature appartient à son propriétaire. Empreinte de clef principale : F777 4FB1 AD07 4A7E 8C87 67EA 9173 8F73 E1B7 68A0 [ 1,0] Downloading: http://libguestfs.org/download/builder/fedora-20.xz 100,0% [ 718,0] Planning how to build this image [ 718,0] Uncompressing [ 737,0] Resizing (using virt-resize) to expand the disk to 100,0G [ 786,0] Opening the new disk [ 792,0] Setting a random seed [ 792,0] Setting passwords [ 794,0] Finishing off Output file: /tmp/in.img Output size: 100,0G Output format: raw Total usable space: 97,7G Free space: 97,0G (99%) + guestfish -a /tmp/in.img -i + qemu-img create -q -f qcow2 -b /tmp/in.img -o compat=1.1,backing_fmt=raw /tmp/overlay.qcow2 + truncate -s 100G /tmp/out.img + qemu-img convert -p -n -f qcow2 /tmp/overlay.qcow2 -O raw /tmp/out.img (100.00/100%) real2m50.364s user0m36.146s sys 2m3.548s I run again a conversion to try to catch a core dump... Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 15 octobre 2014 17:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 15, 2014 at 03:23:39PM +, VONDRA Alain wrote: > I see only qemu-img consumming some CPU and MEM : > > 25897 qemu 20 0 5825976 2,429g 4368 S 5,6 32,2 603:09.34 qemu-kvm That's qemu, not qemu-img. > I have indeed, some nfs errors : > > [475747.296041] nfs: server 192.203.100.247 not responding, still > trying [475747.772022] nfs: server 192.203.100.247 not responding, > still trying [475747.848023] nfs: server 192.203.100.247 not > responding, still trying [475747.849014] nfs: server 192.203.100.247 > not responding, still trying [475748.270030] nfs: server > 192.203.100.247 not responding, still trying [475748.270038] nfs: > server 192.203.100.247 not responding, still trying [475748.273016] > nfs: server 192.203.100.247 not responding, still trying > [475748.274016] nfs: server 192.203.100.247 not responding, still > trying [475748.461023] nfs: server 192.203.100.247 not responding, > still trying [475748.461028] nfs: server 192.203.100.247 not > responding, still trying [475748.461031] nfs: server 192.203.100.247 > not responding, still trying [475748.461034] nfs: server > 192.203.100.247 not responding, still trying These are a problem, if they are coincident with qemu-img hanging. Use 'dmesg -w' to check. > And a lot of : > [785084.263606] kvm [12719]: vcpu0 unhandled rdmsr: 0x345 > [785084.269594] kvm [12719]: vcpu0 unhandled wrmsr: 0x40 data 0 > [785084.26] kvm [12719]: vcpu0 unhandled wrmsr: 0x60 data 0 > [785084.270406] kvm [12719]: vcpu0 unhandled wrmsr: 0x41 data 0 > [785084.270826] kvm [12719]: vcpu0 unhandled wrmsr: 0x61 data 0 > [785084.271231] kvm [12719]: vcpu0 unhandled wrmsr: 0x42 data 0 > [785084.271633] kvm [12719]: vcpu0 unhandled wrmsr: 0x62 data 0 > [785084.272023] kvm [12719]: vcpu0 unhandled wrmsr: 0x43 data 0 > [785084.272410] kvm [12719]: vcpu0 unhandled wrmsr: 0x63 data 0 You can ignore this warning. It is meaningless for the end user and doesn't matter. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 15, 2014 at 03:23:39PM +, VONDRA Alain wrote: > I see only qemu-img consumming some CPU and MEM : > > 25897 qemu 20 0 5825976 2,429g 4368 S 5,6 32,2 603:09.34 qemu-kvm That's qemu, not qemu-img. > I have indeed, some nfs errors : > > [475747.296041] nfs: server 192.203.100.247 not responding, still trying > [475747.772022] nfs: server 192.203.100.247 not responding, still trying > [475747.848023] nfs: server 192.203.100.247 not responding, still trying > [475747.849014] nfs: server 192.203.100.247 not responding, still trying > [475748.270030] nfs: server 192.203.100.247 not responding, still trying > [475748.270038] nfs: server 192.203.100.247 not responding, still trying > [475748.273016] nfs: server 192.203.100.247 not responding, still trying > [475748.274016] nfs: server 192.203.100.247 not responding, still trying > [475748.461023] nfs: server 192.203.100.247 not responding, still trying > [475748.461028] nfs: server 192.203.100.247 not responding, still trying > [475748.461031] nfs: server 192.203.100.247 not responding, still trying > [475748.461034] nfs: server 192.203.100.247 not responding, still trying These are a problem, if they are coincident with qemu-img hanging. Use 'dmesg -w' to check. > And a lot of : > [785084.263606] kvm [12719]: vcpu0 unhandled rdmsr: 0x345 > [785084.269594] kvm [12719]: vcpu0 unhandled wrmsr: 0x40 data 0 > [785084.26] kvm [12719]: vcpu0 unhandled wrmsr: 0x60 data 0 > [785084.270406] kvm [12719]: vcpu0 unhandled wrmsr: 0x41 data 0 > [785084.270826] kvm [12719]: vcpu0 unhandled wrmsr: 0x61 data 0 > [785084.271231] kvm [12719]: vcpu0 unhandled wrmsr: 0x42 data 0 > [785084.271633] kvm [12719]: vcpu0 unhandled wrmsr: 0x62 data 0 > [785084.272023] kvm [12719]: vcpu0 unhandled wrmsr: 0x43 data 0 > [785084.272410] kvm [12719]: vcpu0 unhandled wrmsr: 0x63 data 0 You can ignore this warning. It is meaningless for the end user and doesn't matter. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
I see only qemu-img consumming some CPU and MEM : 25897 qemu 20 0 5825976 2,429g 4368 S 5,6 32,2 603:09.34 qemu-kvm I have indeed, some nfs errors : [475747.296041] nfs: server 192.203.100.247 not responding, still trying [475747.772022] nfs: server 192.203.100.247 not responding, still trying [475747.848023] nfs: server 192.203.100.247 not responding, still trying [475747.849014] nfs: server 192.203.100.247 not responding, still trying [475748.270030] nfs: server 192.203.100.247 not responding, still trying [475748.270038] nfs: server 192.203.100.247 not responding, still trying [475748.273016] nfs: server 192.203.100.247 not responding, still trying [475748.274016] nfs: server 192.203.100.247 not responding, still trying [475748.461023] nfs: server 192.203.100.247 not responding, still trying [475748.461028] nfs: server 192.203.100.247 not responding, still trying [475748.461031] nfs: server 192.203.100.247 not responding, still trying [475748.461034] nfs: server 192.203.100.247 not responding, still trying And a lot of : [785084.263606] kvm [12719]: vcpu0 unhandled rdmsr: 0x345 [785084.269594] kvm [12719]: vcpu0 unhandled wrmsr: 0x40 data 0 [785084.26] kvm [12719]: vcpu0 unhandled wrmsr: 0x60 data 0 [785084.270406] kvm [12719]: vcpu0 unhandled wrmsr: 0x41 data 0 [785084.270826] kvm [12719]: vcpu0 unhandled wrmsr: 0x61 data 0 [785084.271231] kvm [12719]: vcpu0 unhandled wrmsr: 0x42 data 0 [785084.271633] kvm [12719]: vcpu0 unhandled wrmsr: 0x62 data 0 [785084.272023] kvm [12719]: vcpu0 unhandled wrmsr: 0x43 data 0 [785084.272410] kvm [12719]: vcpu0 unhandled wrmsr: 0x63 data 0 Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 15 octobre 2014 15:59 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 15, 2014 at 01:49:55PM +, VONDRA Alain wrote: > If I do kill -9, do I get a core dump ? I'm not sure, but ... > Killall does nothing the process is still alive... > Each time I got this hang, I find only umount -f /tmp/ to force > qemu-img to stop. Are you sure this couldn't be an NFS server problem? Any message or errors in 'dmesg'? Any kernel threads (see top) which are consuming time or stuck in 'D' state? I've been playing around with various test scripts (see attached) to see if I could reproduce this problem, but I couldn't reproduce it yet on RHEL 7.1 or Fedora 21. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 15, 2014 at 01:49:55PM +, VONDRA Alain wrote: > If I do kill -9, do I get a core dump ? I'm not sure, but ... > Killall does nothing the process is still alive... > Each time I got this hang, I find only umount -f /tmp/ to force > qemu-img to stop. Are you sure this couldn't be an NFS server problem? Any message or errors in 'dmesg'? Any kernel threads (see top) which are consuming time or stuck in 'D' state? I've been playing around with various test scripts (see attached) to see if I could reproduce this problem, but I couldn't reproduce it yet on RHEL 7.1 or Fedora 21. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ test.sh Description: Bourne shell script ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Killall does nothing the process is still alive... If I do kill -9, do I get a core dump ? Each time I got this hang, I find only umount -f /tmp/ to force qemu-img to stop. Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 15 octobre 2014 14:41 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 15, 2014 at 12:23:17PM +, VONDRA Alain wrote: > Now, the conversion hangs on the first disk at 54,03/100%, here is the gdb > result : OK I just talked to Paolo about this, and it's fairly serious. Can you get a core dump from this? You will need to set up the ulimit etc as outlined in the previous email: https://www.redhat.com/archives/libguestfs/2014-October/msg00102.html then run the conversion until it hangs, then 'killall -BUS qemu-img' which should cause qemu-img to drop a core dump file. You can send me (privately) the core dump and I will open a BZ about this and ensure that the necessary people see this. Thanks, Rich. > (gdb) t a a bt > > Thread 2 (Thread 0x7f0f3cea9700 (LWP 9583)): > #0 sem_timedwait () at > ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101 > #1 0x7f0f45b765e7 in qemu_sem_timedwait () > #2 0x7f0f45b0750c in worker_thread () > #3 0x7f0f4203bdf3 in start_thread (arg=0x7f0f3cea9700) at > pthread_create.c:308 > #4 0x7f0f41d6901d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 > > Thread 1 (Thread 0x7f0f45aa88c0 (LWP 9582)): > #0 0x7f0f41d5eb0f in __GI_ppoll (fds=0x7f0f470d7a00, nfds=1, > timeout=, sigmask=0x0) at > ../sysdeps/unix/sysv/linux/ppoll.c:56 > #1 0x7f0f45b146db in qemu_poll_ns () > #2 0x7f0f45b15430 in aio_poll () > #3 0x7f0f45b0eedd in bdrv_prwv_co () > #4 0x7f0f45b0efd3 in bdrv_rw_co () > #5 0x7f0f45b05b35 in img_convert () > #6 0x7f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 , > argc=10, ubp_av=0x7fff19cb3ab8, init=, fini=, > rtld_fini=, stack_end=0x7fff19cb3aa8) at > libc-start.c:274 > #7 0x7f0f45b022ed in _start () > > Alain > > -Message d'origine- > De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 > octobre 2014 22:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : > Re: [Libguestfs] Virt-v2v conversion issue > > On Tue, Oct 14, 2014 at 03:40:22PM +, VONDRA Alain wrote: > > Rich, > > I've followed your instructions to trace, but I am not very skilful with > > gdb, maybe I made a mistake : > > > > (1) As root do: > > > > echo core.%p > /proc/sys/kernel/core_pattern -> OK > > > > (2) Before running virt-v2v, do: > > > > ulimited -c unlimited -> I think it's ulimit -c unlimited > > -> -> OK > > > > and you should get a core.* file in the current directory when qemu-img > > segfaults. Attach that file to gdb to get a stack trace: > > > > gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the > > crash becase I don't have any core ??? > > Yes, you have to wait for qemu-img to crash before there will be a core dump. > If it's not crashing, then connect to qemu-img directly, something like this: > > gdb /usr/bin/qemu-img `pidof qemu-img` > > and run this command: > > > (gdb) t a a bt > > to show the stack trace in all threads. > > If qemu-img is consuming CPU then it's probably not hung. > > I'm still interested to find out why fstrim didn't work. Can you run: > > guestfish --ro -d unc-srv-qual03 > > run > > part-list /dev/sda > > part-list /dev/sdb > > part-list /dev/sdc > > part-list /dev/sdd > (etc) > > I'd be interested to see if the partitions are unaligned, which is the only > reason why fstrim should fail on NTFS. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones Read my programming and > virtualization blog: http://rwmj.wordpress.com virt-builder quickly > builds VMs from scratch http://libguestfs.org/virt-builder.1.html -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 15, 2014 at 12:23:17PM +, VONDRA Alain wrote: > Now, the conversion hangs on the first disk at 54,03/100%, here is the gdb > result : OK I just talked to Paolo about this, and it's fairly serious. Can you get a core dump from this? You will need to set up the ulimit etc as outlined in the previous email: https://www.redhat.com/archives/libguestfs/2014-October/msg00102.html then run the conversion until it hangs, then 'killall -BUS qemu-img' which should cause qemu-img to drop a core dump file. You can send me (privately) the core dump and I will open a BZ about this and ensure that the necessary people see this. Thanks, Rich. > (gdb) t a a bt > > Thread 2 (Thread 0x7f0f3cea9700 (LWP 9583)): > #0 sem_timedwait () at > ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101 > #1 0x7f0f45b765e7 in qemu_sem_timedwait () > #2 0x7f0f45b0750c in worker_thread () > #3 0x7f0f4203bdf3 in start_thread (arg=0x7f0f3cea9700) at > pthread_create.c:308 > #4 0x7f0f41d6901d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 > > Thread 1 (Thread 0x7f0f45aa88c0 (LWP 9582)): > #0 0x7f0f41d5eb0f in __GI_ppoll (fds=0x7f0f470d7a00, nfds=1, > timeout=, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 > #1 0x7f0f45b146db in qemu_poll_ns () > #2 0x7f0f45b15430 in aio_poll () > #3 0x7f0f45b0eedd in bdrv_prwv_co () > #4 0x7f0f45b0efd3 in bdrv_rw_co () > #5 0x7f0f45b05b35 in img_convert () > #6 0x7f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 , > argc=10, ubp_av=0x7fff19cb3ab8, init=, fini=, > rtld_fini=, stack_end=0x7fff19cb3aa8) at libc-start.c:274 > #7 0x7f0f45b022ed in _start () > > Alain > > -Message d'origine- > De : Richard W.M. Jones [mailto:rjo...@redhat.com] > Envoyé : mardi 14 octobre 2014 22:52 > À : VONDRA Alain > Cc : libguestfs@redhat.com > Objet : Re: [Libguestfs] Virt-v2v conversion issue > > On Tue, Oct 14, 2014 at 03:40:22PM +, VONDRA Alain wrote: > > Rich, > > I've followed your instructions to trace, but I am not very skilful with > > gdb, maybe I made a mistake : > > > > (1) As root do: > > > > echo core.%p > /proc/sys/kernel/core_pattern -> OK > > > > (2) Before running virt-v2v, do: > > > > ulimited -c unlimited -> I think it's ulimit -c unlimited > > -> -> OK > > > > and you should get a core.* file in the current directory when qemu-img > > segfaults. Attach that file to gdb to get a stack trace: > > > > gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the > > crash becase I don't have any core ??? > > Yes, you have to wait for qemu-img to crash before there will be a core dump. > If it's not crashing, then connect to qemu-img directly, something like this: > > gdb /usr/bin/qemu-img `pidof qemu-img` > > and run this command: > > > (gdb) t a a bt > > to show the stack trace in all threads. > > If qemu-img is consuming CPU then it's probably not hung. > > I'm still interested to find out why fstrim didn't work. Can you run: > > guestfish --ro -d unc-srv-qual03 > > run > > part-list /dev/sda > > part-list /dev/sdb > > part-list /dev/sdc > > part-list /dev/sdd > (etc) > > I'd be interested to see if the partitions are unaligned, which is the only > reason why fstrim should fail on NTFS. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-builder quickly builds VMs from scratch > http://libguestfs.org/virt-builder.1.html -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Now, the conversion hangs on the first disk at 54,03/100%, here is the gdb result : (gdb) t a a bt Thread 2 (Thread 0x7f0f3cea9700 (LWP 9583)): #0 sem_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101 #1 0x7f0f45b765e7 in qemu_sem_timedwait () #2 0x7f0f45b0750c in worker_thread () #3 0x7f0f4203bdf3 in start_thread (arg=0x7f0f3cea9700) at pthread_create.c:308 #4 0x7f0f41d6901d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7f0f45aa88c0 (LWP 9582)): #0 0x7f0f41d5eb0f in __GI_ppoll (fds=0x7f0f470d7a00, nfds=1, timeout=, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 #1 0x7f0f45b146db in qemu_poll_ns () #2 0x7f0f45b15430 in aio_poll () #3 0x7f0f45b0eedd in bdrv_prwv_co () #4 0x7f0f45b0efd3 in bdrv_rw_co () #5 0x7f0f45b05b35 in img_convert () #6 0x7f0f41c94af5 in __libc_start_main (main=0x7f0f45b01e80 , argc=10, ubp_av=0x7fff19cb3ab8, init=, fini=, rtld_fini=, stack_end=0x7fff19cb3aa8) at libc-start.c:274 #7 0x7f0f45b022ed in _start () Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 22:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 03:40:22PM +, VONDRA Alain wrote: > Rich, > I've followed your instructions to trace, but I am not very skilful with gdb, > maybe I made a mistake : > > (1) As root do: > > echo core.%p > /proc/sys/kernel/core_pattern -> OK > > (2) Before running virt-v2v, do: > > ulimited -c unlimited -> I think it's ulimit -c unlimited > -> -> OK > > and you should get a core.* file in the current directory when qemu-img > segfaults. Attach that file to gdb to get a stack trace: > > gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the > crash becase I don't have any core ??? Yes, you have to wait for qemu-img to crash before there will be a core dump. If it's not crashing, then connect to qemu-img directly, something like this: gdb /usr/bin/qemu-img `pidof qemu-img` and run this command: > (gdb) t a a bt to show the stack trace in all threads. If qemu-img is consuming CPU then it's probably not hung. I'm still interested to find out why fstrim didn't work. Can you run: guestfish --ro -d unc-srv-qual03 > run > part-list /dev/sda > part-list /dev/sdb > part-list /dev/sdc > part-list /dev/sdd (etc) I'd be interested to see if the partitions are unaligned, which is the only reason why fstrim should fail on NTFS. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
So, what action can I do to pass this problem ?? How can I make a better alignment of these partitions ? Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 15 octobre 2014 14:09 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 15, 2014 at 12:03:26PM +, VONDRA Alain wrote: > Rich, > The results of the guestfish command : > > > part-list /dev/sda > [0] = { > part_num: 1 > part_start: 1048576 > part_end: 85906685951 > part_size: 85905637376 > } > > part-list /dev/sdb > [0] = { > part_num: 1 > part_start: 32256 > part_end: 322126640639 > part_size: 322126608384 > } [etc] Ah .. this does explain why the fstrim failed on every disk apart from /dev/sda. My patches to implement fstrim in NTFS give up unless the partition is aligned sufficiently: http://comments.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/1074 /dev/sda is sufficiently aligned, but the other 8 disks are not. This is rather unfortunate for you because fstrim would undoubtedly have saved network bandwidth as well as making qemu-img do less. At least that mystery is solved. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 15, 2014 at 12:03:26PM +, VONDRA Alain wrote: > Rich, > The results of the guestfish command : > > > part-list /dev/sda > [0] = { > part_num: 1 > part_start: 1048576 > part_end: 85906685951 > part_size: 85905637376 > } > > part-list /dev/sdb > [0] = { > part_num: 1 > part_start: 32256 > part_end: 322126640639 > part_size: 322126608384 > } [etc] Ah .. this does explain why the fstrim failed on every disk apart from /dev/sda. My patches to implement fstrim in NTFS give up unless the partition is aligned sufficiently: http://comments.gmane.org/gmane.comp.file-systems.ntfs-3g.devel/1074 /dev/sda is sufficiently aligned, but the other 8 disks are not. This is rather unfortunate for you because fstrim would undoubtedly have saved network bandwidth as well as making qemu-img do less. At least that mystery is solved. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Rich, The results of the guestfish command : > part-list /dev/sda [0] = { part_num: 1 part_start: 1048576 part_end: 85906685951 part_size: 85905637376 } > part-list /dev/sdb [0] = { part_num: 1 part_start: 32256 part_end: 322126640639 part_size: 322126608384 } > part-list /dev/sdc [0] = { part_num: 1 part_start: 32256 part_end: 32210196479 part_size: 32210164224 } > part-list /dev/sdd [0] = { part_num: 1 part_start: 32256 part_end: 32210196479 part_size: 32210164224 } > part-list /dev/sdf [0] = { part_num: 1 part_start: 32256 part_end: 21476206079 part_size: 21476173824 } > part-list /dev/sdg [0] = { part_num: 1 part_start: 32256 part_end: 42952412159 part_size: 42952379904 } > part-list /dev/sdh [0] = { part_num: 1 part_start: 32256 part_end: 214745610239 part_size: 214745577984 } > part-list /dev/sdi [0] = { part_num: 1 part_start: 32256 part_end: 32224857087 part_size: 32224824832 } Alain -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 22:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 03:40:22PM +, VONDRA Alain wrote: > Rich, > I've followed your instructions to trace, but I am not very skilful with gdb, > maybe I made a mistake : > > (1) As root do: > > echo core.%p > /proc/sys/kernel/core_pattern -> OK > > (2) Before running virt-v2v, do: > > ulimited -c unlimited -> I think it's ulimit -c unlimited > -> -> OK > > and you should get a core.* file in the current directory when qemu-img > segfaults. Attach that file to gdb to get a stack trace: > > gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the > crash becase I don't have any core ??? Yes, you have to wait for qemu-img to crash before there will be a core dump. If it's not crashing, then connect to qemu-img directly, something like this: gdb /usr/bin/qemu-img `pidof qemu-img` and run this command: > (gdb) t a a bt to show the stack trace in all threads. If qemu-img is consuming CPU then it's probably not hung. I'm still interested to find out why fstrim didn't work. Can you run: guestfish --ro -d unc-srv-qual03 > run > part-list /dev/sda > part-list /dev/sdb > part-list /dev/sdc > part-list /dev/sdd (etc) I'd be interested to see if the partitions are unaligned, which is the only reason why fstrim should fail on NTFS. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
This : qemu-img-rhev-2.1.2-2.el7.x86_64 qemu-kvm-rhev-2.1.2-2.el7.x86_64 Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 22:48 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 03:34:07PM +, VONDRA Alain wrote: > I use qemu-img-rhev-2.1.2-2.el7.x86_64, just some other packages like > qemu-2.0.0-1.el7.1.x86_64 are in older versions, but at my knowledge there is > no qemu-2.0.0-1.el7.1.x86_64 available ? What does: rpm -qf /usr/bin/qemu-img /usr/libexec/qemu-kvm say? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Oct 14, 2014 at 03:34:07PM +, VONDRA Alain wrote: > I use qemu-img-rhev-2.1.2-2.el7.x86_64, just some other packages like > qemu-2.0.0-1.el7.1.x86_64 are in older versions, but at my knowledge there is > no qemu-2.0.0-1.el7.1.x86_64 available ? What does: rpm -qf /usr/bin/qemu-img /usr/libexec/qemu-kvm say? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Oct 14, 2014 at 03:40:22PM +, VONDRA Alain wrote: > Rich, > I've followed your instructions to trace, but I am not very skilful with gdb, > maybe I made a mistake : > > (1) As root do: > > echo core.%p > /proc/sys/kernel/core_pattern -> OK > > (2) Before running virt-v2v, do: > > ulimited -c unlimited -> I think it's ulimit -c unlimited > -> -> OK > > and you should get a core.* file in the current directory when qemu-img > segfaults. Attach that file to gdb to get a stack trace: > > gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the > crash becase I don't have any core ??? Yes, you have to wait for qemu-img to crash before there will be a core dump. If it's not crashing, then connect to qemu-img directly, something like this: gdb /usr/bin/qemu-img `pidof qemu-img` and run this command: > (gdb) t a a bt to show the stack trace in all threads. If qemu-img is consuming CPU then it's probably not hung. I'm still interested to find out why fstrim didn't work. Can you run: guestfish --ro -d unc-srv-qual03 > run > part-list /dev/sda > part-list /dev/sdb > part-list /dev/sdc > part-list /dev/sdd (etc) I'd be interested to see if the partitions are unaligned, which is the only reason why fstrim should fail on NTFS. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Rich, I've followed your instructions to trace, but I am not very skilful with gdb, maybe I made a mistake : (1) As root do: echo core.%p > /proc/sys/kernel/core_pattern -> OK (2) Before running virt-v2v, do: ulimited -c unlimited -> I think it's ulimit -c unlimited -> -> OK and you should get a core.* file in the current directory when qemu-img segfaults. Attach that file to gdb to get a stack trace: gdb /usr/bin/qemu-img core.XYZ-> Do I need to wait the crash becase I don't have any core ??? (gdb) t a a bt Thanks Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 16:52 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 02:43:31PM +, VONDRA Alain wrote: > Rich, > The conversion did'nt finish, and I don't have any core dump. > The qemu-img seems to hang, but doesn't crash... Please connect gdb to the hung process and get a stack trace to find out where it's hanging. 'strace -p ...' output might also be enlightening, if it is not hung but doing "something" (albeit not making progress). I should also note that if qemu-img convert hits a lot of zeroes in the source (possible, because fstrim wasnt successful), then it will consume CPU skipping them, but won't write anything for a while. RIch. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
I use qemu-img-rhev-2.1.2-2.el7.x86_64, just some other packages like qemu-2.0.0-1.el7.1.x86_64 are in older versions, but at my knowledge there is no qemu-2.0.0-1.el7.1.x86_64 available ? Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 17:01 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Also I noticed from the log that you're running qemu 2.0.0 (from where?) Try qemu-kvm-rhev included in the repository, currently at version qemu-img-rhev-2.1.2-2.el7.x86_64. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Also I noticed from the log that you're running qemu 2.0.0 (from where?) Try qemu-kvm-rhev included in the repository, currently at version qemu-img-rhev-2.1.2-2.el7.x86_64. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Oct 14, 2014 at 02:43:31PM +, VONDRA Alain wrote: > Rich, > The conversion did'nt finish, and I don't have any core dump. > The qemu-img seems to hang, but doesn't crash... Please connect gdb to the hung process and get a stack trace to find out where it's hanging. 'strace -p ...' output might also be enlightening, if it is not hung but doing "something" (albeit not making progress). I should also note that if qemu-img convert hits a lot of zeroes in the source (possible, because fstrim wasnt successful), then it will consume CPU skipping them, but won't write anything for a while. RIch. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Rich, The conversion did'nt finish, and I don't have any core dump. The qemu-img seems to hang, but doesn't crash... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] De la part de VONDRA Alain Envoyé : mardi 14 octobre 2014 11:30 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue I am waiting the process hangs, now the conversion is still running... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 11:09 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 07:56:22AM +, VONDRA Alain wrote: > The version libguestfs-winsupport installed is well 7.1-3.el7 and the > qemu-kvm-rhev is 2.1.2-2.el7 In fact the qemu-img convert hangs. You'll have to attach gdb to it and find out why it hangs. It is likely to be a bug in qemu of some kind. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
I am waiting the process hangs, now the conversion is still running... Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 11:09 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Oct 14, 2014 at 07:56:22AM +, VONDRA Alain wrote: > The version libguestfs-winsupport installed is well 7.1-3.el7 and the > qemu-kvm-rhev is 2.1.2-2.el7 In fact the qemu-img convert hangs. You'll have to attach gdb to it and find out why it hangs. It is likely to be a bug in qemu of some kind. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Oct 14, 2014 at 07:56:22AM +, VONDRA Alain wrote: > The version libguestfs-winsupport installed is well 7.1-3.el7 and the > qemu-kvm-rhev is 2.1.2-2.el7 > In fact the qemu-img convert hangs. You'll have to attach gdb to it and find out why it hangs. It is likely to be a bug in qemu of some kind. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
The version libguestfs-winsupport installed is well 7.1-3.el7 and the qemu-kvm-rhev is 2.1.2-2.el7 In fact the qemu-img convert hangs. Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 14 octobre 2014 08:44 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue The ioctl failure is not an error, but it's unexpected, and maybe hints at something deeper. What version of libguestfs-winsupport is installed? It should be 7.1-3.el7 (assuming this is RHEL 7), which has support for fstrim of aligned NTFS partitions. - - - Now on to the real problem ... 'qemu-img convert' is running, and then fails. Does it hang or crash? I would enable core dumps and capture one, since there's obviously a bug in qemu-img: (1) As root do: echo core.%p > /proc/sys/kernel/core_pattern (2) Before running virt-v2v, do: ulimited -c unlimited and you should get a core.* file in the current directory when qemu-img segfaults. Attach that file to gdb to get a stack trace: gdb /usr/bin/qemu-img core.XYZ (gdb) t a a bt It's very unexpected for qemu-img convert to fail, especially from a raw format local disk. But bugs can happen ... If qemu-img is hanging, not crashing, then you can attach gdb directly to the process and get a stack trace that way. What version of qemu-kvm-rhev is this? - - - If fstrim is successful then it should greatly reduce the amount of data to copy, both saving you lots of time and making the 'qemu-img convert' bug harder to hit. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
The ioctl failure is not an error, but it's unexpected, and maybe hints at something deeper. What version of libguestfs-winsupport is installed? It should be 7.1-3.el7 (assuming this is RHEL 7), which has support for fstrim of aligned NTFS partitions. - - - Now on to the real problem ... 'qemu-img convert' is running, and then fails. Does it hang or crash? I would enable core dumps and capture one, since there's obviously a bug in qemu-img: (1) As root do: echo core.%p > /proc/sys/kernel/core_pattern (2) Before running virt-v2v, do: ulimited -c unlimited and you should get a core.* file in the current directory when qemu-img segfaults. Attach that file to gdb to get a stack trace: gdb /usr/bin/qemu-img core.XYZ (gdb) t a a bt It's very unexpected for qemu-img convert to fail, especially from a raw format local disk. But bugs can happen ... If qemu-img is hanging, not crashing, then you can attach gdb directly to the process and get a stack trace that way. What version of qemu-kvm-rhev is this? - - - If fstrim is successful then it should greatly reduce the amount of data to copy, both saving you lots of time and making the 'qemu-img convert' bug harder to hit. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Mon, Oct 13, 2014 at 04:34:31PM +, VONDRA Alain wrote: > Richard, > After un moment I have to force the unmount volume on /tmp umount -f > /tmp/v2v.Nj0eik and I have this message : > > qemu-img: error while writing sector 246526903: Input/output error > > virt-v2v: error: qemu-img command failed, see earlier errors Also make sure the target NFS export storage domain has plenty of free space for the guest. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Mon, Oct 13, 2014 at 12:22:27PM +, VONDRA Alain wrote: > Hi, > Here is the log file, I saw just ioctl warnings. > Alain I really need to see virt-v2v with -x *and* -v options. The errors seem to be happening in the 'qemu-img convert' stage which just copies from the source to the target. Is the source a local disk image? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Richard, After un moment I have to force the unmount volume on /tmp umount -f /tmp/v2v.Nj0eik and I have this message : qemu-img: error while writing sector 246526903: Input/output error virt-v2v: error: qemu-img command failed, see earlier errors Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] De la part de VONDRA Alain Envoyé : lundi 13 octobre 2014 14:22 À : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Hi, Here is the log file, I saw just ioctl warnings. Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : lundi 13 octobre 2014 11:06 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue [Please keep replies on the list] On Mon, Oct 13, 2014 at 07:47:34AM +, VONDRA Alain wrote: > I give you some news about the conversion issue, I don't have the same > problem, but I can't finalize the conversion, the process freezes > randomly, sometimes during the conversion of the first disk or the > third... Can you run virt-v2v with the -x and -v options and post the complete output. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
[Please keep replies on the list] On Mon, Oct 13, 2014 at 07:47:34AM +, VONDRA Alain wrote: > I give you some news about the conversion issue, I don't have the > same problem, but I can't finalize the conversion, the process > freezes randomly, sometimes during the conversion of the first disk > or the third... Can you run virt-v2v with the -x and -v options and post the complete output. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Thu, Oct 09, 2014 at 11:02:30PM +0100, Richard W.M. Jones wrote: > > [Please keep replies on the list] > > On Thu, Oct 09, 2014 at 09:51:54PM +, VONDRA Alain wrote: > > I still have an issue during the update even after a yum clean all : > > > > Erreur : Paquet : libvirt-python-1.1.1-29.el7_0.3.x86_64 (@updates) > > Requiert : libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > > Suppression : libvirt-client-1.1.1-29.el7_0.3.x86_64 > > (@updates) > > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > > Mis à jour par : libvirt-client-1.2.8-4.el7.x86_64 > > (libguestfs-RHEL-7.1-preview) > > ~libvirt.so.0(LIBVIRT_PRIVATE_1.2.8)(64bit) > > Disponible : libvirt-client-1.1.1-29.el7.x86_64 (base) > > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > > Disponible : libvirt-client-1.1.1-29.el7_0.1.x86_64 (updates) > > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > > Vous pouvez essayer d'utiliser --skip-broken pour contourner le problème > > Vous pouvez essayer d'exécuter : rpm -Va --nofiles --nodigest > > Apparently now libvirt-python is a separate package. > > I'll upload libvirt-python at some point soon. That should be there now. Remember to do 'yum clean all' before trying the upgrade again. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
[Please keep replies on the list] On Thu, Oct 09, 2014 at 09:51:54PM +, VONDRA Alain wrote: > I still have an issue during the update even after a yum clean all : > > Erreur : Paquet : libvirt-python-1.1.1-29.el7_0.3.x86_64 (@updates) > Requiert : libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > Suppression : libvirt-client-1.1.1-29.el7_0.3.x86_64 (@updates) > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > Mis à jour par : libvirt-client-1.2.8-4.el7.x86_64 > (libguestfs-RHEL-7.1-preview) > ~libvirt.so.0(LIBVIRT_PRIVATE_1.2.8)(64bit) > Disponible : libvirt-client-1.1.1-29.el7.x86_64 (base) > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > Disponible : libvirt-client-1.1.1-29.el7_0.1.x86_64 (updates) > libvirt.so.0(LIBVIRT_PRIVATE_1.1.1)(64bit) > Vous pouvez essayer d'utiliser --skip-broken pour contourner le problème > Vous pouvez essayer d'exécuter : rpm -Va --nofiles --nodigest Apparently now libvirt-python is a separate package. I'll upload libvirt-python at some point soon. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Thu, Oct 09, 2014 at 12:51:12PM +, VONDRA Alain wrote: > Hi Richard, > Did you upload it ? Yup, should be there. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi Richard, Did you upload it ? Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : jeudi 9 octobre 2014 10:01 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Thu, Oct 09, 2014 at 07:51:05AM +, VONDRA Alain wrote: > Hi, > Do you know a repo for libvirt-daemon-kvm, because libvirt-daemon-kvm >= > 1.2.8-3 is required and only libvirt-daemon-kvm-1.1.1-29.el7_0.3.x86_64 is > available ? I'll upload it in the next 30 mins. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Thu, Oct 09, 2014 at 07:51:05AM +, VONDRA Alain wrote: > Hi, > Do you know a repo for libvirt-daemon-kvm, because libvirt-daemon-kvm >= > 1.2.8-3 is required and only libvirt-daemon-kvm-1.1.1-29.el7_0.3.x86_64 is > available ? I'll upload it in the next 30 mins. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi, Do you know a repo for libvirt-daemon-kvm, because libvirt-daemon-kvm >= 1.2.8-3 is required and only libvirt-daemon-kvm-1.1.1-29.el7_0.3.x86_64 is available ? Thanks Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] De la part de VONDRA Alain Envoyé : mercredi 8 octobre 2014 17:39 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Ok Thanks Richard, I'll try it ! Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 8 octobre 2014 17:23 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Please try 1.27.60, available in the repository by tomorrow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Ok Thanks Richard, I'll try it ! Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mercredi 8 octobre 2014 17:23 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Please try 1.27.60, available in the repository by tomorrow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Please try 1.27.60, available in the repository by tomorrow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Thanks Tingting. I have filed a bug to track this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1150475 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
I've tried this issue and could reproduce this issue: 1.Convert a guest with 2 disks to rhev. # virt-v2v -ic xen+ssh://10.66.106.64 -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export rhel6.6-i386-hvm -on 2disk-test -of qcow2 [ 0.0] Opening the source -i libvirt -ic xen+ssh://10.66.106.64 rhel6.6-i386-hvm [ 16.0] Creating an overlay to protect the source from being modified [ 47.0] Opening the overlay [ 83.0] Initializing the target -o rhev -os 10.66.90.115:/vol/v2v_auto/auto_export virt-v2v: warning: cannot write files to the NFS server as 36:36, even though we appear to be running as root. This probably means the NFS client or idmapd is not configured properly. You will have to chown the files that virt-v2v creates after the run, otherwise RHEV-M will not be able to import the VM. [ 83.0] Inspecting the overlay [ 90.0] Checking for sufficient free disk space in the guest [ 90.0] Estimating space required on target for each disk [ 90.0] Converting Red Hat Enterprise Linux Server release 6.6 Beta (Santiago) to run on KVM This guest has virtio drivers installed. [ 147.0] Mapping filesystem data to avoid copying unused and blank areas [ 148.0] Closing the overlay [ 148.0] Copying disk 1/2 to /tmp/v2v.mtvnoJ/46adae8a-63c1-40f8-b25a-f02deb1a5160/images/b59d8629-38f4-4443-baf0-07462e75bb91/0be98db1-86cc-4da2-9ecb-aae5f700d569 (qcow2) (100.00/100%) [ 223.0] Copying disk 2/2 to /tmp/v2v.mtvnoJ/46adae8a-63c1-40f8-b25a-f02deb1a5160/images/b59d8629-38f4-4443-baf0-07462e75bb91/67f9c9d5-f469-41ad-9390-b281b51515f4 (qcow2) (100.00/100%) [ 358.0] Creating output metadata [ 358.0] Finishing off 2.Check ovf file,the disk part shows as below,the second one shows ovf:boot='False'. 3.Attched the meta file and ovf file for details Best regards, Tingting Zheng(郑婷婷) - Original Message - From: "Richard W.M. Jones" To: "VONDRA Alain" Cc: libguestfs@redhat.com Sent: Wednesday, October 8, 2014 5:32:45 AM Subject: Re: [Libguestfs] Virt-v2v conversion issue On Wed, Oct 08, 2014 at 08:11:16AM +, VONDRA Alain wrote: > Hi, > I meet an amazing issue, when I convert a raw file to the oVirt environment > using virt-v2v. > All seems to work fine, my VM is composed of 9 disks, the processes > finishes without any trouble, the files are well present in the > right import volume, but only the first system disk appear un my > oVirt Import VM. > > I've retried twice and had the same issue . > > Here the results of the conversion : > > [ 24,0] Copying disk 1/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/8bc601d6-3f1c-4d76-9e15-c3d1d1c27618 > (raw) > (100.00/100%) > [2731,0] Copying disk 2/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/92d6e226-ad25-4205-8ccb-ff0f83c9b1c5 > (raw) > (100.00/100%) > [16950,0] Copying disk 3/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/931e6d94-247a-4315-aeb5-e948b8abfad5 > (raw) > (100.00/100%) > [17670,0] Copying disk 4/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/2a53a0c6-a818-4e91-bd80-d430cb48e114 > (raw) > (100.00/100%) > [18619,0] Copying disk 5/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/593a2a5b-feb2-4b61-8a43-9bbb68302286 > (raw) > (100.00/100%) > [19053,0] Copying disk 6/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/14dc0673-d4e0-43fc-84ef-3d4f3318f79e > (raw) > (100.00/100%) > [19418,0] Copying disk 7/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/48f0c478-2f89-4f47-95aa-1cbb8ea25a07 > (raw) > (100.00/100%) > [20520,0] Copying disk 8/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/0c4abdff-af25-49df-87a4-917298c85688 > (raw) > (100.00/100%) > [32429,0] Copying disk 9/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/1a1a9826-f233-4290-8b43-a082b902fc9d > (raw) > (100.00/100%) > [34357,0] Creating output metadata > [34357,0] Finishing off 9 hours ..? > And here the import folder > /data/big_export/IMPORTS/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/ > : > > total 556453768 > -rw-rw-rw- 1 vdsm kvm 214762060800 7 oct. 21:29 > 0c4abdff-af25-49df-87a4-917298c85688 > -rw-r--r-- 1 vdsm kvm 297 7 oct. 12:29 > 0c4abdff-af25-49df-87a4-917298c85688.meta > -rw-rw-rw- 1 vdsm kvm 21484431360 7 oct. 17:52 > 14
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Oct 08, 2014 at 08:11:16AM +, VONDRA Alain wrote: > Hi, > I meet an amazing issue, when I convert a raw file to the oVirt environment > using virt-v2v. > All seems to work fine, my VM is composed of 9 disks, the processes > finishes without any trouble, the files are well present in the > right import volume, but only the first system disk appear un my > oVirt Import VM. > > I've retried twice and had the same issue . > > Here the results of the conversion : > > [ 24,0] Copying disk 1/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/8bc601d6-3f1c-4d76-9e15-c3d1d1c27618 > (raw) > (100.00/100%) > [2731,0] Copying disk 2/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/92d6e226-ad25-4205-8ccb-ff0f83c9b1c5 > (raw) > (100.00/100%) > [16950,0] Copying disk 3/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/931e6d94-247a-4315-aeb5-e948b8abfad5 > (raw) > (100.00/100%) > [17670,0] Copying disk 4/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/2a53a0c6-a818-4e91-bd80-d430cb48e114 > (raw) > (100.00/100%) > [18619,0] Copying disk 5/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/593a2a5b-feb2-4b61-8a43-9bbb68302286 > (raw) > (100.00/100%) > [19053,0] Copying disk 6/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/14dc0673-d4e0-43fc-84ef-3d4f3318f79e > (raw) > (100.00/100%) > [19418,0] Copying disk 7/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/48f0c478-2f89-4f47-95aa-1cbb8ea25a07 > (raw) > (100.00/100%) > [20520,0] Copying disk 8/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/0c4abdff-af25-49df-87a4-917298c85688 > (raw) > (100.00/100%) > [32429,0] Copying disk 9/9 to > /tmp/v2v.a4uo5V/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/1a1a9826-f233-4290-8b43-a082b902fc9d > (raw) > (100.00/100%) > [34357,0] Creating output metadata > [34357,0] Finishing off 9 hours ..? > And here the import folder > /data/big_export/IMPORTS/0a6404e0-2857-45e4-9322-c1ada5ae13fb/images/a22862e8-f1ef-4530-ba55-6fda7850428c/ > : > > total 556453768 > -rw-rw-rw- 1 vdsm kvm 214762060800 7 oct. 21:29 > 0c4abdff-af25-49df-87a4-917298c85688 > -rw-r--r-- 1 vdsm kvm 297 7 oct. 12:29 > 0c4abdff-af25-49df-87a4-917298c85688.meta > -rw-rw-rw- 1 vdsm kvm 21484431360 7 oct. 17:52 > 14dc0673-d4e0-43fc-84ef-3d4f3318f79e > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 14dc0673-d4e0-43fc-84ef-3d4f3318f79e.meta > -rw-rw-rw- 1 vdsm kvm 32227676160 7 oct. 22:01 > 1a1a9826-f233-4290-8b43-a082b902fc9d > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 1a1a9826-f233-4290-8b43-a082b902fc9d.meta > -rw-rw-rw- 1 vdsm kvm 32226647040 7 oct. 17:39 > 2a53a0c6-a818-4e91-bd80-d430cb48e114 > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 2a53a0c6-a818-4e91-bd80-d430cb48e114.meta > -rw-rw-rw- 1 vdsm kvm 42968862720 7 oct. 18:11 > 48f0c478-2f89-4f47-95aa-1cbb8ea25a07 > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 48f0c478-2f89-4f47-95aa-1cbb8ea25a07.meta > -rw-rw-rw- 1 vdsm kvm 21484431360 7 oct. 17:46 > 593a2a5b-feb2-4b61-8a43-9bbb68302286 > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 593a2a5b-feb2-4b61-8a43-9bbb68302286.meta > -rw-rw-rw- 1 vdsm kvm 85908783104 7 oct. 13:14 > 8bc601d6-3f1c-4d76-9e15-c3d1d1c27618 > -rw-r--r-- 1 vdsm kvm 297 7 oct. 12:29 > 8bc601d6-3f1c-4d76-9e15-c3d1d1c27618.meta > -rw-rw-rw- 1 vdsm kvm 322134865920 7 oct. 17:11 > 92d6e226-ad25-4205-8ccb-ff0f83c9b1c5 > -rw-r--r-- 1 vdsm kvm 297 7 oct. 12:29 > 92d6e226-ad25-4205-8ccb-ff0f83c9b1c5.meta > -rw-rw-rw- 1 vdsm kvm 32226647040 7 oct. 17:23 > 931e6d94-247a-4315-aeb5-e948b8abfad5 > -rw-r--r-- 1 vdsm kvm 296 7 oct. 12:29 > 931e6d94-247a-4315-aeb5-e948b8abfad5.meta > > Thanks for your help. I really need to see what's in all of those *.meta files, *and* the *.ovf file which is created in another directory (under master/vms/). I don't think we have tried a multi-disk conversion to RHEV-M yet ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Sun, Sep 28, 2014 at 09:31:07PM +, VONDRA Alain wrote: > For information, I had still an issue "unknown filesystem type 'ntfs'", even > though I ahve libguestfs-winsupport installed, I decided to to try a: > yum reinstall libguestfs-winsupport This happens because installing (any) package causes the RPM database to be touched, causing supermin to rebuild the appliance in /var/tmp/.guestfs-/ Before the reinstall, this contained the old appliance from the /usr/local copy of libguestfs. rm -rf /var/tmp/.guestfs-* would have also worked. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
For information, I had still an issue "unknown filesystem type 'ntfs'", even though I ahve libguestfs-winsupport installed, I decided to to try a: yum reinstall libguestfs-winsupport and the conversion seems to run well, just wait and see Thank you Richard anyway for your help Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : libguestfs-boun...@redhat.com [mailto:libguestfs-boun...@redhat.com] De la part de VONDRA Alain Envoyé : dimanche 28 septembre 2014 22:39 À : Richard W.M. Jones Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Ok, I've removed all the files relating to libguestfs in /usr/local/, but the error message is still the same. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : dimanche 28 septembre 2014 22:25 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 08:05:54PM +, VONDRA Alain wrote: > Ok I understand, so I need to clean all the /usr/local directory or which one > I have to clean ? > I've tried to compile the 1.27.35, but by reflex I made a make install > command, I've seen later the option ./run... > What action do you advice me to get a clean install ? I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Ok, I've removed all the files relating to libguestfs in /usr/local/, but the error message is still the same. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : dimanche 28 septembre 2014 22:25 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 08:05:54PM +, VONDRA Alain wrote: > Ok I understand, so I need to clean all the /usr/local directory or which one > I have to clean ? > I've tried to compile the 1.27.35, but by reflex I made a make install > command, I've seen later the option ./run... > What action do you advice me to get a clean install ? I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Sun, Sep 28, 2014 at 08:05:54PM +, VONDRA Alain wrote: > Ok I understand, so I need to clean all the /usr/local directory or which one > I have to clean ? > I've tried to compile the 1.27.35, but by reflex I made a make install > command, I've seen later the option ./run... > What action do you advice me to get a clean install ? I don't think we have a way to 'make install-clean' or whatever. I would do: find /usr/local -type f | sort | less and remove anything which looks like it came from libguestfs or supermin. For comparison, you can look at the files installed by libguestfs official packages by doing: rpm -ql `rpm -qa | egrep 'guestf|virt-v2v'` | sort | less Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Ok I understand, so I need to clean all the /usr/local directory or which one I have to clean ? I've tried to compile the 1.27.35, but by reflex I made a make install command, I've seen later the option ./run... What action do you advice me to get a clean install ? Thanks Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : dimanche 28 septembre 2014 21:35 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue Oh I see. It looks like you've got a self-compiled copy of supermin & libguestfs in /usr/local, which is the one which is running. libguestfs-winsupport only works to add NTFS support to the normal installed packages that we build, ie. the ones here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html You'll probably have to nuke all traces of the version in /usr/local, otherwise nothing will really work. As a general rule of thumb, never use 'make install' with libguestfs as you'll just end up with two copies installed which will conflict with each other like this. If you want to build from source, then run the second copy from the build directory using the `./run' script in the top-level [see README], and that'll be fine. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Oh I see. It looks like you've got a self-compiled copy of supermin & libguestfs in /usr/local, which is the one which is running. libguestfs-winsupport only works to add NTFS support to the normal installed packages that we build, ie. the ones here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html You'll probably have to nuke all traces of the version in /usr/local, otherwise nothing will really work. As a general rule of thumb, never use 'make install' with libguestfs as you'll just end up with two copies installed which will conflict with each other like this. If you want to build from source, then run the second copy from the build directory using the `./run' script in the top-level [see README], and that'll be fine. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
My log file is attached Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : dimanche 28 septembre 2014 21:16 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sun, Sep 28, 2014 at 07:11:55PM +, VONDRA Alain wrote: > Hi, > I am trying to convert a Windows 2008 version, and I have > libguestfs-winsupport-7.1-3.el7.x86_64 installed. There's something strange going on. Can you try: virt-inspector -v -x -a /path/to/source/disk.img |& tee /tmp/log and then post the complete log (/tmp/log). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW log Description: log ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Sun, Sep 28, 2014 at 07:11:55PM +, VONDRA Alain wrote: > Hi, > I am trying to convert a Windows 2008 version, and I have > libguestfs-winsupport-7.1-3.el7.x86_64 installed. There's something strange going on. Can you try: virt-inspector -v -x -a /path/to/source/disk.img |& tee /tmp/log and then post the complete log (/tmp/log). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi, I am trying to convert a Windows 2008 version, and I have libguestfs-winsupport-7.1-3.el7.x86_64 installed. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : samedi 27 septembre 2014 13:33 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Sat, Sep 27, 2014 at 10:44:42AM +, VONDRA Alain wrote: > Hi, > Now with the new libguestfs-1.27.55-1.1 I have this new issue : > > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/freedos/freedos.ico" > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/boot/loader.rc" > libguestfs: trace: is_file = 0 > libguestfs: trace: umount_all > libguestfs: trace: umount_all = 0 > libguestfs: trace: vfs_type "/dev/sda2" > libguestfs: trace: vfs_type = "ntfs" > libguestfs: trace: internal_parse_mountable "/dev/sda2" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda2" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda2" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: vfs_type "/dev/sda3" > libguestfs: trace: vfs_type = "" > libguestfs: trace: internal_parse_mountable "/dev/sda3" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda3" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda3" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: vfs_type "/dev/sda5" > libguestfs: trace: vfs_type = "ntfs" > libguestfs: trace: internal_parse_mountable "/dev/sda5" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda5" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda5" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: inspect_get_roots > libguestfs: trace: inspect_get_roots = [] > libguestfs: trace: inspect_os = [] > virt-v2v: error: no root device found in this operating system image. > > If reporting bugs, run virt-v2v with debugging enabled and include the > complete output: Please don't edit/cut the debug log when reporting bugs. Also tell us what guest you are trying to convert. In this case I suspect you don't have libguestfs-winsupport installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Sat, Sep 27, 2014 at 10:44:42AM +, VONDRA Alain wrote: > Hi, > Now with the new libguestfs-1.27.55-1.1 I have this new issue : > > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/freedos/freedos.ico" > libguestfs: trace: is_file = 0 > libguestfs: trace: is_file "/boot/loader.rc" > libguestfs: trace: is_file = 0 > libguestfs: trace: umount_all > libguestfs: trace: umount_all = 0 > libguestfs: trace: vfs_type "/dev/sda2" > libguestfs: trace: vfs_type = "ntfs" > libguestfs: trace: internal_parse_mountable "/dev/sda2" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda2" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda2" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: vfs_type "/dev/sda3" > libguestfs: trace: vfs_type = "" > libguestfs: trace: internal_parse_mountable "/dev/sda3" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda3" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda3" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: vfs_type "/dev/sda5" > libguestfs: trace: vfs_type = "ntfs" > libguestfs: trace: internal_parse_mountable "/dev/sda5" > libguestfs: trace: internal_parse_mountable = guestfs_internal_mountable *> > libguestfs: trace: is_whole_device "/dev/sda5" > libguestfs: trace: is_whole_device = 0 > libguestfs: trace: mount_ro "/dev/sda5" "/" > libguestfs: trace: mount_ro = -1 (error) > libguestfs: trace: inspect_get_roots > libguestfs: trace: inspect_get_roots = [] > libguestfs: trace: inspect_os = [] > virt-v2v: error: no root device found in this operating system image. > > If reporting bugs, run virt-v2v with debugging enabled and include the > complete output: Please don't edit/cut the debug log when reporting bugs. Also tell us what guest you are trying to convert. In this case I suspect you don't have libguestfs-winsupport installed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi, Now with the new libguestfs-1.27.55-1.1 I have this new issue : libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/freedos/freedos.ico" libguestfs: trace: is_file = 0 libguestfs: trace: is_file "/boot/loader.rc" libguestfs: trace: is_file = 0 libguestfs: trace: umount_all libguestfs: trace: umount_all = 0 libguestfs: trace: vfs_type "/dev/sda2" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda2" libguestfs: trace: internal_parse_mountable = libguestfs: trace: is_whole_device "/dev/sda2" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda2" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda3" libguestfs: trace: vfs_type = "" libguestfs: trace: internal_parse_mountable "/dev/sda3" libguestfs: trace: internal_parse_mountable = libguestfs: trace: is_whole_device "/dev/sda3" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda3" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: vfs_type "/dev/sda5" libguestfs: trace: vfs_type = "ntfs" libguestfs: trace: internal_parse_mountable "/dev/sda5" libguestfs: trace: internal_parse_mountable = libguestfs: trace: is_whole_device "/dev/sda5" libguestfs: trace: is_whole_device = 0 libguestfs: trace: mount_ro "/dev/sda5" "/" libguestfs: trace: mount_ro = -1 (error) libguestfs: trace: inspect_get_roots libguestfs: trace: inspect_get_roots = [] libguestfs: trace: inspect_os = [] virt-v2v: error: no root device found in this operating system image. If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : jeudi 25 septembre 2014 10:43 À : VONDRA Alain; libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue [Please keep replies on the list] On Thu, Sep 25, 2014 at 08:33:52AM +, VONDRA Alain wrote: > Hi, > Can we expect a new build today ? Possibly. There is at least another problem with the Windows conversion code that hasn't been resolved yet, so it will depend on whether I'm able to reproduce and/or fix that. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
[Please keep replies on the list] On Thu, Sep 25, 2014 at 08:33:52AM +, VONDRA Alain wrote: > Hi, > Can we expect a new build today ? Possibly. There is at least another problem with the Windows conversion code that hasn't been resolved yet, so it will depend on whether I'm able to reproduce and/or fix that. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Wed, Sep 24, 2014 at 07:59:42AM +, VONDRA Alain wrote: > Hi, > Thank you Richard for your work, but I have also like Jeff Forbes a new issue > : > > libguestfs: trace: hivex_node_set_value = 0 > libguestfs: trace: upload > "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" > "/Windows/Drivers/VirtIO" > libguestfs: trace: upload = -1 (error) > libguestfs: trace: hivex_close > libguestfs: trace: hivex_close = 0 > virt-v2v: error: libguestfs error: upload: /Windows/Drivers/VirtIO: Is a > directory > > If reporting bugs, run virt-v2v with debugging enabled and include the > complete output: > > virt-v2v -v -x [...] > libguestfs: trace: close > libguestfs: trace: internal_autosync > libguestfs: trace: internal_autosync = 0 Yes as tzheng says, it's: https://bugzilla.redhat.com/show_bug.cgi?id=1145916 Stupid (on my part) mistake, but an easy fix ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On 09/24/2014 03:59 AM, VONDRA Alain wrote: Hi, Thank you Richard for your work, but I have also like Jeff Forbes a new issue : libguestfs: trace: hivex_node_set_value = 0 libguestfs: trace: upload "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" "/Windows/Drivers/VirtIO" libguestfs: trace: upload = -1 (error) libguestfs: trace: hivex_close libguestfs: trace: hivex_close = 0 virt-v2v: error: libguestfs error: upload: /Windows/Drivers/VirtIO: Is a directory If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 Alain You hit the bug:*Bug 1145916* <https://bugzilla.redhat.com/show_bug.cgi?id=1145916> -virt-v2v fails to convert win7 guest:https://bugzilla.redhat.com/show_bug.cgi?id=1145916 Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 23 septembre 2014 20:28 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue The 1.27.53 build is available now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi, Thank you Richard for your work, but I have also like Jeff Forbes a new issue : libguestfs: trace: hivex_node_set_value = 0 libguestfs: trace: upload "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" "/Windows/Drivers/VirtIO" libguestfs: trace: upload = -1 (error) libguestfs: trace: hivex_close libguestfs: trace: hivex_close = 0 virt-v2v: error: libguestfs error: upload: /Windows/Drivers/VirtIO: Is a directory If reporting bugs, run virt-v2v with debugging enabled and include the complete output: virt-v2v -v -x [...] libguestfs: trace: close libguestfs: trace: internal_autosync libguestfs: trace: internal_autosync = 0 Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 23 septembre 2014 20:28 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue The 1.27.53 build is available now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
The 1.27.53 build is available now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Sep 23, 2014 at 03:46:33PM +, VONDRA Alain wrote: > Hi > Thank you for your quick response, do you know when the build 1.27.53 will be > available ? Probably tomorrow if all goes well. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
Hi Thank you for your quick response, do you know when the build 1.27.53 will be available ? Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Richard W.M. Jones [mailto:rjo...@redhat.com] Envoyé : mardi 23 septembre 2014 11:44 À : VONDRA Alain Cc : libguestfs@redhat.com Objet : Re: [Libguestfs] Virt-v2v conversion issue On Tue, Sep 23, 2014 at 08:50:13AM +, VONDRA Alain wrote: > Hi, > I am running virt-v2v under CentOS 7, I use the new libguestfs-1.27.48-1.1, > and when I try to import my Windows 2008 (running perfectly using > virt-manager) in my cloud oVirt, I encounter this issue : > > libguestfs: trace: mkdir_p = 0 > libguestfs: trace: case_sensitive_path "/Windows/system32/drivers/viostor.sys" > libguestfs: trace: case_sensitive_path = > "/Windows/System32/drivers/viostor.sys" > libguestfs: trace: cp > "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" > "/Windows/System32/drivers/viostor.sys" > libguestfs: trace: cp = -1 (error) > libguestfs: trace: hivex_close > libguestfs: trace: hivex_close = 0 > virt-v2v: error: libguestfs error: cp: cp: cannot stat > '/sysroot/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys': No > such file or directory This was fixed yesterday: https://github.com/libguestfs/libguestfs/commit/7b428603e3a6dc43c48e276b192fda05a4a50a13 I've not got around to getting a build out which includes this fix, but it will be fixed in >= 1.27.53. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
Re: [Libguestfs] Virt-v2v conversion issue
On Tue, Sep 23, 2014 at 08:50:13AM +, VONDRA Alain wrote: > Hi, > I am running virt-v2v under CentOS 7, I use the new libguestfs-1.27.48-1.1, > and when I try to import my Windows 2008 (running perfectly using > virt-manager) in my cloud oVirt, I encounter this issue : > > libguestfs: trace: mkdir_p = 0 > libguestfs: trace: case_sensitive_path "/Windows/system32/drivers/viostor.sys" > libguestfs: trace: case_sensitive_path = > "/Windows/System32/drivers/viostor.sys" > libguestfs: trace: cp > "/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys" > "/Windows/System32/drivers/viostor.sys" > libguestfs: trace: cp = -1 (error) > libguestfs: trace: hivex_close > libguestfs: trace: hivex_close = 0 > virt-v2v: error: libguestfs error: cp: cp: cannot stat > '/sysroot/usr/share/virtio-win/drivers/amd64/Win2008/viostor.sys': No such > file or directory This was fixed yesterday: https://github.com/libguestfs/libguestfs/commit/7b428603e3a6dc43c48e276b192fda05a4a50a13 I've not got around to getting a build out which includes this fix, but it will be fixed in >= 1.27.53. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top ___ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs