PVE local storage getting full while downloading files

YD4NG3R

New Member
Aug 15, 2022
1
0
1
Hello there,

Currently, I'm doing a migration to VMs from Hyper-V Host to PVE Host(I need to convert the disk first), VMs Hard disks are more than 100GB, While "local" can only have 100GB.
Is there any way to increase the space of the "local" storage, or even download the file with the qemu-img command and store it on LVM storage
I have used this command to download it and convert the disk but still downloading the disk to the local storage.

Code:
qemu-img convert -f vhdx -O qcow2 'json:{"file.driver":"https", "file.url":"https://example.com/Disk.vhdx' vm-300-disk-0.qcow2 local-lvm

I'm using Proxmox VE 7.2-3 with kernel 5.15.30-2-pve


Do you have any other suggestions?
 
"local" storage normally points to a folder on your root disk, ie /var/lib/vz.
There are a few ways to increase the backing space behind "/var/lib/vz":
- expand the "pve-root" logical volume
- mount "/var/lib/vz" to a different disk

Qemu-img is not aware of PVE storage objects, its technically a 3rd party utility. You can try to point it to a prepared LVM device.
i.e. pre-allocate the disk : pvesm alloc local-lvm <vmid> <filename> <size> [OPTIONS]
then use the resulting LVM as output for qemu-img with a format of raw.
I havent tried it so let us know if it works


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!