[PVE-User] Creating VM with thin provisioning (please help me understand it).

Mark Adams mark at openvs.co.uk
Thu Mar 5 23:27:46 CET 2020


Atila - just to follow up on Giannis discard notes, depending on what OS
and filesystems you use inside of your VMs, you may need to run fstrim,
mount with different options, or run specific commands (ie zpool trim for
zfs) to get it all working correctly.

Regards,
Mark

On Thu, 5 Mar 2020, 22:22 Atila Vasconcelos, <atilav at lightspeed.ca> wrote:

> WOW!!!!!
>
> I was searching for this piece of information for a long long time!!!
>
> Thank you Gianni, you changed my life! For real! Thanks a lot!
>
>
> ABV
>
> On 2020-03-05 1:32 p.m., Gianni Milo wrote:
> >
> > One last thing, normally the guest OS won't release the occupied disk
> space
> > on the host when you delete data within it. For example, let's say that
> you
> > have a VM which is using 30GB of data and then you delete 10GB worth of
> > data. That 10GB of space won't be released from the VM ThinLV volume,
> > unless you use virtio-scsi as storage controller for the VM and the
> discard
> > option is enabled.
> >
> > More on LVM:
> >
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/logical_volume_manager_administration/index
> >
> >
> > G.
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>


More information about the pve-user mailing list