Questions tagged [qcow2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
76 views

How to create partitions on qcow2 image without reserving disk size

I want to install archlinux in UEFI mode so, I created image from virt-manager with size of 20GB. Then after booting into VM, I created 2 partition with fdisk named /dev/vda1 and /dev/vda2 with 512MB ...
0
votes
0answers
15 views

new qcow2 from snapshot

I actually have originalImage.qcow2 (~46GB) comporting Snapshot1 Snapshot2 Snapshot3 and the actual VM And now I want snapshotImage.qcow2 (~6GB) comporting Snapshot1 Snapshot2 Snapshot3 And I want ...
0
votes
0answers
62 views

`qemu-nbd` list phantom partitions

When I mount a qcow2, like qemu-nbd --connect=/dev/nbd0 /path/image.qcow2, fdisk /dev/nbd0 -l lists me partition non visible on /dev/. And when I mount /dev/nbd0 /path It only mount what should be the ...
0
votes
0answers
15 views

empty qcow2 on Windows

I plugged multiple qcow2 to a Windows guest. On the Windows disk manager all disks are listed perfectly, with their data, their real space, I even can explore all files on the Explorer, all cool On ...
0
votes
0answers
71 views

KVM empty virsh pool-list

I am trying to move the KVM storage .qcow2 file from /var/lib/libvirt/images to an external HD to save space on my laptop. I am trying to follow this guide but when I prompt: virsh pool-list I got ...
0
votes
2answers
107 views

store a KVM .qcow2 image in NTFS external hard disk

I have a .qcow2 image that became really bigger (36 GB) and I want to move it to an external HD to avoid using all my PC (Debian machine) memory for that. Is it possible to store it (and access it ...
0
votes
0answers
19 views

Inheriting the snapshots from a qcow2 backing file

I created an internal snapshot in a qcow2 image via virsh. Then, I created a new qcow2 image having the first image as backing file. I checked and the internal snapshot of the backing file is not ...
0
votes
0answers
33 views

virt-v2v convert from ova to qcow2 gives error

I was tring to convert an ova file to qcow2 and I found this blog post. I followed instructions and ran these commands: mkdir /var/lib/libvirt/Appliances virsh pool-define-as Appliances --type dir \ ...
0
votes
0answers
75 views

qcow2 for Baremetal installation

I have qcow2 image for Centos 6.7. Its the golden Image. I want to convert this image to install on physical machines multiples of them . what is the approach I take.
0
votes
0answers
148 views

virsh attach-disk only work with name vd* instead of sd*

I have an qcow2 image and want to attach another disk to it. # create new qcow2 disk qemu-img create -f qcow2 vm-disk2 500G Then I attach it as sdb: virsh attach-disk myvm /var/lib/libvirt/images/...
0
votes
1answer
99 views

Open qcow2 image on debian remote server remotely

I recovered a vmware image from an inaccessible server after converting it to qcow2, now it is on a remote debian server (kimsufi) and as it is 64GB I can't download it to my small pc. I read that I ...
7
votes
1answer
825 views

KVM/QEMU/libvirt image path suggestion file system and mount options

As simple KVM server I've got to store raw and qcow2 images on special path like: /kvm-storage I want to know what's the best practices for file system and mount options to set this path for achieve ...
2
votes
1answer
402 views

Set L2 cache for QEMU qcow2 disk in virsh XML

In the QEMU commandline you can set a L2 cache for a disk using l2-cache-size=10M This option is not supported in Virsh XML but it should be able to use the XML element <qemu:commandline> but I ...
0
votes
1answer
29 views

Input/Output on qcow2 mysteriously fixed after reboot

I had error Input/Output error when I was trying to do something on my KVM virtual using qcow2 disk. I read about that its possible corrupted virtual disk, but I just ran virsh destroy and virsh start ...
1
vote
1answer
2k views

How to clone a single partition from a HD to a qcow2 disk image for use in qemu-kvm?

Edit (1&2): I cloned my working OS (powered off, HD mounted on USB drive, > dd if=/dev/sdc1 of=/data/system.img The original SSD is as follows: > sfdisk -d /dev/sdc # partition table of /...