ZFS-Storage is getting smaller

TechLineX

Active Member
Mar 2, 2015
213
5
38
Hello,

it seems, that our zfs-pool is getting smaller and smaller.. How can the total size can get smaller?

8aSee.png
 
because we calculate the total for a given zfs storage as "available + used", but available is not fixed if the zfs storage is configured to use a dataset and not a pool:

man zfs said:
available

The amount of space available to the dataset and all its children, assuming that there is no other
activity in the pool. Because space is shared within a pool, availability can be limited by any
number of factors, including physical pool size, quotas, reservations, or other datasets within
the pool.

so if the usage in other datasets of the same people varies, then the available space for this dataset also varies (and the total space of the storage varies as well). it might make sense to check for a set quota as well and use that instead if applicable, then you could set your own "total space" limit for a dataset used as ZFS storage