Hi,
I used dd to export an image disk of my VPS directly to a VM in proxmox using ssh. The .raw file is 200GB. Actually the raw file is inside the VM, I'm planning to transfer the disk image to my laptop using FTP and then reimport it to VM as the boot disk.
I found here a trick that says to allow "local storage" to store disk images, then create a new VM and select "Local storage" as the target when we create its disk instead of "lvm-thin", then, replace this disk by the .raw file in /var/lib/vz/images/VM_ID/, then qm rescan then attach the disk. After that, we move this disk from local to lvm-thin using GUI.
This trick worked when I tried with a small size disk, my problem is that my raw file is 200GB and "Local" is only 100GB (by default when I installed proxmox) and the entire host disk is 512 GB.
For this reason I can not transfer the .raw file from my laptop to the host storage. Not enough space.
Is there any other trick I can do ? The .raw file is still in the VM I used to clone the disk from the VPS.
Thanks.
I used dd to export an image disk of my VPS directly to a VM in proxmox using ssh. The .raw file is 200GB. Actually the raw file is inside the VM, I'm planning to transfer the disk image to my laptop using FTP and then reimport it to VM as the boot disk.
I found here a trick that says to allow "local storage" to store disk images, then create a new VM and select "Local storage" as the target when we create its disk instead of "lvm-thin", then, replace this disk by the .raw file in /var/lib/vz/images/VM_ID/, then qm rescan then attach the disk. After that, we move this disk from local to lvm-thin using GUI.
This trick worked when I tried with a small size disk, my problem is that my raw file is 200GB and "Local" is only 100GB (by default when I installed proxmox) and the entire host disk is 512 GB.
For this reason I can not transfer the .raw file from my laptop to the host storage. Not enough space.
Is there any other trick I can do ? The .raw file is still in the VM I used to clone the disk from the VPS.
Thanks.
Last edited: