From owner-freebsd-questions Fri Nov 14 13:31:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05238 for questions-outgoing; Fri, 14 Nov 1997 13:31:44 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from praline.no.neosoft.com (praline.no.NeoSoft.COM [206.27.160.253]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05223 for ; Fri, 14 Nov 1997 13:31:41 -0800 (PST) (envelope-from caj@praline.no.neosoft.com) Received: from localhost (caj@localhost) by praline.no.neosoft.com (8.8.8/8.8.3) with SMTP id PAA15737; Fri, 14 Nov 1997 15:31:29 -0600 (CST) Date: Fri, 14 Nov 1997 15:31:29 -0600 (CST) From: Craig Johnston To: Charles Owens cc: questions list FreeBSD Subject: Re: full file system: df and du disagree - why? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 14 Nov 1997, Charles Owens wrote: > A 'du -ks /var' showed that only 11 out of 60 megs were in use, so I > _knew_ that there was plenty of free space. But, df didn't think so, and > the kernel apparantly didn't think so either, as writes to /var still > produced a filesystem full error. Some process has a file that has been rm'ed open, likely. The file is not actually deleted until the last process that has it open closes it. Du will report the space as unused, df will report correctly. Craig A. Johnston, Applications Engineer, NeoSoft, Inc. caj@neosoft.com phone:(504)539 9235 fax:(504)539 9236