From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: root file system full - how do I delete the files in /proc
Date: Fri, 28 Dec 2001 00:34:52 GMT [thread overview]
Message-ID: <M6PW7.41$5Y4.869@news.cpqcorp.net> (raw)
In-Reply-To: dc85ec7c.0112271523.128ed6c5@posting.google.com
In article <dc85ec7c.0112271523.128ed6c5@posting.google.com>, panjo03@hotmail.com (John Pan) writes:
>essentially a new tru64 user. I have v5.1 732 alpha system.
>My root file system is full and i want to delete the files present in
>the /proc directory. When i try rm it tells me that this function not
>implemented.
>
>1) what does this mean
>2) how do I delete the files in this directory
>3) what are these files?
The files in /proc are processes running on the system. You don't
want to delete them even if you could. Don't worry about that
particular file system being full, that's just the way it is.
You can find out more about the process file system by reading
the proc(4) manual page.
As for the root file system, some things to look for are:
o files in /dev that are almost the same spelling as special
device files, especially tape device names (new and old
format). The tape utilities will as easily create a regular
file as open a device. Spell the name wrong and you get a
file.
o Look for a "core" file in the root. These are copies of a program's
memory when it isn't working correctly and exits before it should.
My recollection is that the first line of the output of strings(1)
will be the name of the program.
o This last is harder. /tmp is often part of the root file system
(it is on your system). A file that was supposed to be temporary
or is still open may be using the space. Programs that use temporary
files often remove the name after they open file. When closed, the
file is automatically deleted. Unfortunately, this makes the file
hard to see. You may be able to use fuser or lsof to see what files
are open on /tmp.
If this is the problem, you might want to consider moving /tmp to
its own file system. You can give it as much space as you think
it will need and fewer things are likely to be affected when it
fills up.
>
>df -k output.
>
>Filesystem 1024-blocks Used Available Capacity
>Mounted on
>root_domain#root 275176 268916 24 100% /
>/proc 0 0 0 100%
>/proc
>usr_domain#usr 1504880 382785 1101856 26% /usr
>
>files in /proc:
>
># ls
>00000 00109 00269 00431 00531 00574 00593 00641 00703 00752
>...
>thanks for your help
>john
>
--
Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)
next prev parent reply other threads:[~2001-12-28 0:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-27 23:23 root file system full - how do I delete the files in /proc John Pan
2001-12-28 0:20 ` Big H
2001-12-28 0:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2001-12-28 7:11 ` Nikola Milutinovic
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