From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d6cdc1de9a57ea75 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-27 19:03:45 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!dog.ee.lbl.gov!overload.lbl.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.sys.dec Subject: Re: disk problem Date: 28 Sep 1994 01:09:12 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <36afno$5c9@nntpd2.cxo.dec.com> References: Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com In article , subraman@soma.UMDNJ.EDU (Ravi Subramaniam) writes: > >We have a DECstation 5000 networked to other another DECstation, a PC >and several xterminals. The root directory seems to be filling up >with file(s) that we have just been unable to locate. > >Any suggestions? Track down one of the programs that scans the kernel open file table and see if the files can be trace to a specific program. The usual causes of this are: a. Files in /tmp that have their removed shortly after being opened. You can't find them with ls because the name is gone, but they around until closed. b. A file /dev that looks like a device name, but isn't. Some tape manipulation programs will create a file in the file system in addition to using a device. If someone mistypes the name of the device, you get a tape image that can quickly fill up the root file system. c. A file gets created in a directory that normally has a file system mounted, but when the file was created, didn't. The only easy way to find these is to umount the file system. It is in /usr or /var you'd have to shut the system down. (p.s. /bin/du is a symbolic link to /usr/bin/du...) > >Is there a way to get the system to boot from some other partition >other than the root partition? This might be our way out (to move >the root directory somewhere else). Not usefully. The kernel knows where the root file system is. Look at the config line in your configuration files; the "root on ..." part. It may be possible to make that different from the partition the kernel is read in from, but it probably lead to confusion. It is safest to treat this as "the root file system *IS* where the system was booted from". If you have a spare partition, moving /tmp off the root is good idea. When I was collecting I/O trace, I found that /tmp was the subject of a significant percent of the total system I/O. The root was way down the list. > >Thanks, >Ravi Subramaniam. > -- Alan Rollow alan@nabeth.cxo.dec.com