[PVE-User] Cannot move disk - "output file is smaller than input file"

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Apr 27 08:41:12 CEST 2016


> Lindsay Mathieson <lindsay.mathieson at gmail.com> hat am 27. April 2016 um 02:01
> geschrieben:
> 
> 
> Getting this when trying to move a Ceph RBD image to NFS. 100% reproducable
> at the moment.
> 
> create full clone of drive ide0 (ceph1:vm-401-disk-1)
> Formatting '/mnt/pve/VMSecondary/images/401/vm-401-disk-1.qcow2', fmt=qcow2
> size=136365211648 encryption=off cluster_size=65536 preallocation=metadata
> lazy_refcounts=off refcount_bits=16
> transferred: 0 bytes remaining: 136365211648 bytes total: 136365211648
> bytes progression: 0.00 %
> qemu-img: output file is smaller than input file
> TASK ERROR: storage migration failed: copy failed: command
> '/usr/bin/qemu-img convert -t writeback -p -n -f raw -O qcow2
> 'rbd:rbd/vm-401-disk-1:mon_host=10.10.10.240\:6789;10.10.10.241\:6789;10.10.10.243\:6789;:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph1.keyring'
> zeroinit:/mnt/pve/VMSecondary/images/401/vm-401-disk-1.qcow2' failed: exit
> code 1
> 
> 
> I've seen this before and worked round it by backing up and restoring, but
> I can leave this for a while if needed for testing.
> 
> 
> -- 
> Lindsay

Could you open a bug report at https://bugzilla.proxmox.com for easier tracking
of this issue?

Thanks!




More information about the pve-user mailing list