[Sunhelp] df

Bryan Fullerton bryanf at samurai.com
Tue Nov 2 01:11:57 CST 1999


On Tue, Nov 02, 1999 at 02:29:10PM +1100, Melinda Taylor <melinda at phys.unsw.edu.au> wrote:
> 
> When I do a df on my disks I find that the kbytes used
> and available do not add up to the total ie:
> 
> /dev/dsk/c0t3d0s5    2071852 1844110   20557    99%    /data4
> 
> but 1844110+20557=1864667 a diif of 207 Meg...

>From 'man df_ufs' from Solaris 7:

     The amount of space reported as used and available  is  less
     than the amount of space in the file system; this is because
     the system reserves a fraction of the space in the file sys-
     tem  to  allow  its  file system allocation routines to work
     well. The amount reserved is typically about 10%;  this  may
     be adjusted using tunefs(1M). When all the space on the file
     system except for this reserve is in use,  only  the  super-
     user  can  allocate  new  files  and data blocks to existing
     files. When the file system is overallocated in this way, df
     may report that the file system is more than 100% utilized.

Bryan

-- 
Bryan Fullerton                http://www.samurai.com/
Core Competency
Samurai Consulting
Can you feel the Ohmu call?






More information about the SunHELP mailing list