Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 13:39:44 -0600 (CST)
From:      toasty@dragondata.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5870: df(1) gives values over 100%
Message-ID:  <199802271939.NAA19436@home.dragondata.com>

next in thread | raw e-mail | index | archive | help

>Number:         5870
>Category:       bin
>Synopsis:       df(1) gives values over 100%
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 27 23:20:01 PST 1998
>Last-Modified:
>Originator:     Kevin Day
>Organization:
DragonData
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

-current system, cvsupped on Feb 5th.

>Description:

df(1) will give usage values over 100%

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/wd0a      127023    19946    96916    17%    1256   30486     4%   /
/dev/wd0s1h    347295    42755   276757    13%    1494   85800     2%   /userland
/dev/wd0s1g     63503      759    57664     1%     145   15725     1%   /userland/var
/dev/wd0s1d   2991318   169969  2582044     6%   18308  729530     2%   /userland/home
/dev/wd0s1f    198399   196536   -14008   108%   50174       0   100%   /usr
/dev/wd0s1e    127023     1469   115393     1%     195   31547     1%   /var
procfs              4        4        0   100%      29    4087     1%   /proc
procfs              4        4        0   100%      29    4087     1%   /userland/proc

Somehow, 198399 - 196536 is ending up a negative number.

This wouldn't be severe if I didn't have progams that used the output of df
for monitoring.


>How-To-Repeat:

Run out of inodes, then do a df.

>Fix:
	
Unknown.
>Audit-Trail:
>Unformatted:
Kevin Day

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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