- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remove files /var
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
02-28-2007 07:51 AM
02-28-2007 07:51 AM
I need release space, in fs /var
I can remove files on /var/adm/sw/patch
???
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 07:58 AM
02-28-2007 07:58 AM
Re: remove files /var
It is not safe to remove these entries in /var/adm/sw/patch unless you have run cleanup. Removing a directory in this location, could prevent you from backing out a patch that is currently loaded on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 07:59 AM
02-28-2007 07:59 AM
Re: remove files /var
You can use the cleanup utility.
below command will commit any patches superseded once. They will no longer be removeable.
preview
# cleanup -p -c 1
# cleanup -c 1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 07:59 AM
02-28-2007 07:59 AM
Solutionhttp://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=81631
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 08:26 AM
02-28-2007 08:26 AM
Re: remove files /var
Absolutely do *not* manually remove or manipulate files in '/var/adm/sw'. This directory's contents represent the Installed Product Database in which the software distributer tools ('swinstall', etc.) operate.
If you corrupt or remove files in this directory, you can end up with a system that can never be patched again!
To regain space in '/var' use the 'cleanup' command as noted. See its manpages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 10:46 AM
02-28-2007 10:46 AM
Re: remove files /var
This directory holds all of the files needed to restore the system when a patch is removed. When this backup data is deleted the patch is "committed" and cannot be removed. This will not harm the running system, but could cause great pain if a patch needs to be removed in the future.
If your system has been updated to 11.0 or later, this full directory is no longer of value. As of 11.0 the SD tools manage patches directly. Any manual changes to the save or save_custom directories on 11.X releases would be corrupting the IPD and could lead to a "bad day". In 10.X the patch directory (and patches in general) where a little trick we played on SD. Technically, the patch directory is near but outside of the IPD itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2007 11:58 AM
02-28-2007 11:58 AM
Re: remove files /var
You can do couple of things here ..
1. Trim your /var/adm/syslog/syslog.log file if its big.
2. trim /var/adm/syslog/mail.log file if its big .
3. If you /var/adm/crash is not a seperate File system , you can remove any crash files , if its there .
4. # cd /var
# du -sk * | sort -n and see what is taking more space and see if its something you can zip or remove.
5. Its beter not to remove anything from the /var/adm/sw !!
6. You can also remove the old files from /var/tombstones/tsXX files.
Rgds / James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2007 05:25 AM
03-01-2007 05:25 AM