all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Analysis of free space...
@ 2025-09-17 13:27 Marco Gaiarin
  2025-09-17 23:45 ` Gilou
  2025-09-18 13:44 ` Alwin Antreich via pve-user
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Gaiarin @ 2025-09-17 13:27 UTC (permalink / raw)
  To: pve-user


We have an PVE8 server, on clustered, with 66TB of disk storage and (for
now) a single VM; volumes have all 'discard' option enabled, and the VM
(RH8) support and have trim enabled.

We moved around some data between volumes, and now we have 20TB used in the
VM, and 56TB used on the zfs pool that host that volumes.

Clearly we have done some manual 'trim' to be sure, but nothing changed (or,
better, some space get reclaimed but not what we expect).


There's some tool/methodology to find where data get stuck, and how?


Thanks.

-- 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] Analysis of free space...
  2025-09-17 13:27 [PVE-User] Analysis of free space Marco Gaiarin
@ 2025-09-17 23:45 ` Gilou
  2025-09-22 14:14   ` Marco Gaiarin
  2025-09-22 14:17   ` Marco Gaiarin
  2025-09-18 13:44 ` Alwin Antreich via pve-user
  1 sibling, 2 replies; 6+ messages in thread
From: Gilou @ 2025-09-17 23:45 UTC (permalink / raw)
  To: pve-user

Le 17/09/2025 à 15:27, Marco Gaiarin a écrit :
> 
> We have an PVE8 server, on clustered, with 66TB of disk storage and (for
> now) a single VM; volumes have all 'discard' option enabled, and the VM
> (RH8) support and have trim enabled.
> 
> We moved around some data between volumes, and now we have 20TB used in the
> VM, and 56TB used on the zfs pool that host that volumes.
> 
> Clearly we have done some manual 'trim' to be sure, but nothing changed (or,
> better, some space get reclaimed but not what we expect).
> 
> 
> There's some tool/methodology to find where data get stuck, and how?
Hi,

What's the underlying storage? local zfs?
Does it have thin provisioning / sparse enabled?

You can check that forum post: 
https://forum.proxmox.com/threads/zfs-enable-thin-provisioning.41549/

Also inside the VM, make sure that all the stack is discard aware, LVM, 
filesystem and all..

Regards,
Gilou

_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] Analysis of free space...
  2025-09-17 13:27 [PVE-User] Analysis of free space Marco Gaiarin
  2025-09-17 23:45 ` Gilou
@ 2025-09-18 13:44 ` Alwin Antreich via pve-user
  2025-09-22 14:16   ` Marco Gaiarin
  1 sibling, 1 reply; 6+ messages in thread
From: Alwin Antreich via pve-user @ 2025-09-18 13:44 UTC (permalink / raw)
  To: Proxmox VE user list; +Cc: Alwin Antreich

[-- Attachment #1: Type: message/rfc822, Size: 4612 bytes --]

From: "Alwin Antreich" <alwin@antreich.com>
To: "Proxmox VE user list" <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Analysis of free space...
Date: Thu, 18 Sep 2025 13:44:04 +0000
Message-ID: <63783ca5c3f39fab913e615393ceea9c55bf147e@antreich.com>

Hi Marco,


September 17, 2025 at 3:27 PM, "Marco Gaiarin" <gaio@lilliput.linux.it mailto:gaio@lilliput.linux.it?to=%22Marco%20Gaiarin%22%20%3Cgaio%40lilliput.linux.it%3E > wrote:


> 
> We have an PVE8 server, on clustered, with 66TB of disk storage and (for
> now) a single VM; volumes have all 'discard' option enabled, and the VM
> (RH8) support and have trim enabled.
> 
> We moved around some data between volumes, and now we have 20TB used in the
> VM, and 56TB used on the zfs pool that host that volumes.
> 
> Clearly we have done some manual 'trim' to be sure, but nothing changed (or,
> better, some space get reclaimed but not what we expect).
> 
> There's some tool/methodology to find where data get stuck, and how?
> 
Are you running EXT4 on the guest?
https://forum.proxmox.com/threads/help-with-trim-on-virtio-scsi-single.123819/post-542552

Cheers,
Alwin

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] Analysis of free space...
  2025-09-17 23:45 ` Gilou
@ 2025-09-22 14:14   ` Marco Gaiarin
  2025-09-22 14:17   ` Marco Gaiarin
  1 sibling, 0 replies; 6+ messages in thread
From: Marco Gaiarin @ 2025-09-22 14:14 UTC (permalink / raw)
  To: Gilou; +Cc: pve-user

Mandi! Gilou
  In chel di` si favelave...

> What's the underlying storage? local zfs?
> Does it have thin provisioning / sparse enabled?

Yes, storage is ZFS, and 'Thin provision' is enabled.


> Also inside the VM, make sure that all the stack is discard aware, LVM, 
> filesystem and all..

VM is an RH8, so pretty new, so have full support for discard. And, as just
stated, trimming effectively free some TB of data, but not what we expect...

Effectively the VM use LVM, but looking around seems to me that discard is
'transparent' against LVM, eg, there's no need/way to 'enable' or 'disable'
it... if it is supported by the underlying storage...

-- 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] Analysis of free space...
  2025-09-18 13:44 ` Alwin Antreich via pve-user
@ 2025-09-22 14:16   ` Marco Gaiarin
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Gaiarin @ 2025-09-22 14:16 UTC (permalink / raw)
  To: Alwin Antreich via pve-user; +Cc: pve-user

Mandi! Alwin Antreich via pve-user
  In chel di` si favelave...

> Are you running EXT4 on the guest?
> https://forum.proxmox.com/threads/help-with-trim-on-virtio-scsi-single.123819/post-542552

I think is XFS. I'll check.

-- 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] Analysis of free space...
  2025-09-17 23:45 ` Gilou
  2025-09-22 14:14   ` Marco Gaiarin
@ 2025-09-22 14:17   ` Marco Gaiarin
  1 sibling, 0 replies; 6+ messages in thread
From: Marco Gaiarin @ 2025-09-22 14:17 UTC (permalink / raw)
  To: Gilou; +Cc: pve-user

Mandi! Gilou
  In chel di` si favelave...

> You can check that forum post: 
> https://forum.proxmox.com/threads/zfs-enable-thin-provisioning.41549/

Uh, wait... effectively we forgot to enable 'discard' on volumes, and we have
enabled afterward (but rebooted the VM).

I'll check refreservation property and report back.

-- 



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-22 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 13:27 [PVE-User] Analysis of free space Marco Gaiarin
2025-09-17 23:45 ` Gilou
2025-09-22 14:14   ` Marco Gaiarin
2025-09-22 14:17   ` Marco Gaiarin
2025-09-18 13:44 ` Alwin Antreich via pve-user
2025-09-22 14:16   ` Marco Gaiarin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal