df -h returns negatives values

Ivailo Tanusheff i.tanusheff at procreditbank.bg
Tue May 26 14:13:57 UTC 2009

If that was the case it would say something like 108%, not -83%.
The other strange value is the used size -2.2G.
I see only 2 options:
 - Buffer overflow of the command (not much likely)
 - Problem with the data on the disk.

Maybe you should run fsck -fFyv /var


Ivailo Tanusheff
Deputy Head of IT Department
ProCredit Bank (Bulgaria) AD

Polytropon <freebsd at edvax.de> 
Sent by: owner-freebsd-questions at freebsd.org
26.05.2009 16:12
Please respond to
Polytropon <freebsd at edvax.de>

n ramrani <nramrani at gmail.com>
freebsd-questions at freebsd.org
Re: df -h returns negatives values

On Tue, 26 May 2009 09:45:55 +0200, n ramrani <nramrani at gmail.com> wrote:
> Hi,
> I have FreeBSD 7.0-RELEASE-p4.
> After a problem, I have :
> /dev/aacd0s1d          2.9G   -2.2G    4.9G   -83%    /var
> I tried to do fsck but no change. Any ideas?

FreeBSD keeps a certain percentage (I thin 8%) of your disk
as a reserve, so you can have more disk space occupied than
"full size minus 8%). At the moment, the reserve is utilized
to store some data.

Maybe you find some files to delete in /var, the situation
should normalize.

But still, the values look something strange... too strange...

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to 
"freebsd-questions-unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list