[libvirt] server side copy from one volume to another
Vasiliy Tolstov
v.tolstov at selfip.ru
Tue Apr 18 11:03:11 UTC 2017
2017-04-18 8:39 GMT+03:00 Michal Privoznik <mprivozn at redhat.com>:
> s that right? Here I'm successfully cloning a volume across two storage pools:
Yes, it works but....
Source image:
image: /var/lib/libvirt/images/sda/143177
file format: qcow2
virtual size: 5.0G (5368709120 bytes)
disk size: 902M
cluster_size: 65536
Format specific information:
compat: 0.10
refcount bits: 16
Dest image:
image: /var/lib/libvirt/images/sda/test
file format: qcow2
virtual size: 5.0G (5368709120 bytes)
disk size: 902M
cluster_size: 65536
Format specific information:
compat: 0.10
refcount bits: 16
But
-rw------- 1 root 908M Apr 18 13:59 143177
-rw------- 1 root 902M Apr 18 13:59 test
Why size is changed on destination image? In case of cp
--spwarse=always size does not changed.
More information about the libvir-list
mailing list