From nobody Sat Jun 15 05:48:04 2024 X-Original-To: freebsd-stable@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 4W1QDB3bLrz5NMdW for ; Sat, 15 Jun 2024 05:48:10 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W1QDB2xJpz4Q7P; Sat, 15 Jun 2024 05:48:10 +0000 (UTC) (envelope-from gbe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718430490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JNEezCE2N7hR9gLy7XLC3PFWJLblFlqhiruHyVJmlV0=; b=Yt1HO9zJ9RDtfQxtmz6c6k9wjmTAJGU6S/OSQrROwdJ27I0sRxRejm6vuOiT2e9bT56yUl kCGxKuWqFuZAeAP+b8A7w1cV0n7nYWQcsBIOA9H55LEQq+SA1pnkS8CJMgKNiZlR7lS+r8 sZjcZzWQPMLGnS3WVXHn1UE3YwsGuXtPyzI+1nUUeV8i/ziPq0/q3bPhxB7lXE9b+jyUqA GiY2vro7mMrxkEZQDp9hLOnkkPCmKkSSKDFsTwNerhdH3JOF8xp7hc7dtzZP5/RWePIFlD n1A/dXEnp6HBVV50ghvqWRzW/09wOoFZPVxZn7eNmCq1Z7bKtQdjYJidNJr4aA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718430490; a=rsa-sha256; cv=none; b=JMg2fgrhDd7CbeYCN4/XGNLMdnUsldQpyLUawthoRjGl7IhY0gDcGRbMQdJfNJAl8QFu15 ggfD84yJ0TrxEO2iD8qvncl2lM3Ny35ulxy+UhHXuz+6QKeEPKMRl3O1dBzHe6d0DbvEDd IId7A0Z9VDt8Hc1w5MyKCu4Vuqe9JKLk9C9wAQmzU7/zt1f2wA788HA2vhTC9e38s+JnUR fwTpsBtsNFeklcyqu6cv3gF1NsXBA8JpbmC04xz153zuv0uy3PBX6c0hqxkh6ZlmqtpqV5 Xf0KffMDlRC+hBqm8vMBGCju4hNhr7IiOgIXmKy0b8LSlO6vJbZ21ov6A/0oFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718430490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JNEezCE2N7hR9gLy7XLC3PFWJLblFlqhiruHyVJmlV0=; b=W37y0PysW3Uk6+lj6tUNLXUHH76TRJ65SwM8jvshFzG5WHKXqsH/g5If3GMLXyWg7S0TN+ XVHrW6IDgfzIsOJLkjg+zQlXdta/1O4T5u93w8SMn1DeJTSm8ujT23/PkgPujiLj/NAqEC D0ErvVDz/gEkyAh6JK/6i3L8i3HVlGXgtUCu8JcMyV8/VonLxCdx9CmOsF/yMITwJn17vF +H0Gw8xL50BRytBlGhQj3jT4z+efmLwR5j0a3bH2Z+4VNc3I6ZCL8pducmtZ9YgfiVYako W+/P0XU3nnaterxeEZBbTeSdtX0qrVsH+b6sgT1qMABMKTWevDOPpKapRQquTg== Received: from localhost (p200300cb870c90aff8ce98512cfc4c9e.dip0.t-ipconnect.de [IPv6:2003:cb:870c:90af:f8ce:9851:2cfc:4c9e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gbe) by smtp.freebsd.org (Postfix) with ESMTPSA id 4W1QD96CJ3zFxl; Sat, 15 Jun 2024 05:48:09 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Sat, 15 Jun 2024 07:48:04 +0200 From: Gordon Bergling To: Craig Leres Cc: freebsd-stable@freebsd.org Subject: Re: ZFS space allocation Message-ID: References: <23cac5c2-13b7-4f3b-a06f-050fed91e36b@freebsd.org> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23cac5c2-13b7-4f3b-a06f-050fed91e36b@freebsd.org> X-Url: X-Operating-System: FreeBSD 14.0-RELEASE-p6 amd64 X-Host-Uptime: 7:43AM up 2 days, 14:05, 3 users, load averages: 3.98, 4.02, 3.99 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