Date: Mon, 21 Aug 2023 13:21:23 +0100 From: Kaya Saman <kayasaman@optiplex-networks.com> To: questions@freebsd.org Subject: Re: ZFS Root size keeps going down after upgrade to 13.2-release Message-ID: <8dbe0d99-ca94-998d-0c4e-27642db1b11a@optiplex-networks.com> In-Reply-To: <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org> References: <8f3b445d-3f55-f359-ce5e-0d86c57755fe@optiplex-networks.com> <20230821130132.50aeb96b51b2b71efa14cb94@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/21/23 13:01, Steve O'Hara-Smith wrote: > On Mon, 21 Aug 2023 12:46:18 +0100 > Kaya Saman <kayasaman@optiplex-networks.com> 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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 720M=C2=A0 88.5G 0B=C2=A0=C2=A0=C2=A0=C2=A0=20 88K=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 88.5G zroot/ROOT/13.1-RELEASE-p5_2023-08-20_220010=C2=A0=C2=A0 720M=C2=A0=C2=A0= =C2=A0=C2=A0 8K 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 8K=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0B zroot/ROOT/13.2-RELEASE-p2_2023-08-20_224534=C2=A0=C2=A0 720M=C2=A0=C2=A0= =C2=A0=C2=A0 8K 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 8K=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0B zroot/ROOT/default=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 720M=C2=A0 88.5G 52.0G=C2=A0=C2=A0=20 36.5G=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 0B=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0B I think 'default' is the snapshot in use currently. Regards, Kaya
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8dbe0d99-ca94-998d-0c4e-27642db1b11a>