Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2023 15:51:26 +0200
From:      Olivier Certner <olivier.freebsd@free.fr>
To:        questions@freebsd.org
Cc:        Kaya Saman <kayasaman@optiplex-networks.com>
Subject:   Re: ZFS Root size keeps going down after upgrade to 13.2-release
Message-ID:  <2972906.hHqAuc6tWs@ravel>
In-Reply-To: <ff0c28e6-154e-ca74-e8f0-1f36019f8617@optiplex-networks.com>
References:  <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <362941E9-C354-4325-A691-6DC44E5F5AB6@vanderzwan.org> <ff0c28e6-154e-ca74-e8f0-1f36019f8617@optiplex-networks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
 
> There doesn't seem to be anything indicative of that space being used up?

Unfortunately, ZFS only reports in USED for snapshots the space that is *unique* to the corresponding snapshot, but not the space common to several ones of them, which could be freeable if it is not shared with the dataset itself.

Use, e.g., "zfs list -o space <dataset>" to see the amount of space taken by snapshots (USEDSNAP column).

For something more granular, you can also use "zfs get written <snapshot>" to see the amount of new data since the previous snapshot (there is also written@<snapshot>, see zfsprops(7)).

Regards.

-- 
Olivier Certner





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2972906.hHqAuc6tWs>