1849395 Members
6388 Online
104044 Solutions
New Discussion

Re: /usr at 96%

 
SOLVED
Go to solution
Amiel Tutolo
Frequent Advisor

/usr at 96%

The /usr is at 96% and I do not see anything else I can remove or move from here. The /usr/tmp is empty. Any suggestions would be of great help. I cannot expand the volume plus I don't want to mask a potential problem. The size is 417MB.
Live, love and laugh
9 REPLIES 9
Victor BERRIDGE
Honored Contributor

Re: /usr at 96%

Try to move something not vital in /usr to somewhere else and so a link:
check that you have a backup first

#find -depth|cpio -xdump

#rm -rf
#ln -s

Hope this helps

Victor
Rick Garland
Honored Contributor

Re: /usr at 96%

If that fails, you can try to extend the /usr through Ignite.
Cheryl Griffin
Honored Contributor
Solution

Re: /usr at 96%

This is one of the filesystem that must remain in root, so expand or free up space are the only two options.

There have been many posts in the Forum on how to find large files, for instance using du -k /usr, so you might want to do that search and see if you can identify anything that does not belong.

There is a "Filesystem Full" (document id BA961218001) paper in the Knowledge Base that states how to remove man page space, which may delay you slightly but when space is needed, you might want to sacrifice the man page speed for space.


"Downtime is a Crime."
Emilio Sierra
Advisor

Re: /usr at 96%

Prueba con
find . -name core
Michael Dun_1
New Member

Re: /usr at 96%

Checking for large files under /usr may allow you to determine if there are a few large files that are using up space (like runaway log files).

du -a |sort -nr |more

You may also want to try to see if there are any log files that you could trim - that might free up some space, even though they aren't usually stored in /usr...
Try not! Do, or Do Not - there is no "Try."
Anthony deRito
Respected Contributor

Re: /usr at 96%

Amiel, use the following commands to try and help you determine what is causing the filesystem to be full. Unless your filesystem is extremely small, you have the possibility to run into the same problem later.

list files in sorted by time:
#cd /usr
#ls -lt

find files [n] days old:
#find /usr -mtime +[n] -exec ll {} ;

find large files [n] size:
#find /usr -xdev -size +$[n]c -exec ll {} ;

find large disk usage directories:
#cd /usr
#du -x | sort -n

Tony






Amiel Tutolo
Frequent Advisor

Re: /usr at 96%

I have one other question. Can I remove /usr/old? This system was upgraded by cosultants and I am not sure if they cleaned up after themselves after the upgrade from 10.20 to 11.0. Thanks again
Live, love and laugh
Cheryl Griffin
Honored Contributor

Re: /usr at 96%

If /usr/old is not being used, it is a good candidate for removal. Why not monitor it periodically with fuser and if it is not used, remove it. fuser will show if it's opened/busy.

# fuser -cu /usr |grep old
"Downtime is a Crime."
James R. Ferguson
Acclaimed Contributor

Re: /usr at 96%

Hi:

You might want to see if the files in /usr/old haven't been accessed in a reasonalble timeframe:

ls -ulR /usr/old

...JRF...