[sheepdog-users] Problem with qcow2

Cristian Del Carlo cristian.delcarlo at targetsolutions.it
Tue Sep 27 17:41:48 CEST 2016


Hi list,

sorry if i have another question.

I use sheepdog v0.9.3 and libvirt 1.2.17.
I have problems with qcow2.

I create the image with the command:
qemu-img create -f qcow2 -o preallocation=metadata sheepdog:test2.qcow2 20G

After the command i can check the image:

# qemu-img info sheepdog:///test2.qcow2
image: sheepdog:///test2.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: unavailable
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false

But when i start to install a linux vm ( with virtmanager 1.3.2 ) if i
repeat the command i have the following :

# qemu-img info sheepdog:///test2.qcow2
image: sheepdog:///test2.qcow2
file format: raw
virtual size: 20G (21478375424 bytes)
disk size: unavailable

Even with "qemu-img convert" i have problem and i can work only with raw
file.

Where is the problem?

I would like to use qcow2 to have the possibility to use the command "virsh
snapshot-create --live vm".

Thanks.

Best regards,


*Cristian Del Carlo*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20160927/c79b866f/attachment.html>


More information about the sheepdog-users mailing list