- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- usr directory is 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
Discussions
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
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
12-01-2011 03:27 AM
12-01-2011 03:27 AM
usr directory is full
Hello,
What can I do in order to avoid /usr directory from explosion? (bdf - more then 90%)
BR,
Yali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2011 05:08 AM
12-01-2011 05:08 AM
Re: usr directory is full
Yali,
On a properly configured HP-UX box, the /usr filesystem should be pretty much static. It should only increase in size if you install patches and/or new products (and not many should new products go in /usr).
If your /usr filesystem is constantly growing then you need to find out what is writing to it and move it somewhere else.
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2011 05:59 AM
12-01-2011 05:59 AM
Re: usr directory is full
1) try to find/remove any core files
2) du -sk /usr/* | sort -nr | head #?
3) resize fs?
regards/pozdro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2011 10:59 AM
12-01-2011 10:59 AM
Re: usr directory is full
/usr will grow whenever you add additional products and files. The most important thing to do is to locate the big directories, like this:
du -kx /usr | sort -rn | head -20
This will show you where the biggest directories are located. You have to determine if those directories are the correct size or that perhaps (a bad program) has stored a log file there. Otherwise, /usr will have to be expanded in size. 1000 MB is OK for 11.00 and earlier, but very small for 11.11 or higher. At 11.31, 4000 MB is required to keep from overflowing. But this alll depends on what you are installing.
Post a copy of: bdf /usr and the above du command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2011 06:03 AM
12-04-2011 06:03 AM
Re: usr directory is full
Please find the attached result.
This is B.10.20...
BR,
Yali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2011 06:05 AM
12-04-2011 06:05 AM
Re: usr directory is full
I don't sure the attachment is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2011 06:07 AM - edited 12-04-2011 11:31 PM
12-04-2011 06:07 AM - edited 12-04-2011 11:31 PM
Re: usr directory is full
I will paste it:
1. du result:
8 /usr/lost+found
4 /usr/bin/xpg4
4046 /usr/bin/X11
2 /usr/bin/posix
3 /usr/bin/cue.etc
20707 /usr/bin
32 /usr/sbin/vhe
1669 /usr/sbin/hpC2400
272 /usr/sbin/acct
75 /usr/sbin/ncs/perf
1248 /usr/sbin/ncs
1 /usr/sbin/core
976 /usr/sbin/diag/lif
987 /usr/sbin/diag
245 /usr/sbin/stm/dev
2205 /usr/sbin/stm/lib
449 /usr/sbin/stm/uut/bin/sys
977 /usr/sbin/stm/uut/bin/tools/decode
805 /usr/sbin/stm/uut/bin/tools/diagnose
5138 /usr/sbin/stm/uut/bin/tools/exercise
2. bdf result:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 83733 63386 11973 84% /
/dev/vg00/lvol1 47829 15260 27786 35% /stand
/dev/vg00/lvol8 490645 399824 41756 91% /usr
/dev/vg00/lvol7 30597 292 27245 1% /tmp
/dev/vg00/lvol5 598357 259054 279467 48% /opt
/dev/vg00/lvol4 19861 18 17856 0% /home
/dev/vg01/lvol1 8884224 7323156 1515611 83% /disk2
hmb6:/scc 4007201 3017890 588590 84% /tmp_mnt/net/hmb6/scc
BR,
Yali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 09:37 AM
12-05-2011 09:37 AM
Re: usr directory is full
>/dev/vg00/lvol8 490645 399824 41756 91% /usr
These don't seem to match. The du(1) output seems to be around 40 Mb and here it says you have 400 Mb used.
You probably have a unlinked file still open. You'll need to download and use lsof to see which process has it opened.
>I don't sure the attachment is there.
You probably need a .txt suffix. You might as well delete those two "empty" posts.
Using the post Options menu on the right.