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

2016-10-06 Thread Dhaussy Alexandre
Le 13/09/2016 à 05:30, Alexandre DERUMIER a écrit : >> ok, this could be a fast workaround to implement >> # qemu-img info -f vmdk /nas/proxmox/testmox2/testmox2.vmdk >> May i send this patch to pve-devel ? > --- /tmp/Plugin.pm2016-09-13 10:24:11.665002256 +0200 > +++ /usr/share/perl5/PVE/Stor

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

2016-09-13 Thread Dhaussy Alexandre
Le 13/09/2016 à 05:30, Alexandre DERUMIER a écrit : > ok, this could be a fast workaround to implement > # qemu-img info -f vmdk /nas/proxmox/testmox2/testmox2.vmdk > Yes, i have made a quick workaround that seems to work. Not sure if it's the way to go.. --- /tmp/Plugin.pm2016-09-13 10:24:11.

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

2016-09-12 Thread Alexandre DERUMIER
; filename: /nas/proxmox/testmox2/testmox2-flat.vmdk >> format: VMFS Why is the filename in extend : testmox2-flat.vmdk ? - Mail original ----- De: "Dhaussy Alexandre" À: "proxmoxve" Envoyé: Lundi 12 Septembre 2016 16:06:08 Objet: R

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

2016-09-12 Thread Dhaussy Alexandre
Curiously, qemu doesn't seem to recognise the vmdk file until i use "-f wmdk" : # qemu-img info -f vmdk /nas/proxmox/testmox2/testmox2.vmdk image: /nas/proxmox/testmox2/testmox2.vmdk file format: vmdk virtual size: 41G (44023414784 bytes) disk size: 2.8G Format specific information: cid: 30

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

2016-09-12 Thread Dhaussy Alexandre
> Here's the content of the vmdk descriptor file : root@proxmoxt30:/nas/proxmox/images/410# cat /nas/proxmox/testmox2/testmox2.vmdk # Disk DescriptorFile version=3 encoding="UTF-8" CID=b4f54854 parentCID= isNativeSnapshot="no" createType="vmfs" # Extent description RW 85983232 VMFS "tes

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

2016-09-12 Thread Dhaussy Alexandre
Le 12/09/2016 à 08:55, Alexandre DERUMIER a écrit : > can you provide the output of > > "qemu-img info youroriginal.vmdk" file ? De: "Dhaussy Alexandre" > À: "proxmoxve" > Envoyé: Vendredi 9 Septembre 2016 17:06:23 > > # qemu-img info /nas/proxmox/testmox2/testmox2.vmdk > image: /nas/proxmox/te

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

2016-09-11 Thread Alexandre DERUMIER
Alexandre" À: "proxmoxve" Envoyé: Vendredi 9 Septembre 2016 17:06:23 Objet: Re: [PVE-User] Migrating a vmdk from NAS to LVM Hello Alexandre, I can't check the size because the LVM volume is auto-removed after the failure. But i'm guessing the LV is created with the size of

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

2016-09-11 Thread Alexandre DERUMIER
Indeed, the value take from file_size_info is "virtual size:10K" I'll try to look for a workaround - Mail original - De: "Dhaussy Alexandre" À: "proxmoxve" Envoyé: Vendredi 9 Septembre 2016 17:06:23 Objet: Re: [PVE-User] Migrating a vmdk from NAS

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

2016-09-09 Thread Lindsay Mathieson
On 9/09/2016 10:38 PM, Dhaussy Alexandre wrote: Is seems qemu complains about "output file is smaller than input file". I've worked around this bug in the past by backing up the VM and restoring it to the new storage. -- Lindsay Mathieson ___ pve-

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

2016-09-09 Thread Dhaussy Alexandre
: "Dhaussy Alexandre" > À: "proxmoxve" > 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 wor

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

2016-09-09 Thread Alexandre DERUMIER
Hi, Seem to be a proxmox bug. What is the size of lvm volume generated by proxmox ? - Mail original - De: "Dhaussy Alexandre" À: "proxmoxve" Envoyé: Vendredi 9 Septembre 2016 14:38:49 Objet: [PVE-User] Migrating a vmdk from NAS to LVM Hello, I'm trying to

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

2016-09-09 Thread Dhaussy Alexandre
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 fu