From nobody Mon Aug 21 12:21:23 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 4RTs5x6nMYz4qjRD for ; Mon, 21 Aug 2023 12:21:25 +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 4RTs5x1Z25z4cX1 for ; Mon, 21 Aug 2023 12:21:25 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optiplex-networks.com header.s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997 header.b=26blRDUE; spf=pass (mx1.freebsd.org: domain of kayasaman@optiplex-networks.com designates 45.149.190.182 as permitted sender) smtp.mailfrom=kayasaman@optiplex-networks.com; dmarc=pass (policy=quarantine) header.from=optiplex-networks.com Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id 4F3DE15C2E18 for ; Mon, 21 Aug 2023 13:21:24 +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 Y5L8SX66_96D for ; Mon, 21 Aug 2023 13:21:24 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.optiplex-networks.com (Postfix) with ESMTP id EF15015C2E70 for ; Mon, 21 Aug 2023 13:21:23 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.optiplex-networks.com EF15015C2E70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optiplex-networks.com; s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997; t=1692620484; bh=E02y3qJQkFtIwoanAfs8htWj//MbkCgGPdfAo4pRJZs=; h=Message-ID:Date:MIME-Version:To:From; b=26blRDUESUECYjFOGpTZiqirFqiPw8hhQlGRBdbCaiy7czFucnDsC7nwwI5+bAIk6 k4lNCYP6WA4pN0iEI8Xxt5rTVzodatPoQB6D1TL/naoDQ1oIuhA1jiik72at6R+CI5 qkUSquVgpxSz7OiH5wjf9Z3jy6W2oclxdzyrvVlzZ/l4ZgGcGusG+viLjEsjL2KpeK LuLSJHNj7l6zKt17hMwv7qt4yp1EDWBhD2do0mmcLiTnbGPBXr9GkWQG/dtsunNmwp vJbYgLt3LRi1JF/69W4/TcuT4AyHKF9uO8qq5SnbNcQEklszwz24q2CB010l3c7LVJ 4HZsctbOMAnBQ== 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 73p8H_BGhz7k for ; Mon, 21 Aug 2023 13:21:23 +0100 (BST) Received: from [192.168.20.23] (unknown [192.168.20.23]) by mail.optiplex-networks.com (Postfix) with ESMTPSA id DA62115C2E18 for ; Mon, 21 Aug 2023 13:21:23 +0100 (BST) Message-ID: <8dbe0d99-ca94-998d-0c4e-27642db1b11a@optiplex-networks.com> Date: Mon, 21 Aug 2023 13:21:23 +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: questions@freebsd.org References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org> From: Kaya Saman In-Reply-To: <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[optiplex-networks.com,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[optiplex-networks.com:s=AE93A2AC-7F67-11EA-90AE-8A1FE64F6997]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[optiplex-networks.com:+]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; ASN(0.00)[asn:202596, ipnet:45.149.188.0/22, country:GB]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4RTs5x1Z25z4cX1 On 8/21/23 13:01, Steve O'Hara-Smith wrote: > On Mon, 21 Aug 2023 12:46:18 +0100 > Kaya Saman wrote: > >> Yesterday when performing the upgrade I did notice this which happened >> after deleting over 20GB of 'preview' files for one of my webapps in >> /usr/local/www/ which is hosted by the apache2 port. The file system w= as >> at around 97% yet after the 'rm -rf *' command the file system went to >> 100%? > There's probably at least one snapshot of that 20GB. > Hmm.... thanks Steve. How to find it? Just reading through this right now:=20 https://docs.oracle.com/cd/E19253-01/819-5461/gbiqe/index.html issued: zfs list -t snapshot result is this: zroot/ROOT/default@2022-11-28-06:08:26-0=C2=A0=C2=A0 583M=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0 63.2G - zroot/ROOT/default@2022-11-28-06:38:48-0=C2=A0 11.4M=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0 63.1G - zroot/ROOT/default@2022-11-28-07:26:20-0=C2=A0 9.41M=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0 63.2G - zroot/ROOT/default@2023-08-20-22:00:10-0=C2=A0 34.5M=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0 78.2G - zroot/ROOT/default@2023-08-20-22:45:34-0=C2=A0 9.55M=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0 78.3G - Unless there is a snapshot that is on disk but not listed? # zfs list -ro space zroot/ROOT 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=C2=A0=C2=A0=C2=A0=C2=A0 AVAIL=C2=A0=C2=A0 USED USEDSNAP=C2=A0=20 USEDDS=C2=A0 USEDREFRESERV=C2=A0 USEDCHILD zroot/ROOT=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=C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