Mark Husted (hustedm)
2014-Aug-22 01:50 UTC
Re: [Libguestfs] libguest-test-tool error report
Hello Rich, I figured out how to stop the VB services. I then deleted the /dev/kvm. Then I ran the libguestfs-test-tool and it said 'OK'. Then I ran virt-resize and it was unhappy that /dev/kvm no longer existed. I have attached the debug output for your review. Thanks, Mark Thanks, Mark Husted 770-236-1242 -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Thursday, August 21, 2014 4:34 PM To: Mark Husted (hustedm) Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] libguest-test-tool error report On Thu, Aug 21, 2014 at 08:20:11PM +0000, Mark Husted (hustedm) wrote:> Hello Rich, > > I am not sure if KVM ever ran. I put VirtualBox in it because I have > never done virtualization before and found some instructions for VB. > That said, I might have naively shut something off because I didn't > know any better. No VB was not running at the time. I thought of > that and turned it off. Though, I bet the services are still up. > > What is the standard kvm service? I could check to see if it is > running properly. And we could go from there.There's not really a "KVM service" as such. It is a part of the kernel is only used when you start a KVM guest. In any case as it looks like you have VirtualBox running, my advice would be to delete the /dev/kvm file, and try running libguestfs-test-tool and/or virt-resize again. sudo rm /dev/kvm 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
On Fri, Aug 22, 2014 at 01:50:49AM +0000, Mark Husted (hustedm) wrote:> qemu-kvm: -drive file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: 'hd1' uses a qcow2 feature which is not supported by this qemu version: QCOW version 3 > qemu-kvm: -drive file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: could not open disk image centos6.4-x86_64-gold-master-5G.img: Operation not supportedThe problem is that the disk image uses qcow2 features which were added in RHEL 7. RHEL 6 is simply unable to read or process this disk image. The only solution here is to update the host to RHEL 7 / CentOS 7. 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
Mark Husted (hustedm)
2014-Aug-22 11:33 UTC
Re: [Libguestfs] libguest-test-tool error report
Hello Rich, Well, that stinks. I really appreciate the quick responses. Thank you for your time and effort, too. I will see what I can do to solve this problem some other way. Maybe I can virtualize my disk image maker. Thanks, Mark Thanks, Mark Husted 770-236-1242 -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Friday, August 22, 2014 3:43 AM To: Mark Husted (hustedm) Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] libguest-test-tool error report On Fri, Aug 22, 2014 at 01:50:49AM +0000, Mark Husted (hustedm) wrote:> qemu-kvm: -drive > file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: > 'hd1' uses a qcow2 feature which is not supported by this qemu > version: QCOW version 3 > qemu-kvm: -drive > file=centos6.4-x86_64-gold-master-5G.img,cache=none,id=hd1,if=none: > could not open disk image centos6.4-x86_64-gold-master-5G.img: > Operation not supportedThe problem is that the disk image uses qcow2 features which were added in RHEL 7. RHEL 6 is simply unable to read or process this disk image. The only solution here is to update the host to RHEL 7 / CentOS 7. 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