[PVE-User] Migrating a vmdk from NAS to LVM
Dhaussy Alexandre
ADhaussy at voyages-sncf.com
Fri Sep 9 14:38:49 CEST 2016
Hello,
I'm trying to "storage move" disks from NFS/vmdk to LVM/raw.
But it doesn't seems to work within proxmox GUI.
Here's the error message:
##########################
Task viewer: VM 410 - Move disk
create full clone of drive virtio0 (isilon:410/vm-410-disk-1.vmdk)
Rounding up size to full physical extent 4.00 MiB
Logical volume "vm-410-disk-1" created.
transferred: 0 bytes remaining: 10240 bytes total: 10240 bytes
progression: 0.00 %
qemu-img: output file is smaller than input file
Logical volume "vm-410-disk-1" successfully removed
TASK ERROR: storage migration failed: copy failed: command
'/usr/bin/qemu-img convert -t writeback -p -n -f vmdk -O raw
/nas/proxmox/images/410/vm-410-disk-1.vmdk
/dev/T_proxmox_1/vm-410-disk-1' failed: exit code 1
###########################
Is seems qemu complains about "output file is smaller than input file".
Anyway i tried to add a new LVM disk from the GUI (41Gb: same size as
the original.)
After that i was able to convert the disk succesfully !
root at proxmox:# /usr/bin/qemu-img convert -t writeback -p -n -f vmdk -O
raw /nas/proxmox/images/410/vm-410-disk-1.vmdk
/dev/T_proxmox_1/vm-410-disk-1
(100.00/100%)
Cheers,
Alexandre.
More information about the pve-user
mailing list