* disk problem
@ 1994-09-27 23:51 Ravi Subramaniam
1994-09-28 1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 4+ messages in thread
From: Ravi Subramaniam @ 1994-09-27 23:51 UTC (permalink / raw)
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?
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).
Thanks,
Ravi Subramaniam.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disk problem
1994-09-27 23:51 disk problem Ravi Subramaniam
@ 1994-09-28 1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-09-28 15:38 ` Mike Iglesias
1994-10-01 14:56 ` Anthony Baxter
0 siblings, 2 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-09-28 1:09 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disk problem
1994-09-28 1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-09-28 15:38 ` Mike Iglesias
1994-10-01 14:56 ` Anthony Baxter
1 sibling, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1994-09-28 15:38 UTC (permalink / raw)
In article <36afno$5c9@nntpd2.cxo.dec.com>,
Alan Rollow - Dr. File System's Home for Wayward Inodes. <alan@nabeth.cxo.dec.com> wrote:
>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...)
You can also NFS mount the root partition on another system and
rummage thru it there to get around having to shut down the system.
This is also useful to find where disk space has been sucked up on
the partition (assuming it's not files that are open but do not
appear in a directory) because du will not try to run thru all
the partitions mounted on the system.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 856-6926
Office of Academic Computing FAX: (714) 725-2069
Central Computing Support
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: disk problem
1994-09-28 1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-09-28 15:38 ` Mike Iglesias
@ 1994-10-01 14:56 ` Anthony Baxter
1 sibling, 0 replies; 4+ messages in thread
From: Anthony Baxter @ 1994-10-01 14:56 UTC (permalink / raw)
alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) writes:
>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...)
Not so! You can simply do a loopback NFS mount (eg mount localhost:/ /mnt ;
du /mnt) to find this out. I've done it in the past, and will almost
certainly do it again. Also useful for doing a 'du' without crossing
filesystems.
Anthony
--
anthony baxter @ /\/\|| / australian artificial intelligence institute, \
email: anthony@aaii.oz.au ||===============================================||
phone: +613 663 7922 \ level 6, 171 latrobe st, melbourne aust. 3000 /
That's SULTAN Vile Betrayer to you - Iago, Aladdin.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-10-01 14:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-27 23:51 disk problem Ravi Subramaniam
1994-09-28 1:09 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-09-28 15:38 ` Mike Iglesias
1994-10-01 14:56 ` Anthony Baxter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox