From nobody Mon Aug 21 13:51:26 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RTv605Wv4z4qnp9 for ; Mon, 21 Aug 2023 13:51:36 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RTv603DgDz3Wr7 for ; Mon, 21 Aug 2023 13:51:36 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Authentication-Results: mx1.freebsd.org; none Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id F1EA1200417; Mon, 21 Aug 2023 15:51:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1692625888; bh=f3Np9xNRJSiNNUlDUfqMLCXFdUyah+bYV3zAYs1+yOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DqR/rCkcyRg0jkWk9O914tHSuXfKEyA7V8l3ukzDyLH7qcI1L99cbzo9aZuHeYYHY WBn4bMj16/nT6TJksILSWcrwjXE53tipWJeGOvoKewjENsRfahrH30NJwF2a0bDPg6 tldpp1b4t3t3TaWMkKvC0pNS3Ow6BGTjZyV2Dp63R8ePy1f4ra/glci/P8ZBF+KOQ3 hjLtvOGV+EAQQylUsnahsfhhJBIPuNtxIRx9Tg98ziPz1LHTThNz2GP+dgzj95wgTi yCzhhm8gg2AhCdtBEJLbI/hZRoBECN4p9MMrXAK+PNMwuaYg4ajucyUTenbZmDgJCy lEKOQ2mjTnqug== From: Olivier Certner To: questions@freebsd.org Cc: Kaya Saman Subject: Re: ZFS Root size keeps going down after upgrade to 13.2-release Date: Mon, 21 Aug 2023 15:51:26 +0200 Message-ID: <2972906.hHqAuc6tWs@ravel> In-Reply-To: References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <362941E9-C354-4325-A691-6DC44E5F5AB6@vanderzwan.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4RTv603DgDz3Wr7 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR] 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 " to see the amount of space taken by snapshots (USEDSNAP column). For something more granular, you can also use "zfs get written " to see the amount of new data since the previous snapshot (there is also written@, see zfsprops(7)). Regards. -- Olivier Certner