Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 18:53:58 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        jeff@seamanpaper.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: df shows negative free percentage
Message-ID:  <487CD626.4030700@FreeBSD.org>
In-Reply-To: <487CD572.20304@m2.seamanpaper.com>
References:  <487CD572.20304@m2.seamanpaper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Dickens wrote:
> I just noticed one of my FreeBSD 6.2 systems showing "-0%" free in 
> /tmp.  If I copy a file to it, it shows a sensible percentage free, but 
> then reverts to "-0%" when I delete that file.  Any idea what's going on 
> here?
> 
>    FreeBSD 6.2-RELEASE (GENERIC) #0: Fri Jan 12 10:40:27 UTC 2007
> 
>    Loon
> 
>    loon# df
>    Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
>    /dev/da0s1a    507630   38436  428584     8%    /
>    devfs               1       1       0   100%    /dev
>    /dev/da0s1e    507630     -20  467040    -0%    /tmp
>    /dev/da0s1f   5366090 1573304 3363500    32%    /usr
>    /dev/da0s1d   1255886  356994  798422    31%    /var
>    loon#
>    loon# cp /usr/local/kits/vmware-freebsd-tools.tar.gz /tmp
>    loon# df
>    Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
>    /dev/da0s1a    507630   38446  428574     8%    /
>    devfs               1       1       0   100%    /dev
>    /dev/da0s1e    507630   10444  456576     2%    /tmp
>    /dev/da0s1f   5366090 1573304 3363500    32%    /usr
>    /dev/da0s1d   1255886  356994  798422    31%    /var
>    loon# rm /tmp/vmware-freebsd-tools.tar.gz
>    loon# df
>    Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
>    /dev/da0s1a    507630   38446  428574     8%    /
>    devfs               1       1       0   100%    /dev
>    /dev/da0s1e    507630     -20  467040    -0%    /tmp
>    /dev/da0s1f   5366090 1573304 3363500    32%    /usr
>    /dev/da0s1d   1255886  356994  798422    31%    /var
>    loon#

umount and fsck -f the filesystem

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487CD626.4030700>