Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 1997 15:31:29 -0600 (CST)
From:      Craig Johnston <caj@praline.no.neosoft.com>
To:        Charles Owens <owensc@enc.edu>
Cc:        questions list FreeBSD <freebsd-questions@FreeBSD.ORG>
Subject:   Re: full file system:  df and du disagree - why?
Message-ID:  <Pine.NEB.3.95.971114152907.13922C-100000@praline.no.neosoft.com>
In-Reply-To: <Pine.BSF.3.95q.971114151850.14249K-100000@itsdsv2.enc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.971114152907.13922C-100000>