Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: disk problem
Date: 28 Sep 1994 01:09:12 GMT	[thread overview]
Message-ID: <36afno$5c9@nntpd2.cxo.dec.com> (raw)
In-Reply-To: CwtBLC.CwD@umdnj.edu


In article <CwtBLC.CwD@umdnj.edu>, 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



  reply	other threads:[~1994-09-28  1:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-27 23:51 disk problem Ravi Subramaniam
1994-09-28  1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1994-09-28 15:38   ` Mike Iglesias
1994-10-01 14:56   ` Anthony Baxter
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