SCP Writing vmdk to local (pve)

AllenJBlodgett

New Member
Feb 11, 2024
1
1
1
I am attempting to copy a vmdk file to local-lvm which has over 1TB of free space. However, when doing so, it keeps writing to the local storage which is capped out at 100GB. Is there any way to make Proxmox skip the local storage space and make sure it writes to the local-lvm?
 
  • Like
Reactions: milew
scp copies from a file to a file but local-lvm is not a filesystem/directory storage (it's a block storage) and cannot store files.Maybe manually create a logical volume on local-lvm and format it with ext4 and mount that as a directory storage?
 
You can try something similar to this :
https://unix.stackexchange.com/ques...ssh-on-local-machine-and-save-to-a-local-disk

However, I'd start with a smaller file first as an experiment. No guarantees that this will work, of course, since vmdk/qcow/lvm translations are a bit more complex than simple "dd".
Note, I did not put much effort into searching for you, there may be a ready solution out there.

PS specifically, you could "dd vmdk | gzip | ssh | qemu-img | lvm


Blockbridge: Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:

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!