- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var file system almost 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
03-10-2003 04:06 AM
03-10-2003 04:06 AM
i want to obtain more space in /var file system.
I see that there are those directorie (whit used space):
/var/stm/logs/os 257 Mb
/var/adm/wtmp 122 Mb
/var/adm/sw/save 210 Mb
Is it possible to empty stm, wtmp and sw/save directories without problems for the system?
Thanks in advance
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 04:12 AM
03-10-2003 04:12 AM
Solutionhttp://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x18b2e7613948d5118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 04:12 AM
03-10-2003 04:12 AM
Re: /var file system almost full
You could check if you can remove superseded patches.
# man cleanup
# cleanup -p -c 1
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 04:43 AM
03-10-2003 04:43 AM
Re: /var file system almost full
I would also, like everyone else has said, look into the cleanup to cleanup up all superseded patches and your save directory.
As for the os logs, well I do clean mine from time to time, but I try to keep the recent ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 05:02 AM
03-10-2003 05:02 AM
Re: /var file system almost full
This will be you useful to determine which files are occupying more space inside the /var directory:
du -akx /var|sort -nr|more
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 06:03 AM
03-10-2003 06:03 AM
Re: /var file system almost full
quot /var
...to determine this. Anything other than root, admin, lp, etc. should be verified.
A lot of time people use /var as storage for the strangest stuff, like daily reports from cron scripts about applications stats.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 06:06 AM
03-10-2003 06:06 AM
Re: /var file system almost full
sam / routine tasks / system logs
...select wtmp for instance and let SAM do it for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2003 07:00 AM
03-10-2003 07:00 AM
Re: /var file system almost full
Here's a couple other things.
wtmp & btmp in /var/adm report the last login/last badlogin info. So if you don't need everything here you can trim it.
Using SAM and doing a trim on your system log files would be a good idea. SAM/Routine Tasks/Trim Files. As well as the mentioned 'cleanup' utility for cleaning up old patch info that will not change.
Now I might ask...do you have any software that logs to /var? Something like maybe OmniBack (/var/opt/ommni/*log) or others you might check for -
..or what about printing - are you taking up alot of space on /var/spool? Maybe you could move /var/spool to it's own mountpoint and free up /var.
Another place to clean up is /var/preserve. This directory often gets things left hanging and can be readily cleaned up..since it's just a temp directory the system dumps things while it's running...go ahead and get rid of the old stuff.
Just a couple thoughts,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 05:41 AM
03-11-2003 05:41 AM
Re: /var file system almost full
Ray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2003 05:43 AM
03-11-2003 05:43 AM
Re: /var file system almost full
cleanup -c 1 will cleanup the old patch sets.