From nobody Sat Oct 26 06:52:13 2024 X-Original-To: freebsd-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 4Xb9Ls3Vqxz5bdtF for ; Sat, 26 Oct 2024 06:52:21 +0000 (UTC) (envelope-from grog@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xb9Ls0fG7z4tXl; Sat, 26 Oct 2024 06:52:21 +0000 (UTC) (envelope-from grog@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729925541; 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=BEaaQPcshc7wd4QDfORGQ7RWs4LbwFafPesuDJT4kyw=; b=F/svBjnM8hOBfDAOPtCqsE7M/MsWNBPz+oB2bnN3Qv17UHDCp/8DEOAjscSZysRnVwkOP+ 5DEVPwvp9rxucze0jf6pJLLxsm4uT91nwS3YB0xkIHSvJLtKhhTlC9p3AwGJQ0iMl0JMI8 tBUE/+h9Dk9OIR8Ug813lsFApV83JA8DUodGkygjM0A1UHu1LbhPzrvpgFNZzQ5rxIuabF 6r7i4P+JBiZUfZNsPyMEz0QbnSVra4nbXpWEk9uk0kjBDypgK9aUT6S1C8ruimhK3dde7X 7ThERsfC+Rl7WlSCxfw8JoTe2fWN4gCB6wx8DdSt0bbxpjvUhtDxLyAG+OfEzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729925541; 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=BEaaQPcshc7wd4QDfORGQ7RWs4LbwFafPesuDJT4kyw=; b=nZcto+s67ohmGlRt/tkW0zV6HQ9rGfFG3eYnwr2Yu/pg6P09JZo2bUWVsS4LRqQ5S9bJSK D1jRETdmOKLhl+LK/9qFuYfXX3kseuBa5z7Pqot/xAyRBJ4nSuiiRxPvOsrg8A156x2PUE 8EUtcETXKAgJszoSpe3RaxnkBSHYe2U9fwWCJ/RsgHgZFEEoiFSR9gcB5bMJIU3gysCxfr Ds5kS0izQn0gqchDvAd0T+6HAlr1RJT24syIKdwdi+jdfF0SUZPFy0xdIR6n/89cKAURJe e8av/ex4GcSqpE8/ckfw4xJcxbLYZxio6Bf8oaXfBnf11pCWVRLh89RKX9FWqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729925541; a=rsa-sha256; cv=none; b=qxR0Op/1thte8WSUNPhofbET2iZoW1JI8BNL75j1h3uWtT82OgDGR0zLx0ZJQvRO2K7uk9 IP1DZi7rTQvZ1sP0lTXefz25wHK/kJAswwEWFNFZvVFsmni/6eFRbzuSWuhkTkE/GdB0x+ shC4Dxc1UQjehYEGlMA8Rop8kJyPnykUO4iy0mUxl5K4EYdECaM/8rug5jlAq6Yqzjk95w UlVNR3NuABWe+tJf3XHYg6cQA5BWZnvF7mLUASIMpaB5uG1/RcdHQttBGjASA0ijwYptJ1 x7RvIiBUUpZY1c/KAATOMonNGfJgPy2rBJgpoYXmtFjFh8G7wVL6g1Fjbasj4A== Received: from hydra.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) (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 did not present a certificate) (Authenticated sender: grog/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Xb9Lq6wKTz1M66; Sat, 26 Oct 2024 06:52:19 +0000 (UTC) (envelope-from grog@freebsd.org) Date: Sat, 26 Oct 2024 17:52:13 +1100 From: Greg 'groggy' Lehey To: Matthias Apitz Cc: freebsd-questions@freebsd.org Subject: Re: filesystem full showing -29G Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XuQwxVG1SLvQxql6" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 --XuQwxVG1SLvQxql6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 26 October 2024 at 8:12:46 +0200, Matthias Apitz wrote: > Hello, > > I've a bunch of external USB disks to where I copy every month the > following three files, last on September 20: > > ... > > The yesterday's copy ended up with no space left on device. The curious > thing is that it shows -29G: > > # df -kh /mnt/backups/ > Filesystem Size Used Avail Capacity Mounted on > /dev/da0p4 652G 629G -29G 105% /mnt > > How is this possible? This is a feature, not a bug. By default, UFS only uses 90% odd of available disk space. The remainder is available only to root. You can change this value by using the tunefs -m, which specifies how much to leave free. See the man page for mroe detail. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --XuQwxVG1SLvQxql6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZxyRnQAKCRAi5vKQUHpC I9BMAJ4kzAXVEuFe7E8RQcN0IumLllZKAwCeJDAEcRYYs2d3ROU31cezMwVO/+M= =NU2J -----END PGP SIGNATURE----- --XuQwxVG1SLvQxql6--