Questions tagged [qcow2]
76 questions
2
votes
1 answer
How to mount/resize/modify LVM partition in KVM qcow2 or raw images?
I have KVM qcow2 and raw images. Virtual machines are partitioned with LVM. Now I want to resize the root partition of a few machines so I guess I have to do this from the host.
My question is: how can I do this with raw images or qcow2 images ?…
![](../../users/profiles/13639.webp)
ascobol
- 278
- 2
- 13
2
votes
1 answer
need some way to convert QCOW2 to OVF or open QCOW2 on WINDOWS
is there a way to convert QCOW2 to OVF?
or is there a way to open an QCOW2 on WINDOWS (preferably free/open source)?
the problem is that ubuntu's virtual machine manager was used to create the image and now i'd need to use it on windows (xp).
is…
![](../../users/profiles/13883.webp)
b0x0rz
- 197
- 1
- 2
- 9
2
votes
2 answers
Terraform Libvirt - How to use local qcow2 file in the hypervisor instead of cloud images?
It seems like the libvirt provider only takes pre-defined cloud images. I create my own base qcow2 image that is local to the hypervisor and wish to use it as source file with terraform libvirtd.
Is this doable?
Config using cloud image:
resource…
![](../../users/profiles/565565.webp)
vmx1987
- 21
- 2
1
vote
0 answers
How to check the cache mode of a qcow2 image?
Say I converted an image to writethrough cache mode with this command:
qemu-img convert -t writethrough -O qcow2 in-image.qcow2 out-image.qcow2
How can I check/verify the cache mode of the image?
![](../../users/profiles/150555.webp)
Mike
- 598
- 7
- 16
1
vote
1 answer
qcow2 image: ERROR refcount block 69 is outside image
I have this backup.qcow2 image which was working fine in my kvm/qemu virtual machine before.
When I attach it to another virtual machine, Windows recognizes the disk but fails to read partitions. The disk appears in the state initial in Disk…
![](../../users/profiles/388128.webp)
JanPl
- 111
- 4
1
vote
1 answer
Convert QCOW2 to VMDK (Citrix Xen)
Hy everyone,
the search function does not come up with a propper solution.
I want to convert a old KVM disk QCOW2 to an compatible Ctrix Xen disk e.g. VMDK with that qemu-img converting tool
qemu-img convert -f qcow2 -O vmdk /mnt/itstuff/disk.qcow2…
![](../../users/profiles/523299.webp)
rcpe
- 11
- 2
1
vote
1 answer
KVM file size issue on RHEL 6.9
I tried to allocate 60GB of additional storage to my Win7 KVM by adding a new disk under 'Hardware Settings' using Add Hardware. But the new disk didn't show up in Win7 so i deleted the Disk using Remove Hardware. But the KVM img file .qcow2 has not…
![](../../users/profiles/460636.webp)
John W
- 11
- 1
1
vote
1 answer
How do Centos cloud images map to iso images
Is it possible to figure out which cloud image maps to which iso release for Centos.
I would like a Centos 7.3 minimal image, but when I browse the Centos cloud image site I cannot see any references to minor releases…
![](../../users/profiles/73401.webp)
AndyM
- 901
- 2
- 14
- 26
1
vote
2 answers
KVM guest qcow2 larger than disk size
I have a Windows 10 VM running on a server that I need to move to another server. The trouble is that the qcow2 file size is too large for the target server.
What's odd about this is that the partition it's on (on the source server) shows the…
![](../../users/profiles/442405.webp)
Ollie Sheridan
- 11
- 1
- 4
1
vote
1 answer
Cannot upload file to qcow2 image file using guestfish on rhel 7.3
I am trying to write a temp file into a qcow2 image file using guestfish as follows:
[root@localhost home]# guestfish --rw -i -a vm.qcow2 upload temp /home/
and faced the following problem:
libguestfs: error: lvs: lvm lvs --help: Invalid units…
![](../../users/profiles/311987.webp)
Mickstjohn09
- 21
- 3
- 6
1
vote
1 answer
Is it safe to use fallocate --dig-holes while being modified
Is it safe to use fallocate --dig-holes on a file while it is being modified/written? For example on a QCOW2 image opened by a KVM guest?
![](../../users/profiles/316265.webp)
Isabell Cowan
- 123
- 1
- 8
1
vote
2 answers
Accessing linux guest OS filesystem in qcow2 image
I'm attaching VM qcow2 image to get access to files which inside:
modprobe nbd max_part=63
qemu-nbd -n -c /dev/nbd0 /var/lib/libvirt/images/vm-image.qcow2
scanning for volume groups vgscan:
Reading all physical volumes. This may take a while...
…
![](../../users/profiles/167718.webp)
rook
- 137
- 1
- 1
- 14
1
vote
1 answer
(centOS) cloud-init not pulling ssh
Trying to build CentOS 6 qcow2 image with OpenStack guide[http://docs.openstack.org/image-guide/content/centos-image.html].
I'm using "cloud-init" instead of the "/etc/rc.d/rc.local" script but I assume "cloud-init" overrides the script?
I…
user192756
1
vote
0 answers
Boot a qcow2 image in Ganeti
I am very confused on how Ganeti actually boots machines. My problem is quite simple.
I have a qcow2 image in a machine and I want to boot it. How can I do it? I don't really understand the idea of using OS definitions and I can't find a clear…
![](../../users/profiles/205029.webp)
Anastasios Andronidis
- 111
- 3
1
vote
1 answer
Qcow2 images growing far beyond what they should
I am using ubuntu 12.04 and have seen this: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1025244
Our qcow2 images are growing far beyond what they should... with some of them growing to as much as 600gb when they should have only…
![](../../users/profiles/137232.webp)
Onitlikesonic
- 1,161
- 4
- 15
- 24