Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: Problem with advfs on DUnix 3.2
  1996-08-21  4:00 Problem with advfs on DUnix 3.2 Alain Ninane - FYNU
@ 1996-08-21  4:00 ` Richard A. Muirden
  1996-08-22  4:00 ` Chris Teakle
  1 sibling, 0 replies; 3+ messages in thread
From: Richard A. Muirden @ 1996-08-21  4:00 UTC (permalink / raw)



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.

>I have observed the same discrependancy with advfs's
>commands:  showfsets (100 % full) and vquot (46 full).

Did you have any clone filesets that were lying around (ie: for
dumps, etc) ? Those can tie up disk space if they're not removed
fairly pronto...

-richard

--
Richard A. Muirden, CNA,    RMIT ITS Unix Systems Admin: Web+News+Post -Master
 mailto: richard@rmit.EDU.AU                  phone: 9660 3814, Fax: 9662 5652 
     129 Shostakovich CD's. I also like 'planes, sci-fi, cats and.... :-)
                      http://www.rmit.edu.au/richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Problem with advfs on DUnix 3.2
@ 1996-08-21  4:00 Alain Ninane - FYNU
  1996-08-21  4:00 ` Richard A. Muirden
  1996-08-22  4:00 ` Chris Teakle
  0 siblings, 2 replies; 3+ messages in thread
From: Alain Ninane - FYNU @ 1996-08-21  4:00 UTC (permalink / raw)



Folks,
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.

I have observed the same discrependancy with advfs's
commands:  showfsets (100 % full) and vquot (46 full).

I have checked that no ``known'' process were writing data
on the disk, neither from local processes nor from nfs
clients running elsewhere.

Eventually, I rebooted the system and the ``wasted''
disk space was recovered.  Funny enough, the showfsets
command executed before and after the reboot showed that
the number of files was the same (22043) while the number of
blocks (512b) dropped from 1999986 to 933242 ...

Well, the reboot solved the problem but I would like to know what
happened ...  Thanks, for your help,

Alain
-- 
--------------------------------------------------------------------------------
Dr. Alain H. Ninane   | Tel : +32-10-47.32.32 - Fax: +32-10-45.21.83
University of Louvain | E-Mail: Ninane@fynu.ucl.ac.be
Nuclear Physics Dept. | Ch. du Cyclotron, 2 - B-1348 Louvain-la-Neuve - BELGIUM



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with advfs on DUnix 3.2
  1996-08-21  4:00 Problem with advfs on DUnix 3.2 Alain Ninane - FYNU
  1996-08-21  4:00 ` Richard A. Muirden
@ 1996-08-22  4:00 ` Chris Teakle
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Teakle @ 1996-08-22  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-08-22  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-21  4:00 Problem with advfs on DUnix 3.2 Alain Ninane - FYNU
1996-08-21  4:00 ` Richard A. Muirden
1996-08-22  4:00 ` Chris Teakle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox