df displays wrong numbers

From: Jan-Olaf Droese (jan-olaf.droese@lahmeyer.de)
Date: Sun Sep 01 2002 - 17:09:44 EDT


Dear sun-managers,

after one of our servers started reporting "file system full" errors
whereas all our monitoring tools told us that there were still some
15Gb free I noticed some strange problem:

For that file system the df-output seems to be wrong. Used+avail
capacity is about 15Gb more than the total space in that file system
(see df output below). So when "used" equaled "kbytes" the machine
started reporting "file system full". "avail" still showed 15Gb free.

Does anyone know what might be the cause of this problem? I have
two other identical machines, where the df output is correct (the only
difference there is that the file systems on those machines only
have 150Gb capacity).

The machine is a Ultra-60 running Solaris 7 with kernel patch 106541-11
and a patch cluster which contained that kernel patch. The file
system in question is mounted with the "logging" option.

Thanks a lot for any help to fix the problem. As usual I will post
a summary.

Jan-Olaf

df-output:

bash# df -k /export/raid
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t0d0s6 275823048 261513716 29676700 90% /export/raid

Format shows the following:

partition> print
Current partition table (original):
Total disk cylinders available: 35773 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
  0 unassigned wm 0 0 (0/0/0) 0
  1 unassigned wu 0 0 (0/0/0) 0
  2 backup wu 0 - 35772 279.48GB (35773/0/0) 586104832
  3 unassigned wm 0 0 (0/0/0) 0
  4 unassigned wm 0 0 (0/0/0) 0
  5 unassigned wm 0 0 (0/0/0) 0
  6 usr wm 0 - 35772 279.48GB (35773/0/0) 586104832
  7 unassigned wm 0 0 (0/0/0) 0

-- 
Jan-Olaf Droese                    | Lahmeyer International GmbH
email: jan-olaf.droese@lahmeyer.de | Friedberger Stra_e 173
phone: +49-6101-55-1611            | 61118 Bad Vilbel
fax:   +49-6101-55-1623            | Germany
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:52 EDT