Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: /-Filesystem full?
Date: Tue, 24 Apr 2001 21:00:59 GMT	[thread overview]
Message-ID: <fQlF6.146$5I.3264@news.cpqcorp.net> (raw)
In-Reply-To: 3AE5897D.6460F2C5@atosorigin.com

In article <3AE5897D.6460F2C5@atosorigin.com>, Roman Schicht <Roman.Schicht@atosorigin.com> writes:

>I have a Alpha 4000 with Tru64 4.0F running.
>
>Last week "df -k" says that from ~130Mb on / ~ 30Mb were available.
>
>Today i saw that on / only 8 Mb are available.

The vast majority of space problems in the root file system
come from one of two places; /tmp and /dev.

The typical cause of a problem with /dev is having a regular
file whose name closely resembles that of a special device
file; /dev/rmtoh vs. /dev/rmt0h.  The utilities that write
to special files typically don't care whether you specify
a regular file or device, so a misnamed file fills the root
with the data intended for the device.

The solution to this problem is to be careful what you type.

The usual cause of a problem in /tmp is a large temporary
file.  Such files often have their name deleted after they
are opened.  The feature of this is that the file is
automatically deleted when the application using it exits.
However, this makes the space hard to find, since there's
no name to find.

Programs like lsof and fuser may be useful here, since they
can show what files are open.  Once you find the offending
file, it should be easy to find the offending application.

Since the space was freed up after a reboot that suggests
the /tmp problem.  The reboot killed the offending process,
the file was closed and deleted.

The usual solutions to this problem are:

o  Coerece the people writing large temporary files to /tmp
   to use /var/tmp or their own home directories instead.

o  Mount /tmp on its own file system so that when it fills
   it doesn't affect the rest of the root.


>
>Roman Schicht
>
>

--
Alan Rollow				alan@nabeth.cxo.dec.com



  reply	other threads:[~2001-04-24 21:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-24 14:10 /-Filesystem full? Roman Schicht
2001-04-24 21:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2001-04-24 23:29   ` Tobias Ernst
2001-04-25 10:19     ` Joerg Bruehe
2001-04-25 16:47     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-04-25  4:26 ` Jack Patteeuw
2001-04-25  3:50   ` John Smith
2001-04-27  6:17     ` Jack Patteeuw
2001-04-30 13:32       ` Martyn Perring
read-only archive

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