From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,274abb119625793a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-24 14:01:09 PST Path: newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!nabeth.cxo.dec.com!alan Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: <3AE5897D.6460F2C5@atosorigin.com> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: /-Filesystem full? Message-ID: Date: Tue, 24 Apr 2001 21:00:59 GMT NNTP-Posting-Host: 16.82.16.67 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 988146059 16.82.16.67 (Tue, 24 Apr 2001 14:00:59 PDT) NNTP-Posting-Date: Tue, 24 Apr 2001 14:00:59 PDT Organization: Compaq Computer Corporation Xref: newsfeed.google.com comp.unix.tru64:2120 In article <3AE5897D.6460F2C5@atosorigin.com>, Roman Schicht 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