- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr file system 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
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
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
тАО09-04-2001 05:34 PM
тАО09-04-2001 05:34 PM
/usr file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 05:53 PM
тАО09-04-2001 05:53 PM
Re: /usr file system full
Do you have link of following files in /usr ?
adm -> /var/adm
mail -> /var/mail
preserve ->/var/preserve
spool -> /var/spool
tmp -> /var/tmp
normally /usr does not grow as compared to the /var
You must do house keeping regularly in /var.
best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 05:55 PM
тАО09-04-2001 05:55 PM
Re: /usr file system full
Not all the directories are linked from /usr to /var. You really need to check if you have any software installed under usr. There is a directory called /usr/local and some softwares tend to go in there. If it is too big, you may want to create a seperate file system for it.
You can verify which directory is taking most of the space by doing
#cd /usr
#du -sk |sort -n
This will give a good idea. /usr has lib that occupies around 200 MB with sbin being around 100. Other miscellenous shouldn't take more than another 150MB.
/usr/adm and /usr/tmp are linked to /var/adm and /var/tmp.
There are some sofwares that like to go into /usr. I would create a seperate file systems for such softwares.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 05:56 PM
тАО09-04-2001 05:56 PM
Re: /usr file system full
You can look for these and clean them and try
/var/adm/crash
Look for everything
/var/adm, /var/adm/sa
look for large acct files
/var/mail
look for big mail files...
/var/spool
look for dead print jobs that are still there.
/var/adm/sw
delete the log files or make their size "0"
check /var/dt for unused configurations, old error logs, etc...
check the dot files under /, especially if your are running netscape!
The best tool to use is "/usr/bin/du".
cd /
du -sk *
This will show the use of all the directories!
Hope this helps
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 06:21 PM
тАО09-04-2001 06:21 PM
Re: /usr file system full
If you have any core files they certainly can be removed to regain space:
# find /usr -name core -exec rm -i {} \;
As for links between /usr and /var, there are several "transition links" that remap pre-10.x file system layouts to current standards. Most notably, there are links in /usr to /var, namely:
/usr/adm -> /var/adm
/usr/mail -> /var/mail
/usr/spool -> /var/spool
/usr/tmp -> /var/tmp
You will see transition links with a "t" as the last letter of the symbolic permissions, as for example "lrwxrwxrwt".
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 09:31 PM
тАО09-04-2001 09:31 PM
Re: /usr file system full
Check for core files in /usr. If there delete it. Normally /usr will not grow like this. In ur case I think some unwanted link is there from /var. And U can trim the log file in /var/adm. Then see any difference is there or not.
Did U rebooted the system after this size hike? If not once U reboot and see. Problem may get solved.
If U are not getting any solution, checkup for free space in VG. If yes, Extend the /usr file system after booting thru lvm maintanence mode.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 01:57 AM
тАО09-05-2001 01:57 AM
Re: /usr file system full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 02:25 AM
тАО09-05-2001 02:25 AM
Re: /usr file system full
you cann running the Program Cleanup for deleting old Version?s of Pathches and Sofware.
This can help You for obtaining free space on /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 08:29 AM
тАО09-05-2001 08:29 AM
Re: /usr file system full
Checking the usage by directory in /usr will be a good idea to start looking for space.
#cd /usr
#du -sk |sort -n
Any big applications in /usr may be considered for moving in a seperate file system.(even /usr/local)
If not consider extending it. What's your current size of /usr?
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 09:05 AM
тАО09-05-2001 09:05 AM
Re: /usr file system full
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 12:51 PM
тАО09-05-2001 12:51 PM
Re: /usr file system full
If you find nothing of substance, I would then see if fsck can find some broken chains or file pointers, lost inodes, resource maps...
I have found fsck's that have recovered space in the 100's of MB. Do the fsck -n /dev/vg00/rlvol? to see if you have any corruption that fsck needs to fix. If you do, I would do it at the single user mode run level and clean it up. You may not be able to rely on the automatic check during reboot, so do it manually.
The other area, if fsck comes back clean is files that were removed, but the space being used by that file has not been returned because there is a process that still owns that space. A reboot would cure that also.
Keep us posted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2001 02:21 PM
тАО09-05-2001 02:21 PM
Re: /usr file system full
best command is :
du -k /usr ? more
This allows you to check the content of each directory and to lock where the suddent increase comes from.
Magdi