- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 10.20 root space running out
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
06-21-2005 06:11 AM
06-21-2005 06:11 AM
My HP-UX/9000 server root directory is gradually running out of space. I am not sure why. Can anyone tell me what I can move/delete to gain space back? I have attached the output from bdf.
Any help is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 06:20 AM
06-21-2005 06:20 AM
Re: HP-UX 10.20 root space running out
To remedy the situation at hand, look for large files (files size >1MB ) on / with:
find / -xdev -size +1000000c
and see if any of these files can be deleted or moved to other places.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 06:23 AM
06-21-2005 06:23 AM
Re: HP-UX 10.20 root space running out
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 08:37 AM
06-21-2005 08:37 AM
Re: HP-UX 10.20 root space running out
Check if there are some log files or temporary files being sent to your root file system by some external application or program, if possible redirect them to another FS (maybe /tmp), or create a FS for these files if you find this is the case. Also if you can find that a directory within root FS that is not part of the OS is growing, you may consider make a FS to store that data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 08:59 AM
06-21-2005 08:59 AM
Re: HP-UX 10.20 root space running out
try this command sequence to display the 10 biggest files in the root partition:
# find / -type f -xdev -exec ls -l {} \; | sort -k5n | tail -10
and be patient; if the output - when it comes - does not look suspicious, then try looking for the 20 biggest files. It sounds as if someone, who should not, keeps writing in the root partition - which I think is big enough.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:45 AM
06-21-2005 11:45 AM
Re: HP-UX 10.20 root space running out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 05:28 PM
06-21-2005 05:28 PM
Re: HP-UX 10.20 root space running out
1)
When i saw ur BDF output, i found three VG's..vg00,vg01 and vg05..
assuming that in the past vg02,vg03 and vg04 were there and removed.. Please go to the directory /etc/lvm.conf/ and remove files vg02.conf,....vg04.conf. Safely enough you could deleted other *.conf file in /etc/lvmtab except that of vg00,vg01 and vgo5's... To be even safer could backup and deleted the unused VG's conf file.
2)
Then ofcourse you could check for core files and deleted them...
find / -xdev -name core -exec rm {} \;
3)
Investigate the /root dir, usually , sys admin tend to ingnore the fact that /root is a part of / FS and tend to keep there scripts and other analysed data in /root.. make sure the dir doesnot contain any other files and dir except for start up profiles and etc...
4)
Could also investigate the /dev dir for regular files.. where sometime , admins tend to writed regular file will involking "tar" with a wrong device file...
Hope these help..
Regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 05:29 PM
06-21-2005 05:29 PM
Re: HP-UX 10.20 root space running out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 09:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:22 PM
06-21-2005 11:22 PM
Re: HP-UX 10.20 root space running out
Thanks for all the replies. I have found that there are some log files on the /etc/opt/resmon/log directory. I moved them to another location. I did use the search function provided by some and they help me locat the log files.
I appreciate all the helps.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2005 12:33 AM
06-22-2005 12:33 AM
Re: HP-UX 10.20 root space running out
The best command to locate problems is NOT find, but du (I call it directory usage). Find the biggest directories first. Deleting big files (like vmunix) is not always helpful and can sometimes be a disaster. Use this to locate the biggest directories:
du -kx / | sort -rn | head -20
For a typical 10.20 system, this is the result:
26423 /
14796 /sbin
6897 /etc
3182 /sbin/fs
2966 /etc/opt
2520 /etc/opt/resmon
2318 /root
1796 /etc/lvmconf
1366 /sbin/fs/vxfs
1154 /sbin/fs/hfs
The du -kx / says to look only at /, and report size on Kbytes. Note thast /dev should be at the bottom of the list, perhaps 96 or 128 Kbytes maximum. Larger values indicate that someone (with root privileges) stored an ordinary file in /dev, a big NO-NO. If some other directory pops up towards the top of the list, then look inside using ll (and sort by size):
ll /some_dir | sort -rnk5 | more
Bill Hassell, sysadmin