SUMMARY: Disk full /

From: Luciano Freire - Estagiario do Lab da Pos-Graducao (freire@dc.ufscar.br)
Date: Mon Jan 19 1998 - 06:51:05 CST


Thanks very much to:

******************************************************************
Stephen Frost <sfrost@mitretek.org>
Harry Levinson <levinson@ll.mit.edu>
David Thorburn-Gundlach <david@bae.uga.edu>
Stuart.Little@dpcs-sw.co.uk
Frank Cusack <fcusack@voicenet.com>
Ramindur Singh <ramindur@zuno.com>
bismark@alta.Jpl.Nasa.Gov (Bismark Espinoza)
Chris Marble <cmarble@orion.ac.hmc.edu>
Michael Hill <Michael_Hill@csgsystems.com>
Dixon_Ly@BayNetworks.COM (Dixon Ly)
******************************************************************

Solution:

 There insn't problem with the system operation.
 The df -k don't show the freed space because some active process was
still writing to some of the deleted files, removing the files doesn't
free the disk space until the process close the files or terminate or:

 1) if a file is open when it gets deleted, it hangs around until the
holding process closes it. That's why it's better to

> /some/file
or
        cat /dev/null > /some/file

if you're trying to free up space, because that works immediately.

2) Before rm'ing files check with 'lsof' (list open files +
otherfunctionality)

3) You can use the fuser command (with varying
degrees of success) to determine which process still has them opened.

4) take care of log files. Move them off to somewhere else (Though they
will still be written to by the current logger) and then kill -HUP
syslog, that should tell syslog to close and reopen it's log files.

Problem:

> I have a Sparc 20 running solaris 2.5.
> I received the error message: " Disk FULL / ". After this, I removed a
lot of files but the
>error message don't disappear.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT