pct fstrim CTIDHEREfstrim: /var/lib/lxc/306/rootfs/: the discard operation is not supported
zfs get all path/to/your/subvol | grep compress) or there could also be sparse files. But please note that the PBS storage usage is not at all the sum of those sizes, it also has compression and also deduplication: https://pbs.proxmox.com/docs/introduction.html#main-features See the Deduplication Factor in your Datastore summaryI'm confused. Does that mean that the lxc has indeed an amount of round about 22GB?Hi,
it could be that ZFS just reports a lower value because of compression (you can check withzfs get all path/to/your/subvol | grep compress) or there could also be sparse files. But please note that the PBS storage usage is not at all the sum of those sizes, it also has compression and also deduplication: https://pbs.proxmox.com/docs/introduction.html#main-features See theDeduplication Factorin your Datastore summary

| VMID | Name | Status | Time | Size | Filename |
|---|---|---|---|---|---|
| xxx | xxxx | ok | 13m 20s | 46.329 GiB | ct/402/2025-11-27T03:00:09Z |
That's a wrong assumption. If the underlying storage is different, the space usage can be different even if it's the same data. Again, could be compression (you haven't provided the output from theSo one of the values has to be wrong:
zfs get command or sparse files (which are not problematic per se!) or something along those lines.
zfs get all | grep compress
....
rpool/data/subvol-402-disk-0 compressratio 1.56x -
rpool/data/subvol-402-disk-0 compression on inherited from rpool
rpool/data/subvol-402-disk-0 refcompressratio 1.56x -
.....
zfs get all rpool/data | grep compressrpool/data compressratio 1.56x -
rpool/data compression on inherited from rpool
rpool/data refcompressratio 1.00x -
Okay, so the Webgui shows the compresed amount of storage used on the pool. Although the amount inside the container is bigger. That's a great benefit.On PBS, a backup is stored as chunks and the calculated size will reflect the sum of these chunks which is the logical size of the data. If you have 1.56x compression for the ZFS dataset, that seems to match up: 53.69 / 1.56 is about 34.4.
We use essential cookies to make this site work, and optional cookies to enhance your experience.