fun with df..

Robert Watson rwatson at freebsd.org
Mon Jan 12 12:33:48 PST 2004


On Mon, 12 Jan 2004, Wilko Bulte wrote:

> My laptop just presented me with a funny one:
> 
> wkb at chuck ~: df
> Filesystem  1M-blocks Used             Avail Capacity  Mounted on
> /dev/ad0s2g      4032 3842 36028797018963835   104%    /usr
> /dev/ad0s2e        62    6                51    12%    /var
> 
> ....
> 
> wkb at chuck ~: df -k
> Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
> /dev/ad0s2g   4129310 3934638 -135672   104%    /usr
> 
> Oldish 5.x- (Dec 17)

Two things come to mind -- Kirk's 64-bit stat change and inconsistent
kernel/userspace, and the soft updates code that keeps track of the
logically available free space during the period where files have been
"deleted" but aren't yet free.  Can you rule out the first of these? 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Senior Research Scientist, McAfee Research




More information about the freebsd-current mailing list