From nobody Sat Jun 15 05:18:22 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 4W1PYv1TClz5NKkJ for ; Sat, 15 Jun 2024 05:18:27 +0000 (UTC) (envelope-from gbe@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4W1PYv0ttdz4LHS for ; Sat, 15 Jun 2024 05:18:27 +0000 (UTC) (envelope-from gbe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718428707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=23MW100VwFEc0JpbkmDMZFc63VmSRqYCEqtsVPPm784=; b=XvkqlDQVqg93nxsMJvO6wjFjHdqIk3pToHbLTBVJPgNHV2Z4S9Y3WSCphv6EUt1+8NplS6 0UWDL49ZZs7cUW8ZtrqeG8JefzMInjOEPZK67Hbja2Z/FOiPRYPH2Ep40bE0Oqtkt1//Hp vP3Ftj4pGUbwJUOV6LIr/ZKJH2v9Df3xDxNDYgwGiugUEXpIOrKzKPK3uDqAKyVvoaBY3W nUmitxd3aP5pq7cbIILvlqLMv1U5WqC7Sht544Qh3bxN9Zv2E+fMdtSi7icab550Byq9E9 FTq+GI1LGqSaN7BZE6HybpjWi/rUcbmDTUXzzOdYUE4oAx7NOViLupuvFfPSuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718428707; a=rsa-sha256; cv=none; b=QKvdvJSQuISxtaeRiAihBQe9YRDsOeAEFzf6npVqYYpyzO3oJm/3/i4gv5/wHHQFnBE5dc JD3jIJ7Qs9Iu5Ol3tpLIEXKub1DILLVYqPlovkh3B1AcOx5bGUmQBsCBPhzin4ickAOtF1 bmMvV/H5v+it6WVLO8cwzb4Rxll5wGprRaGmt6VllbwD3Xa4bxTvT9F9E8RAh10ea13/Bc DrM5VNNC5cANZH0Frmxyc75EtostJzOuKmJMG/HtL+9GFYpW3sfHiDGLA00uKNoiCDiQ4C h3mT6CMgqHrL3GROJbhxiEnBmvrkAarF9yhV+QXxHOwldN35IKBynPVm3amQeA== 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=1718428707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=23MW100VwFEc0JpbkmDMZFc63VmSRqYCEqtsVPPm784=; b=sTHxi5K2Bk7GVPvx0B+PuwrKfAfh3lVoO7Y2/DR1uqm2Ynx9XCxebkGcybCmCZj7vOVlne vhhc3Q7uem5cmHlmvF/W1MiaMuL3MY+HA4AQWXzVY/QKCERi/77uPFxtMVCdDKwRNmp2Nq 0zB/3rrMxOYmEQCeTDZdV+jSeauIr70ZPugS4RDmhx5I51VAkkjPY/dLIuyUQP6zSki8We moSj5MRN6imjw93zjllA/Z9xJZB5kKyLJAIWeYevFbcqUKsjBabQehDc1OBskk9UkeZOm9 bihtsUG+vlBDLNMwIt4LKrZ2mdl0bdZgneURwuFBijnvouEsyIdcDbfp11bUCA== Received: from localhost (p200300cb870c90af892404a05ecf3d8e.dip0.t-ipconnect.de [IPv6:2003:cb:870c:90af:8924:4a0:5ecf:3d8e]) (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 4W1PYt4RpzzFSs for ; Sat, 15 Jun 2024 05:18:26 +0000 (UTC) (envelope-from gbe@freebsd.org) Date: Sat, 15 Jun 2024 07:18:22 +0200 From: Gordon Bergling To: freebsd-stable@freebsd.org Subject: ZFS space allocation Message-ID: 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 X-Url: X-Operating-System: FreeBSD 13.3-STABLE amd64 X-Host-Uptime: 7:16AM up 2 days, 13:38, 1 user, load averages: 0.50, 0.35, 0.28 Hi, 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. 'zpool list' reports NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT storage 9.50G 7.90G 1.60G - - 75% 83% 1.00x ONLINE - z 17G 16.5G 532M - - 88% 96% 1.00x ONLINE - but 'df -hi' reports Filesystem Size Used Avail Capacity iused ifree %iused Mounted on z/ROOT/default 3.7G 3.7G 0B 100% 170k 0 100% / devfs 1.0K 0B 1.0K 0% 0 0 - /dev tmpfs 256M 4.0K 256M 0% 1 918k 0% /tmp fdescfs 1.0K 0B 1.0K 0% 4 114k 0% /dev/fd procfs 8.0K 0B 8.0K 0% 0 0 - /proc z/home 180M 180M 0B 100% 445 0 100% /home z/tmp 128K 128K 0B 100% 13 0 100% /tmp z 96K 96K 0B 100% 7 0 100% /z storage 1.3G 96K 1.3G 0% 9 2.7M 0% /storage z/usr/ports 96K 96K 0B 100% 7 0 100% /usr/ports z/var/log 4.8M 4.8M 0B 100% 99 0 100% /var/log z/var/audit 2.0M 2.0M 0B 100% 27 0 100% /var/audit z/var/crash 96K 96K 0B 100% 8 0 100% /var/crash z/var/tmp 104K 104K 0B 100% 14 0 100% /var/tmp z/var/mail 140K 140K 0B 100% 18 0 100% /var/mail 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. --Gordon