Thin Provisioning shrink size

cm350

Member
Jan 16, 2015
28
0
21
Hi Guys,

On our own proxmox server we have the issue that our local-lvm (ssd-raid) is almost full.

We have a lvm-thin storage disk. We use raw files for the virtual machines and mostly VIRTIO (for the windows) and IDE for the debians.

We moved a lot of data out of the virtual machines in to the cloud etc...
But the space we cleared is not showing up on the disks in proxmox. So how do we free up this freed-up space?
 
Hi,

you must run fstrim in the VM, that works you have to activate the discard option on the VM Disk in the Hardware tab.
IDE does not support the discard option.
 

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!