From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,75471c3e7d2c8496 X-Google-Attributes: gidfee84,public From: ccteakle@brolga.cc.uq.oz.au (Chris Teakle) Subject: Re: Problem with advfs on DUnix 3.2 Date: 1996/08/22 Message-ID: <4vh76c$3ve@hobyah.cc.uq.oz.au>#1/1 X-Deja-AN: 175799358 references: <4vevuq$21a@sci3.sri.ucl.ac.be> organization: University of Queensland newsgroups: comp.unix.osf.osf1 nina@fynu.ucl.ac.be (Alain Ninane - FYNU) writes: >I had a problem with an advfs file system this morning. >The `df -k' command reported that the file system was full >(7 blocks available out of 1000000) while a `du -s -k' on >it reported only 464825 blocks used. This sort of thing can happen when some process holds open a large file that has since been unlinked. The space is still consumed as far as df is concerned, but is invisible to du or ls. It's released as soon as the process closes the file or exits. A common example of where it can be a problem is with a news server old history file (which may be over 100Mb in size) which has been rm'ed after news expiry, but is still held open by some reader process. Identifying such a process shouldn't be too hard using "lsof /filesystem". If you don't have lsof then look at: ftp://vic.cc.purdue.edu/pub/tools/unix/lsof (Congrats to Vic Abell - lsof is a great tool!) ---- Chris Teakle Prentice Centre, University of Qld