From owner-freebsd-questions Fri Feb 28 11:17:21 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14DE937B4A6 for ; Fri, 28 Feb 2003 11:15:43 -0800 (PST) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C131944116 for ; Fri, 28 Feb 2003 10:17:47 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <2003022818174705100ip0mhe>; Fri, 28 Feb 2003 18:17:47 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.7/8.12.7) with ESMTP id h1SIHk0l074280 for ; Fri, 28 Feb 2003 13:17:46 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.7/8.12.6/Submit) id h1SIHkeQ074277; Fri, 28 Feb 2003 13:17:46 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: df outpout inconsistancy on a large filesystem... References: <200302280137.59260.plosher+freebsd.org@plosh.net> <20030228131659.GD23502@happy-idiot-talk.infracaninophi> From: Lowell Gilbert Date: 28 Feb 2003 13:17:46 -0500 In-Reply-To: <20030228131659.GD23502@happy-idiot-talk.infracaninophi> Message-ID: <44r89sjmlx.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Seaman writes: > On Fri, Feb 28, 2003 at 01:38:49AM -0800, Peter Losher wrote: > > So I have a 440GB partition set up on a server I am building, and I am > > experiencing a problem where I am getting inconsistent df output for that > > partition: > > > > # du -k /disk1 > > 960552 /disk1 > > > > #df -k /disk1 > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/twed0s1f 441694392 1256 406357592 0% /disk1 > > > > As you can see, the numbers don't match. Has anyone else experienced this? > > (the other partitions on the system are reporting normally) Just for > > completeness sake, this partition was newfs'ed with a 8k filesize, and a > > 64k blocksize. Also softupdates is active on this partition. The > > system/disk/partition looks to be working fine, just the df output is > > 'disturbing'. :( > > That's a FAQ: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF > > Cheers, > > Matthew I don't know about that; it would explain the situation if du(1) were giving *smaller* numbers than df(1), but bigger doesn't really make sense. Still, I wonder if unmounting would clear it; I'd definitely advise running fsck(8) on it, and it would need to be unmounted (or mounted read-only) for that. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message