1829886 Members
7718 Online
109993 Solutions
New Discussion

/ file system is 98% ful

 
Salm
Frequent Advisor

/ file system is 98% ful

Hi
I'm workng on very critcal 24X7 HPUX production environmet and got this error
Filesystem / is 96percent full. The threshold is 95percent.

Other root file systems are ok . only / need to be bring down . usually I just go to /etc/lvmconf file and removed all .old files . This time here is no .old files.

Is any one can advice what else I can remove to bring / file system down ??

9 REPLIES 9
David Bellamy
Respected Contributor

Re: / file system is 98% ful

Salm look in the root file system for a file that looks like the tape drive 0m. Root usually fills up when there is a mistake writing to a tape drive when doing a backup.
Pete Randall
Outstanding Contributor

Re: / file system is 98% ful

Look for core files. Look for regular files in /dev ( find /dev -type f ) - there should be none. Look for large files (find / -size 10000c ).


Pete

Pete
Geoff Wild
Honored Contributor

Re: / file system is 98% ful

from /

du -sk * |sort -rn
If you can't find any large files, use my handy dandy way to grow it with onlinejfs:

http://www.met.ca/itrc/index.php?option=com_content&task=view&id=89&Itemid=2

The main culprit could be /etc/vx

You can move that - but don't use mv or cp - use tar and a pipe - then create a symbolic link...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Murat SULUHAN
Honored Contributor

Re: / file system is 98% ful

Hi Salm

run du with -skx option like following

du -skx /

This reports you only root lvol, you can also sort output

And check your mount points like the following
lv1 -> /
lv2 -> /etc/opt/omni

Best Regards
Murat
Murat Suluhan
skt_skt
Honored Contributor

Re: / file system is 98% ful

here is what i use to find the bigger files

#find / -xdev -size +100000 -exec ls -lrt {} \;

if you dont see any files or if you get more files adjust the number of zeroes at '+10000xyz'


whiteknight
Honored Contributor

Re: / file system is 98% ful


Salm,

#find / -xdev -size +2000 > file.out

suspected you restore the files to /

WK
Problem never ends, you must know how to fix it
mobidyc
Trusted Contributor

Re: / file system is 98% ful

Hello,
in this case, i usually follow this step:

1/
search for 'core' files
find / -xdev -name "core"

2/
search for big folders
du -skx / |sort -n |tail

3/
search for removed open files
lsof -V

Redards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
Safarali
Valued Contributor

Re: / file system is 98% ful

Hi
check the size of the following file
syslog.log
wtmp files
and all log files

Regards
Safar
MarkSyder
Honored Contributor

Re: / file system is 98% ful

You've been given some very good answers and the only thing I would add is to check for areas of growth:

cd /
ll -tr

will show you the most recently amended files at the bottom. Repeat for /etc.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing