- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr is almost full
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:04 AM
тАО08-01-2008 05:04 AM
/usr is almost full
Here is the output of du command:
457741 /usr
161968 /usr/lib
78797 /usr/sbin
47763 /usr/sbin/stm
45099 /usr/lib/nls
41323 /usr/lib/nls/loc
41143 /usr/dt
32747 /usr/lib/nls/loc/locales.1
29692 /usr/sbin/stm/uut
28509 /usr/conf
27707 /usr/lib/X11
25650 /usr/contrib
23363 /usr/bin
23130 /usr/share
19095 /usr/sbin/stm/uut/bin
18655 /usr/sbin/stm/uut/bin/tools
16396 /usr/sam
15747 /usr/conf/lib
15419 /usr/sbin/stm/catalog/C
15419 /usr/sbin/stm/catalog
14166 /usr/share/man
13712 /usr/lib/X11/fonts
12685 /usr/lib/X11/Xserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:09 AM
тАО08-01-2008 05:09 AM
Re: /usr is almost full
The '/usr' filesystem should be static, growing only when new software is added via 'swinstall' or from additions to '/usr/local'.
You may simply need to grow '/usr' with 'fsadm' if you have OnlineJFS or with 'extendfs' if you don't.
This is not a filesystem where you want to start manually removing things!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:19 AM
тАО08-01-2008 05:19 AM
Re: /usr is almost full
Check the space in VG00 with vgdisplay vg00
and if you have space and ONLINE JFS extend it
1. lvextend
2. fsadm
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:26 AM
тАО08-01-2008 05:26 AM
Re: /usr is almost full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:36 AM
тАО08-01-2008 05:36 AM
Re: /usr is almost full
see the following link:
http://docs.hp.com/en/B2355-90164/ch03s10.html
I see much space taken from /usr/contrib:
25650 /usr/contrib
Check into /usr/local/bin and /usr/contrib/bin if there are useless files, otherwise you should enlarge the filesystem (I hope you have OnlineJFS to do that without umounting the filesystem).
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 05:40 AM
тАО08-01-2008 05:40 AM
Re: /usr is almost full
I cannot think of any file that should have had its mod date changed unless you have added software or patches.
#find files with mod time less than 10 days.
find /usr -mtime -10
or
find /usr -type f -mtime -10
Start looking at these or post them if the list is not too long.
As mentioned /usr could be static for years if you do not update software/patch, that is how stable it should be.
Extending: if you do not have OnlineJFS then you must extend /usr in single-user mode or use Ignite to rebuild and extend vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 10:01 AM
тАО08-01-2008 10:01 AM
Re: /usr is almost full
Your du(1) output only has 457 Mb. Was there something you didn't list?
Or is there an open file that someone removed while the process keeps writing to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2008 11:41 PM
тАО08-02-2008 11:41 PM
Re: /usr is almost full
Check with these commands to know the biggest file and biggest directory.This May not be useful for you in the preset scenario but may be useful to find out the biggest files and biggest directories in a file system.
find /usr -xdev -size +1000000c -exec ll {} \; |sort -rnk 5 |more
#cd /usr
#du -sk * |sort -rnk 1 |more
This is just an informative thing.As the experts suggested you need to check for some space in vg00 ; check for online JFS ;
if there
use
lvextend -L (total size in MB) /dev/vg00/lvolx
fsadm -b (total size in MB)M /usr
hope this will be helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2008 05:47 AM
тАО08-03-2008 05:47 AM
Re: /usr is almost full
Also it is not advisable to do housekeeping on installed programs.
Best way is check free space and extend file system accordingly
vgdisplay vg00|grep -i "Free PE"
lvextend followed by fsadm
Regds,
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2008 05:39 AM
тАО08-04-2008 05:39 AM
Re: /usr is almost full
find /usr -mtime 15
/usr/bin/ric_uninstall
/usr/bin/rpconfig
/usr/share/man/cat1.Z/elm.1
/usr/share/man/cat1.Z/dd.1
/usr/share/man/cat1m.Z/cstm.1m
/usr/share/man/cat1m.Z/lvreduce.1m
/usr/share/man/cat4.Z/info.4
/usr/emc/API/symapi/log/symapi-20080730.log
Can some one suggest some thing?