- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr became 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
Forums
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
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
07-02-2004 06:35 AM
07-02-2004 06:35 AM
/usr became full
Should I be concerned with these links, because /var can grow.
What other ways I can check out why /usr is at 100%? My /usr is 3.2G but its full now. Any help?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:42 AM
07-02-2004 06:42 AM
Re: /usr became full
# find /usr -type f -name core
Then delete if any found.
Also run:
# du -sk /usr/local
to see how big this directory is. I suspect that the trouble-making file(s) is in here.
Good luck.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:43 AM
07-02-2004 06:43 AM
Re: /usr became full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:47 AM
07-02-2004 06:47 AM
Re: /usr became full
/usr is static fs, and should not increase, unless someone is dumping files there.
du -sk *|sort -nr will give you the sorted list of who is how much??
Also as mentioned earlier, you can delete core files if any.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:48 AM
07-02-2004 06:48 AM
Re: /usr became full
This is what I got. Executing #du -sk /usr/local produces 258672 /usr/local and this is quite small.
Doing the #find /usr -type f -name core produces nothing.
I already cleaned out 4 core files, but these files did not impact the size of /usr when I did a BDF.
It has to be something else. On another note, doing #last, I noticed a bunch of userid doing ftp, could it be possible that an FTP file got misdirected?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:48 AM
07-02-2004 06:48 AM
Re: /usr became full
i feel its uncommon for those links to exist in /usr. But even if they are there, its not going to do any harm in filling up /usr. what you could do is probably check for some *tar files or some device file which could have created by mistake in the /usr directory.
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:58 AM
07-02-2004 06:58 AM
Re: /usr became full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 06:59 AM
07-02-2004 06:59 AM
Re: /usr became full
377224 lib
258672 local
218443 uni
206288 legato
77104 sbin
72504 dt
47440 conf
42888 share
35472 contrib
28456 sam
26440 bin
16488 ccs
8920 include
7496 newconfig
7448 obam
6672 lbin
4776 tsm
1320 old
712 vue
208 examples
24 etc
0 tusc
0 tmp
0 tftpdir
0 spool
0 pub
0 preserve
0 news
0 netls
0 man
0 mail
0 lost+found
0 keysh
0 hpC2400
0 adm
What can I do about /lib and other top directory hogs?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:01 AM
07-02-2004 07:01 AM
Re: /usr became full
What does bdf /usr says?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:03 AM
07-02-2004 07:03 AM
Re: /usr became full
Actually I receiced a page that /usr was full. I agree, most users don't havbe anything to do with /usr.
When I tried to do a #last | more, I got this message:
ksh: 10245 Memory Fault
What does this mean. The command "last" was working fine about an hour ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:13 AM
07-02-2004 07:13 AM
Re: /usr became full
3194880 3194880 100% used etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:14 AM
07-02-2004 07:14 AM
Re: /usr became full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:34 AM
07-02-2004 07:34 AM
Re: /usr became full
Again, run
find /usr -type f -name core
ll -ltr|sort -nk5
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:50 AM
07-02-2004 07:50 AM
Re: /usr became full
have you deleted any open files lately? I would suggest, if possible, to get the machine into single user to exlude hidden, open files.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:50 AM
07-02-2004 07:50 AM
Re: /usr became full
From your du -sk output, /usr should only be of 1444995 MB used (assuming that none of the directories listed were filesystems).
So, I believe there was a huge active file that was removed but is still opened by some process. I would run 'lsof' at this time and find all the open files on /usr filesystem.
lsof /usr > /tmp/lsof_of_usr.out
I would run the following command to find the culprits.
du -kx /usr |sort -n
-Sri