From owner-freebsd-questions Fri Nov 14 14:06:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA07741 for questions-outgoing; Fri, 14 Nov 1997 14:06:56 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from itsdsv1.enc.edu (fw1.enc.edu [207.95.42.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA07735 for ; Fri, 14 Nov 1997 14:06:52 -0800 (PST) (envelope-from owensc@enc.edu) Received: from itsdsv2.enc.edu (itsdsv2.enc.edu [10.1.1.9]) by itsdsv1.enc.edu (8.7.5/8.7.3) with SMTP id RAA23646; Fri, 14 Nov 1997 17:05:51 -0500 (EST) Date: Fri, 14 Nov 1997 17:05:51 -0500 (EST) From: Charles Owens To: Craig Johnston 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, Craig Johnston wrote: > 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 Thanks! Could you define "rm'd open" ? Thanks, --- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx -------------------------------------------------------------------------