[PVE-User] Migrating a vmdk from NAS to LVM

Alexandre DERUMIER aderumier at odiso.com
Fri Sep 9 16:54:03 CEST 2016


Hi,

Seem to be a proxmox bug.
What is the size of lvm volume generated by proxmox ?

----- Mail original -----
De: "Dhaussy Alexandre" <ADhaussy at voyages-sncf.com>
À: "proxmoxve" <pve-user at pve.proxmox.com>
Envoyé: Vendredi 9 Septembre 2016 14:38:49
Objet: [PVE-User] Migrating a vmdk from NAS to LVM

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. 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 




More information about the pve-user mailing list