- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Low on Space - VAR Directory.
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-22-2003 06:22 PM
06-22-2003 06:22 PM
Low on Space - VAR Directory.
This sure means I am out of space in the /var dir and it is 100% (using bdf). What can I clear off in the var directory to solve this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:28 PM
06-22-2003 06:28 PM
Re: Low on Space - VAR Directory.
You could see how big some log files are and trim them. SAM can assist with this.
/var/adm/syslog/syslog.log
/var/adm/syslog/mail.log
/var/adm/sw/sw/sw*.log
root's mail
/var/mail
If the mail is not important that has not been sent, you could remove these files as well.
# mailq
# rm /var/spool/mqueue/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:31 PM
06-22-2003 06:31 PM
Re: Low on Space - VAR Directory.
# cleanup -i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:36 PM
06-22-2003 06:36 PM
Re: Low on Space - VAR Directory.
# cleanup -c 2 or cleanup -c 1
This will remove patches that have been superseeded x2 or x1. Note that if you do this you will not be able to remove those patches.
You can also run in preview mode to see space gained eg.
# cleanup -p -c 2.
On many systems this will gain you quite a bit of space in /var.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:40 PM
06-22-2003 06:40 PM
Re: Low on Space - VAR Directory.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:43 PM
06-22-2003 06:43 PM
Re: Low on Space - VAR Directory.
#/usr/sbin/sendmail -q -v
#cd /var/spool/mqueue
#rm *
Also you can use ">" to empty other log files!
Good luck!
-ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 06:53 PM
06-22-2003 06:53 PM
Re: Low on Space - VAR Directory.
If cleaning up /var/tmp and trimming /var/adm/syslog/*log or /var/adm/sw/sw*.log didn't help you, then it is time for you to commit the old patches.
Take a backup of /var/adm/sw/save onto a tape.
#cleanup -c 4
This will commit the patches that are superceded atleast 4 times. Once it is done check the space in /var. If it not sufficient, then use 3. Do not go less than 2 (cleanup -c 2). In case if you need to backout any patches, you will run into issues.
That should clearup reasonable space in your /var.
-Sri