From owner-freebsd-stable Fri Sep 13 10:13:13 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ABC537B400 for ; Fri, 13 Sep 2002 10:13:06 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8429143E65 for ; Fri, 13 Sep 2002 10:13:04 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g8DHD2wu032089; Fri, 13 Sep 2002 10:13:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g8DHD2Cx032088; Fri, 13 Sep 2002 10:13:02 -0700 Date: Fri, 13 Sep 2002 10:13:02 -0700 From: Brooks Davis To: Daniel Frazier Cc: freebsd-stable@FreeBSD.ORG Subject: Re: bug in df? Message-ID: <20020913101302.A31470@Odin.AC.HMC.Edu> References: <3D820AC3.3020502@magpage.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D820AC3.3020502@magpage.com>; from dfrazier@magpage.com on Fri, Sep 13, 2002 at 11:56:51AM -0400 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 13, 2002 at 11:56:51AM -0400, Daniel Frazier wrote: > greetz all, >=20 > we brought our production mail server up to stable the other day and > I've noticed something wierd. df is inaccurately reporting the disk > space utilization on the /usr filesystem. >=20 > trinity:~# uname -a > FreeBSD trinity.magpage.com 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: > Fri Sep 6 02:10:09 EDT 2002 mike@trinity.magpage.com:/usr/obj/us > r/src/sys/IPF2 i386 >=20 > trinity:/usr# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/amrd0s1a 484M 97M 349M 22% / > /dev/amrd0s1f 9.5G 8.6G 155M 98% /usr > /dev/amrd0s1e 24G 8.2G 14G 38% /usr/local > /dev/amrd0s1g 31G 22G 6.2G 78% /var > procfs 4.0K 4.0K 0B 100% /proc > alaska:/home1 27G 18G 7.0G 72% /home1 >=20 > trinity:/usr# du -h -d 1 > 8.2G ./local > 11M ./bin > 7.8M ./include > 29M ./lib > 9.7M ./libdata > 17M ./libexec > 6.5M ./sbin > 69M ./share > 296M ./src > 380M ./ports > 1.0K ./compat > 1.5M ./games > 315M ./obj > 2.4M ./home > 21M ./sup > 12M ./tmp > 3.0K ./X11R6 > 39K ./doc > 9.4G . >=20 > as you can see /usr's usage is reported as being at 8.6G(98%), however > du shows 9.4G, 8.2 of which is in the /usr/local filesystem. What > gives? Is this a bug in df? or a bug in stable maybe? I suspect if you unmount /usr/local, you'll find ~7.4GB under /usr/local. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9ghydXY6L6fI4GtQRAiDSAKDiAMmOEI2gR7HE84mS6v1GDv445QCcCU81 PSBoNElJ5iPhsjwdC1wOxCw= =029E -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message