Cannot move large disk images

tapsa

Member
May 5, 2012
14
0
21
Virtual Environment 7.2-7
2 NFS shares. 24TB free space at target mount. Both nfs servers use ZFS on linux.

Offline storage move give following error:
Code:
create full clone of drive scsi1 (ssdpool-proxmox-nfs42:104059/vm-104059-disk-2.raw)
Formatting '/mnt/pve/slow-nobackup/images/104059/vm-104059-disk-0.raw', fmt=raw size=6597061378048 preallocation=off
transferred 0.0 B of 6.0 TiB (0.00%)
qemu-img: output file is smaller than input file
TASK ERROR: storage migration failed: copy failed: command '/usr/bin/qemu-img convert -p -n -f raw -O raw /mnt/pve/ssdpool-proxmox-nfs42/images/104059/vm-104059-disk-2.raw zeroinit:/mnt/pve/slow-nobackup/images/104059/vm-104059-disk-0.raw' failed: exit code 1

With smaller disks there is no problem to move disk. But with 6TB disks looks that move does not work at offline or online.
Is this bug or some kind configuration issue?
 
Hi,
can you post the output of the following?
Code:
pveversion -v
qemu-img info --output=json $(ssdpool-proxmox-nfs42:104059/vm-104059-disk-2.raw)
qemu-img create -o preallocation=off -f raw /mnt/pve/slow-nobackup/test.raw 6442442752K
qemu-img info --output=json /mnt/pve/slow-nobackup/test.raw
qemu-img convert -p -n -f raw -O raw /mnt/pve/ssdpool-proxmox-nfs42/images/104059/vm-104059-disk-2.raw zeroinit:/mnt/pve/slow-nobackup/test.raw
rm /mnt/pve/slow-nobackup/test.raw
Of course make sure you don't already have an important test.raw there and you don't have to wait for the convert command to finish if it actually works like this ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!