Who needs these silly statfs changes...

Kris Kennaway kris at obsecurity.org
Thu Nov 13 00:54:20 PST 2003


On Thu, Nov 13, 2003 at 06:44:25PM +1100, Peter Jeremy wrote:
> On Wed, Nov 12, 2003 at 06:04:00PM -0800, Kris Kennaway wrote:
> >...my sparc machine reports that my i386 nfs server has 15 exabytes of
> >free space!
> >
> >enigma# df -k
> >Filesystem  1K-blocks     Used             Avail Capacity  Mounted on
> >rot13:/mnt2  56595176 54032286 18014398507517260     0%    /rot13/mnt2
> 
> 18014398507517260 = 2^54 - 1964724.  and 2^54KB == 2^64 bytes.  Is it
> possible that rot13:/mnt2 has negative free space?  (ie it's into the
> 8-10% reserved area).

Yes, that's precisely what it is..the bug is either in df or the
kernel (I suspect the latter, i.e. something in the nfs code).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031113/0643024f/attachment.bin


More information about the freebsd-current mailing list