From nobody Mon Aug 21 14:17:52 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 4RTvhS0tQnz4qr3K for ; Mon, 21 Aug 2023 14:18:00 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from mail.optiplex-networks.com (mail.optiplex-networks.com [45.149.190.182]) (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 4RTvhR71NPz3d9g for ; Mon, 21 Aug 2023 14:17:59 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Authentication-Results: mx1.freebsd.org; none Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id F16CC15C2C73; Mon, 21 Aug 2023 15:17:52 +0100 (BST) Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10032) with ESMTP id 37wtKkBiP10k; Mon, 21 Aug 2023 15:17:52 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id A072715C2E7B; Mon, 21 Aug 2023 15:17:52 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.optiplex-networks.com A072715C2E7B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optiplex-networks.com; s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997; t=1692627472; bh=0eepOOku9PUp3Ljt8AODq7qisjrRAqqmVr394ceXPTc=; h=Message-ID:Date:MIME-Version:To:From; b=LJYPU/SMWO0LRNL2GovHzp6kDs2vv5x9nV6OwILGAB5DCMstV797XZguvpnyOvTf1 dx/xHVxXTTkBEKwPzvNgq2c7WpwUgTVHQkBJuN4L30kvOEc9dPobQvimI6eY2s1iLf gdcFauUuakdr+XAUrGTDdthibNE4BT+lmUxoj9M8quFqGh7aGwT4c4bbRtsC1gzRF5 IkKiZbj+swubyWmRh86gwahYb/OpxBSvAi4jfN+0PXKylmJJF7DrIXYnCVYvIGhXkB oUekIIttpfXsLZ3TZlStszC3trUXdR7pziA2rMU58boGiYpCpD4ybTiv3GcLzMC9VV dZCrap3rBKwPg== X-Virus-Scanned: amavis at mail.optiplex-networks.com Received: from mail.optiplex-networks.com ([127.0.0.1]) by localhost (mail.optiplex-networks.com [127.0.0.1]) (amavis, port 10026) with ESMTP id ChwrB-N22p-5; Mon, 21 Aug 2023 15:17:52 +0100 (BST) Received: from [192.168.20.23] (unknown [192.168.20.23]) by mail.optiplex-networks.com (Postfix) with ESMTPSA id 8B5D015C2C73; Mon, 21 Aug 2023 15:17:52 +0100 (BST) Message-ID: <3cddc02d-eb4c-f402-d073-7e5b98341b8f@optiplex-networks.com> Date: Mon, 21 Aug 2023 15:17:52 +0100 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: ZFS Root size keeps going down after upgrade to 13.2-release Content-Language: en-US To: Olivier Certner , questions@freebsd.org References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <362941E9-C354-4325-A691-6DC44E5F5AB6@vanderzwan.org> <2972906.hHqAuc6tWs@ravel> From: Kaya Saman In-Reply-To: <2972906.hHqAuc6tWs@ravel> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4RTvhR71NPz3d9g 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:202596, ipnet:45.149.188.0/22, country:GB] On 8/21/23 14:51, Olivier Certner wrote: > Hi, > =20 >> 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 seve= ral ones of them, which could be freeable if it is not shared with the da= taset itself. > > Use, e.g., "zfs list -o space " to see the amount of space tak= en 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 a= lso written@, see zfsprops(7)). > > Regards. > Thanks Olivier. This is definitely producing more interesting output now: zfs get written zroot/ROOT/default@2022-11-28-06:08:26-0 NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 PROPERTY=C2=A0 VALUE SOURCE zroot/ROOT/default@2022-11-28-06:08:26-0=C2=A0 written=C2=A0=C2=A0 63.2G=C2= =A0=C2=A0=C2=A0 - zfs get written zroot/ROOT/default@2022-11-28-06:38:48-0 NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 PROPERTY=C2=A0 VALUE SOURCE zroot/ROOT/default@2022-11-28-06:38:48-0=C2=A0 written=C2=A0=C2=A0 524M=C2= =A0=C2=A0=C2=A0=C2=A0 - zfs get written zroot/ROOT/default@2023-08-20-22:00:10-0 NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 PROPERTY=C2=A0 VALUE SOURCE zroot/ROOT/default@2023-08-20-22:00:10-0=C2=A0 written=C2=A0=C2=A0 23.0G=C2= =A0=C2=A0=C2=A0 - zfs get written zroot/ROOT/default@2023-08-20-22:45:34-0 NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 PROPERTY=C2=A0 VALUE SOURCE zroot/ROOT/default@2023-08-20-22:45:34-0=C2=A0 written=C2=A0=C2=A0 114M=C2= =A0=C2=A0=C2=A0=C2=A0 - Maybe, would it be worth clearing the 2022 snapshots, or perhaps all of=20 the snapshots?