The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [qcow2]

QCOW2 stands for QEMU Copy -On- Write file. The QCOW image format is one of the disk image formats supported by the QEMU processor emulator.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

Protect you qcow2 backup-file (for overlay)

I have a qcow2 backing file for overlay. How can I protect this file against QEMU write by mistake? Can I lock it or set it to read-only. It seems to work if I set the filesystem permission to read-...
1
vote
0answers
97 views

Move data from qcow2 image to another guest

I have a corrupted guest and I cannot reboot the guest. So I have mounted my guest to my host and this is what I have in /mnt $ sudo ls /mnt bin boot dev etc home initrd.img initrd.img.old lib ...
1
vote
0answers
129 views

QEMU: qcow2 and RAW…which filesystem combi (avoid writing journal twice)?

Let's say my host disk is using EXT4, I place an image-file for my virtual machine in either QCOW2 or RAW format which again is formatted with EXT4 inside. Wouldn't journal data be written twice? ...
1
vote
1answer
423 views

virsh shows VM running, but it either doesn't start, or has no network access

I am having a HECK of a time getting virtual machines running on 18.04 (server) LTS. I say running, because it FEELS like virsh REPORTS it running, but that it never starts up. This is a very basic ...
2
votes
1answer
4k views

Virtual Machine best practices, and RAW vs QCOW2 [closed]

Tl/Dr: rebuilding VMs after OS SSD crash. Looking for best practice tips to see if I am missing anything, and to confirm if RAW vs QCOW2 has performance differences, and if they can be set up with the ...
0
votes
1answer
300 views

Is there an issue with partition alignment in virtual machines?

I am thinking about this for a while. That you shall have your partitions aligned especially when using SSD's to get full performance is a well known fact. I guess :)) So if I create a VM that uses a ...
1
vote
0answers
129 views

File size increases on disk image conversion with qemu-img

I downloaded two Ubuntu cloud image files xenial-server-cloudimg-amd64-disk1.img (294M) and xenial-server-cloudimg-amd64-disk1.vmdk (282M) from https://cloud-images.ubuntu.com/xenial/current/. I ...
2
votes
1answer
956 views

Ubuntu Cloud Images - Desktop versions

I was wondering why on official Ubuntu cloud image repository there are only server versions and not standard desktop images (with GUI). Which is the simplest way to create it? Thanks!
2
votes
1answer
2k views

How do I restore a Virtualbox VM from backup? (qcow)

I have backed up the contents of the directory "VirtualBox VMs" and now I am trying to restore the states of my virtual machines by copying the backed up files, back. Now when I select "Machine" -> "...
0
votes
1answer
85 views

Building KVM images

What is the best way to build Ubuntu 14.04 and 16.04 images for KVM? Until now, I have been using vmbuilder for Ubuntu 12.04 LTS, but it seems it is no longer supported.
1
vote
2answers
2k views

qcow2 image much bigger then original vmdk file after conversion. how to avoid that?

I converted a vmdk image file to qcow2 with qemu-img (on a ubuntu 14.04 server) sudo qemu-img convert -f vmdk -O qcow2 Odoo-disk1.vmdk odoo-disk1.qcow2 now, the resulting qcow2 image is more then ...
1
vote
1answer
4k views

Extracting qcow2 image to a smaller real drive

How can i extract a qcow2 image (512gb, mostly free space) to a 128gb SSD? it will then be used as the boot drive
1
vote
1answer
2k views

How to export qcow2 KVM image?

I have set up a new QEMU virtual machine through KVM on a Ubuntu 14.10 linux installation. Everything is working smoothly. The problem is when I try to export the qcow2 vm image to another PC, to ...
1
vote
0answers
348 views

Error while modifing an image using guestfish

I tried to modify my .qcow2 image using guestfish guestfish --rw -a parsecROI.img.qcow2 Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. ...
0
votes
1answer
2k views

how to import and install a UEC image on Openstack?

Getting started with Openstack here. I've successfully imported and launched instances with a cirros image per the Openstack Installation Guide, but when I import UEC images, like this one here and ...
1
vote
1answer
363 views

How to define clone presets to virt-manager [closed]

When using virt-manager 0.9.1 to clone existing machines, it ignores that the virtual disks are qcow2 compressed and sparsed. The cloned virtual disks are non-sparsed and in raw format. I know about ...
7
votes
1answer
6k views

Ambiguity using “ls -l” and “file” commands on a qcow file

I have a qcow2 file on my filesystem and I am trying to find the size of that file. For this, when I do a ls -l in the location where the file is stored, I get 13041664, which means the file size is ...