- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var space problems
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
08-23-2000 11:26 AM
08-23-2000 11:26 AM
/var space problems
What can clean of this volume to maintain it. We already trim logs on a regular basis.
thanks
Grant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:29 AM
08-23-2000 11:29 AM
Re: /var space problems
list files in sorted by time:
#cd /var
#ls -lt
find files [n] days old:
#find /var -mtime +[n] -exec ll {} ;
find large files [n] size:
#find /var -xdev -size +$[n]c -exec ll {} ;
find large disk usage directories:
#cd /var
#du -x | sort -n
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:31 AM
08-23-2000 11:31 AM
Re: /var space problems
Try a search of this formum. This is a common problem. In general, do the following:
remove unnecessary files in /var/adm/crash, /var/preserve, /var/tmp, etc.
run cleanup (see man pages)
do a 'find' to find large files
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:33 AM
08-23-2000 11:33 AM
Re: /var space problems
Ignite is always an option for this as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:33 AM
08-23-2000 11:33 AM
Re: /var space problems
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xda63c5ea0230d411ade80090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x0a5e7e990647d4118fee0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x665d7e990647d4118fee0090279cd0f9,00.html
If you have a very stable system (you are not going to roll it back), I like Andy Monks' idea (see the last above mentioned post).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:33 AM
08-23-2000 11:33 AM
Re: /var space problems
Things to check:
/var/adm/crash : Mem dumps after system crashes are kept there.
Files backed upo during patch installation are kept somewhere under /var/adm/sw/.... . To clean these up (watch out: no patch removal possible after cleanup) execute:
HPUX 10.x : cleanup (cfr man cleanup(1m))
HPUX 11 : swmodify -x patch_commit=true
This should free up some (a lot of) space.
If this isn't the case, use 'du -sk /var/*' and try to locate the big directories/files.
Bye,
Rik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:34 AM
08-23-2000 11:34 AM
Re: /var space problems
delete files in /var/preserve
Reduce log files with cat /dev/null > var/sam/log/*.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:34 AM
08-23-2000 11:34 AM
Re: /var space problems
Another place that hides files is /var/tmp: And since it's a temp directory you probably have plenty there you can clean up....
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:44 AM
08-23-2000 11:44 AM
Re: /var space problems
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 11:50 AM
08-23-2000 11:50 AM