[SunHELP] 100% Root partition
baki
sunhelp at sunhelp.org
Wed Jul 4 06:38:05 CDT 2001
plus
http://www.sun.com/bigadmin/shellme/index.html;$sessionid$P2QFKFAAAA20JAMTA1
LU4GQ#filesystem_find
Title
Find large files moved or deleted and held open by a process
"find /proc/*/fd -links 0 -type f -size +2000 -ls" #2000 blocks (1
block=512bytes)
or
"find /proc/*/fd -links 0 -type f -size +2000c -ls" #2000 bytes
Description
The total disk space displayed by df -k may not match the total of du -k for
the same file system, there may have been a file that was deleted or moved
when a running process still had it in use.
The OS can not actually delete the file until the process has stopped. This
command will display the file and the process id that you can use to stop
the process. Once the process has been stopped the disk space will be freed.
----- Original Message -----
From: "Howard Hurst" <howard.hurst at UnitedAdvertising.co.uk>
To: <sunhelp at sunhelp.org>
Sent: Wednesday, July 04, 2001 2:16 PM
Subject: RE: [SunHELP] 100% Root partition
| This command will find all files over 10mb - it's probably a good place to
| start.
|
| find / -size +10000000c -xdev -print
|
| Could be anything - core dumps, backups to files instead of devices....
|
| Hope that's of some help!
|
| Howard.
| ______________
|
| IMPORTANT. Any views or opinions are solely those of the author and do not
| necessarily represent those of United Business Media PLC. The information
| transmitted is intended only for the person or entity to which it is
| addressed and may contain confidential and/or privileged material. If you
| are not the intended recipient of this message, please do not read, copy,
| use or disclose this communication and notify the sender immediately. It
| should be noted that any review, retransmission, dissemination or other
use
| of, or taking of any action in reliance upon, this information by persons
or
| entities other than the intended recipient is prohibited.
|
| > -----Original Message-----
| > From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
| > Behalf Of Tope Songonuga
| > Sent: 04 July 2001 12:10
| > To: sunhelp
| > Subject: [SunHELP] 100% Root partition
| >
| >
| > Hi guys
| >
| > The root partition (/) on my new E450 is at a 100% utilisation
| > and has been
| > for weeks. This is not even a production server, and it was
| > built 2 months
| > ago. We will be going live soon, and being a newbie, I am
| > panicking because
| > I don't understand why the same partition on 2 other E450s are
| > less than 50%
| > full.
| >
| > FYI, the server has the following filesystems: /, /proc, /var,
| > /usr, /tmp,
| > /u01 .
| >
| > Are there any checks I should carry out in order to determine what might
| > have filled it up?
| >
| > Any ideas or suggestions welcome.
| >
| > Thanks.
| >
| > Tope Songonuga
| > UK
| >
| > _______________________________________________
| > SunHELP maillist - SunHELP at sunhelp.org
| > http://www.sunhelp.org/mailman/listinfo/sunhelp
| >
|
| _______________________________________________
| SunHELP maillist - SunHELP at sunhelp.org
| http://www.sunhelp.org/mailman/listinfo/sunhelp
|
More information about the SunHELP
mailing list