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 was >> 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: 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 583M - 63.2G - zroot/ROOT/default@2022-11-28-06:38:48-0 11.4M - 63.1G - zroot/ROOT/default@2022-11-28-07:26:20-0 9.41M - 63.2G - zroot/ROOT/default@2023-08-20-22:00:10-0 34.5M - 78.2G - zroot/ROOT/default@2023-08-20-22:45:34-0 9.55M - 78.3G - Unless there is a snapshot that is on disk but not listed? # zfs list -ro space zroot/ROOT NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD zroot/ROOT 720M 88.5G 0B 88K 0B 88.5G zroot/ROOT/13.1-RELEASE-p5_2023-08-20_220010 720M 8K 0B 8K 0B 0B zroot/ROOT/13.2-RELEASE-p2_2023-08-20_224534 720M 8K 0B 8K 0B 0B zroot/ROOT/default 720M 88.5G 52.0G 36.5G 0B 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>
