Date: Sat, 15 Jun 2024 07:48:04 +0200 From: Gordon Bergling <gbe@freebsd.org> To: Craig Leres <leres@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: ZFS space allocation Message-ID: <Zm0rFO-alYE8Ir1B@bastion.ttyv0.de> In-Reply-To: <23cac5c2-13b7-4f3b-a06f-050fed91e36b@freebsd.org> References: <Zm0kHhmby4HNvwnk@lion.ttyv0.de> <23cac5c2-13b7-4f3b-a06f-050fed91e36b@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Craig, On Fri, Jun 14, 2024 at 10:26:57PM -0700, Craig Leres wrote: > On 6/14/24 22:18, Gordon Bergling wrote: > > > I just upgraded a 13.3-RELEASE system to 14.1-RELEASE, which has > > two ZFS pools, z for ZFS-on-root and storage for asorted stuff. While > > a 'pkg upgrade' fails, I discovered something strange with the free > > disk space. > > [...] > > > In general I don't have any clue where the 16.5G are allocated. > > > > Any hints how to get the space back? I have deleted all snapshots, but the available space > > is still 0B. > > I ran into this after upgrading a small vultr vm; I couldn't install one > last large package because there wasn't enough free space. In my case it was > due to a bunch of old boot environment snapshots. I don't know what happens > if you delete the related snapshots without using "bectl" but it still might > be worth looking at BECTL(8) Thanks for the hint on bectl(8). After using 'bectl destroy' for deleting the remaining snapshots / boot environments I got 9GB free space. I don't know why there aren't listed with 'zfs list -t snapshot', but the space is back and I can finish the update to 14.1-RELEASE. --Gordon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Zm0rFO-alYE8Ir1B>