NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Free space inconsistency with df / du



On Thu, Mar 27, 2008 at 8:07 AM, Jonathan Schleifer
<js-netbsd-users%webkeks.org@localhost> wrote:
>  Could anybody explain that to me? Does it mean I have file system
>  errors and that the number of free blocks is wrong or something like
>  this? Should I shut down that machine and do fsck? I want to avoid
>  shutting it down if possible because it's a server (same for
>  remounting / ro and doing fsck).

Could be something wrong.

But it could also be this strangeness that df has where it can show  a
negative value, and that's OK. I've never done any research on this,
or read the code for it, but I've heard anecdotally that this happens
to give you a little bit of a safety net when it looks like your disk
is filling up.

It would be nice if someone knowledgeable could explain this.

Andy


Home | Main Index | Thread Index | Old Index