From nobody Sun Mar 03 17:46:29 2024 X-Original-To: questions@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 4Tnq5635vGz5Byyn for ; Sun, 3 Mar 2024 17:46:34 +0000 (UTC) (envelope-from 4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tnq553t3Sz4bsv for ; Sun, 3 Mar 2024 17:46:33 +0000 (UTC) (envelope-from 4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=nzUBnlkm; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1709487994; x=1712079994; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=yrBLm+KhnZ3gkVfMWb0Jp+J9Aqv2umSR/BPhB8ykKCg=; b=nzUBnlkmuk32W1W1N4tjGy4A+YhzDIgRL2zvjyGOozMjkvm3kAILhXGPJLNCEgzp7P0pZequ9LvUSUSZX0HehcNx7ef3xSkcukuOjzEKOc4IRhOD1EPT6Zik/mWtg61ipA+BjSplaSzmEWPXxlQRvzwPqIdoWksGXa1gYdyopsk= X-Thread-Info: NDI1MC4xMi4xZDUyODAwMDE3ZmUxZjYucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 3 Mar 2024 12:46:31 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 3 Mar 2024 12:46:30 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1rgpuv-0001kQ-IU for questions@freebsd.org; Sun, 03 Mar 2024 17:46:29 +0000 Date: Sun, 3 Mar 2024 17:46:29 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: ZFS pool/filesystem space oddity Message-Id: <20240303174629.3135dde7f6b32499f99eef98@sohara.org> In-Reply-To: <20240303115859.922d34bb2f47b6df9093315a@sohara.org> References: <20240303115859.922d34bb2f47b6df9093315a@sohara.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; DMARC_NA(0.00)[sohara.org]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d52800017fe1f6.42594dc57c3aafb2875ce0308ad5232f@email-od.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[email-od.com:+] X-Rspamd-Queue-Id: 4Tnq553t3Sz4bsv On Sun, 3 Mar 2024 11:58:59 +0000 "Steve O'Hara-Smith" wrote: > Hi, > > My NAS runs a ZFS pool called archive striped over two mirrored > pairs of 4TB drives. It all works fine but I had a space eater recently > and so have been paying closer attention to space reports than normal - > which is why I noticed the oddity that the filesystems in the pool are > reported as having more free space than the pool. > > Why is this ? Which is right ? Turns out to be due to the difference between df -H and df -h. ✓ steve@holdall ~ $ df -H /data Filesystem Size Used Avail Capacity Mounted on archive/data 7.0T 4.0T 3.0T 57% /data ✓ steve@holdall ~ $ df -h /data Filesystem Size Used Avail Capacity Mounted on archive/data 6.4T 3.7T 2.7T 57% /data Sorry for the noise. -- Steve O'Hara-Smith