Questions tagged [qcow2]
76 questions
0
votes
1 answer
Edit /etc/resolvconf/resolv.conf.d/base in Centos 7 -- qcow2 image
My qcow2 image uses local nameserver, 192.168.122.1 which is not working for reasons unknown.
So, I tried to use guestfish and edit the file /etc/resolv.conf to add nameservers, 8.8.8.8. This doesnt work as dhclient overwrites it.
I tried other…

Saravana Kumar
- 169
- 1
- 1
- 6
0
votes
2 answers
How do I make KVM images with LVM partitioning be thinly provisioned with a max growth size?
BACKGROUND: Up to now, I have been provisioning VMs as follows:
Create template/gold VM:
Create new CentOS 6.6 VM with raw 200GB disk (1 .xml file, 1 .img file)
LVM partitioning with: /boot, swap, and / partitions (most space in /)
Install desired…

Steve Amerige
- 433
- 2
- 5
- 12
0
votes
2 answers
qcow2 overlay growing too rapidly
virsh 0.10 I am using qcow2 overlay and a backing file, also qcow2. The overlay is growing way too quick, more than 20 GB in 24 hours, even though I am not writing very much to disk. Is this normal? What causes them to grow? I assume any write…
user160910
0
votes
1 answer
Mounting an LVM snapshot and converting file: is it safe?
I have KVM running and need to convert some qcow2 disk images from running guests into vmdk format. Is it safe to take an LVM snapshot of the logical volume that the qcow2 file resides on, mount it, and then run qemu-img convert on the mounted…
user160910
0
votes
1 answer
Clone/Backup Strategy for VMs between ESXi and KVM requiring clones to run concurrently with original VMs
I am stuck on this problem and need help. ESXi Free version 5 and qemu-kvm/libvirtd version 0.10. I will put the TL;DR first since it captures the problem fairly well.
TL;DR
I have 2 VMs on a KVM server (qcow2 images sized 100 and 200GB), and…
user160910
0
votes
1 answer
Qcow2 converted to vmdk show as spare and can't be snapshot
As the title says, kvm disks that I converted and moved to ESXi are useless because I cannot use snapshots due to the fact that they are sparse disks. Does anyone have a resolution for this issue? esxi 5 free
user160910
0
votes
1 answer
More than one clone of xp qcow2 base image using kvm gives missing hal.dll error
I am running linux mint debian edition.
I have kvm installed and working, using virt-manager as the manager. I have a qcow2 disk file with windows xp pro installed that I used as a base to clone a new qcow2 file. I have done this before without a…

senorsmile
- 713
- 8
- 20
0
votes
1 answer
repartitioning a qcow2 image without data loss
I'm experimenting with repartitioning in a KVM virtual. I have created a new qcow2 disk and mounted in a virtual. I'm experimenting with resizing the filesystem and repartitioning. I had previously unmounted and shrunk the filesystem using e2fsk -f…

Pete
- 271
- 1
- 4
- 19
0
votes
0 answers
After converting Windows guest OS .vmdk file to .qcow2 and hosting to KVM gives "No Bootable Device"
We are migrating guest VM from VMware 7 to KVM (installed on Ubuntu 22.04 LTS).
We have achieved success in migrating all Ubuntu guest VM from VMware to KVM by converting the vmdk disk to qcow2.
However facing issue with Windows Guest VM with…

AM2023
- 1
0
votes
1 answer
KVM - Reduce Storage Size of QCOW2 File To Specific Size
I want to reduce the storage size of the VM's running on a Linux 8 physical machine from 2 TB to 400 GB. The actual size of VM's is around 100 GB. But the space we give it as allocated size is too big and I want to reduce it.
What I'm talking about…

rndm_acct1
- 1
- 1
0
votes
1 answer
How is this even possible?
This must be a glitch in the Matrix. Right? Let me explain.
I have some automation that converts a qcow2 image into a raw image before uploading the resulting raw image to an S3 bucket (in AWS). Prior to Friday, this automation was specifically…

dmas174
- 3
- 2
0
votes
1 answer
What capabilities do you lose when turning off COW on a qcow2 file?
I run a small internal cloud utilizing 3 redundant, live migration capable Ubuntu/Qemu/KVM hosts with ~30 mixed OS VMs.
The Pool volumes are BTRFS and before any of you give me crap about it: this is small shop, utility is more important than…

Frobozz
- 173
- 8
0
votes
2 answers
Incremental backup qcow2 image with rsync
I use rsync to backup the qcow2 disks of my virtual machines. However, I would like to be able to get an incremental backup so that I don't have to copy the entire disk every time.
for now I use rsync -hav --progress / source / target, the execution…
0
votes
1 answer
OVA to QCOW2 conversion - Openstack instance dracut initqueue timeout and could not boot
I have a custom OVA built with Centos 7 and trying to convert it to qcow2.
I have extracted the files from the OVA and converted the vmdk to qcow2 with following command:
qemu-img convert -O qcow2 image.vmdk image.qcow2
After uploading the qcow2…

Sandeep
- 121
- 3
0
votes
1 answer
How do I make a compressed disk image (qcow2 and/or squashfs) from a disk directly?
I have a disk attached to my server and I want to make the disk image of it downloadable on the same server. The disk itself is 500GB but I don't want to have a 500GB disk image for download. I'd like to try using squashfs containing the disk image.…

CosmoΓammaByte
- 1
- 1