[pve-devel] qemu-img convert bug, one more example

Michael Rasmussen mir at datanom.net
Sun Dec 30 19:40:10 CET 2012


time qemu-img convert -t writeback -p -O
raw /dev/qnap_vg/vm-117-disk-1 /var/lib/vz/images/117/vm-117-disk-1.raw
(100.00/100%)

real	1m39.023s
user	0m0.814s
sys	0m10.076s
root at esx2:~# qemu-img info /var/lib/vz/images/117/vm-117-disk-1.raw
image: /var/lib/vz/images/117/vm-117-disk-1.raw file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 2.2G
root at esx2:~# qemu-img info /dev/qnap_vg/vm-117-disk-1               
image: /dev/qnap_vg/vm-117-disk-1
file format: raw
virtual size: 4.0G (4294967296 bytes)
disk size: 0

Original disk: disk size: 0
New disk: disk size: 2.2G

What is going on?

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
I must Create a System, or be enslav'd by another Man's;
I will not Reason and Compare; my business is to Create.
		-- William Blake, "Jerusalem"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20121230/f4a82e4c/attachment.sig>


More information about the pve-devel mailing list