1836987 Members
2297 Online
110111 Solutions
New Discussion

/ is 100% full

 
GREGORY JONES_3
Occasional Advisor

/ is 100% full

my / is 100% full but no recent large files or directories written

it looks like some user process holding the space
how to find out who/what it is?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: / is 100% full

Shalom Gregory

cd /
du -k | sort -rn | more

You may wish to boot into single user mode, which makes it easier to id files when all the filesystems are not mounted.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vipulinux
Respected Contributor

Re: / is 100% full

Hi
Check for files that have been created/modified in last n no of days

find / -mtime 10

Cheers
Sandman!
Honored Contributor

Re: / is 100% full

If you have lsof try the following to see if any processes are holding open files that have been deleted:

# lsof +aL1 /

In case you don't have lsof get it from...

http://hpux.cs.utah.edu/hppd/cgi-bin/search?package=on&description=on&term=lsof

cheers!
Patrice Le Guyader
Respected Contributor

Re: / is 100% full

Hello Gregory,

Try : find / -size +10000 -xdev -exec ll {} \;

+10000 : nb of blocks with 512 bytes per block.

It will list all the biggest file of /

Hope this helps
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Bill Thorsteinson
Honored Contributor

Re: / is 100% full

You may have large files hidden behind
mount points. Do you have any NFS mounts?
If so, try unmounting and listing files
under the mount point.

I generally set the access on mount points
to 000. This severely limits the ability
to create files hidden by mount points.

You may need to shutdown the auto mounter
to free up some mount points.
Prashant Zanwar_4
Respected Contributor

Re: / is 100% full

Also check for files which arent really needed under /. Example for core file, or some output log files etc.. worth getting rid of these. Also Check for any directories owned by owner other than root, which are not suppose to be under /..
Also if package is moved to failover node and users still dumping files under mount point directories..
Several possibilities..

Hope it helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Wayne Yu_2
New Member

Re: / is 100% full

If you tape drive was not connected well, and backup could fill your /dev with the backup data, that could make your / 100% full.