Re: ZFS Root size keeps going down after upgrade to 13.2-release
- Reply: Graham Perrin : "Re: ZFS Root size keeps going down after upgrade to 13.2-release"
- Reply: freebsd_a_vanderzwan.org: "Re: ZFS Root size keeps going down after upgrade to 13.2-release"
- In reply to: Steve O'Hara-Smith : "Re: ZFS Root size keeps going down after upgrade to 13.2-release"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Aug 2023 12:21:23 UTC
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