Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!news.u.washington.edu!uw-beaver!cornellcs!newsstand.cit.cornell.edu!portc01.blue.aol.com!chi-news.cic.net!newspump.sol.net!howland.erols.net!EU.net!news2.EUnet.fr!newsbr.eunet.fr!usenet From: Frederic.Marand@osinet.fr (Frederic MARAND) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: When df disagrees with du Date: Thu, 07 Nov 1996 21:00:47 GMT Organization: Groupe SEDI / Agorus SA / OSI SARL Lines: 23 Message-ID: <55tm62$2j7@newsbr.eunet.fr> References: <E0Ho83.Ex9@news2.new-york.net> <2579@847379155> NNTP-Posting-Host: 193.107.196.155 X-Newsreader: Forte Free Agent 1.0.82 "Kenneth Chiu" <chiuk@cs.indiana.edu> wrote: >In article <E0Ho83.Ex9@news2.new-york.net>, Louis Epstein <le@put.com> wrote: >>I've had the df on one of my 2.1R servers tell me that /var is 107% full, >>deleted some large files there,done du and gotten a figure for blocks used >>in var,done df again(over periods of hours) and still been told(despite >>checking the directories again,no new growth) that over twice that much >>space is in use and that it's still 107% full. >Hmm...is it possible that a process is unlinking a still open temp file? Usually, du sums up the file sizes in the subtree, whereas df uses the inode count. This means du represents your data volume and df represents your used disk space, which is normally larger than the data volume. Of course, having 107% occupancy means there is a bug somewhere. ------------------------- Frederic G. MARAND Agorus SA / OSI SARL Frederic.Marand@osinet.fr -------------------------