- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- patch management and disk usage
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
05-30-2002 05:17 AM
05-30-2002 05:17 AM
patch management and disk usage
Greetings, I'm having issues with disk space that are associated with patch installations. The question is: what can I remove from /var/adm/sw that will maintain system integrity and reduce disk usage? What is the best way to manage this? For example can I remove save or products?
Thanks
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:20 AM
05-30-2002 05:20 AM
Re: patch management and disk usage
Hi,
You can do several things.
1. trim the logfiles.
2. remove superseeded patches.
This can be done with this command:
cleanup -n -c 2
This requires patch PHCO_2437 or later
See the man-page for more info.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:22 AM
05-30-2002 05:22 AM
Re: patch management and disk usage
There is only one way to manage the /var/adm/sw/ directory and leave your system in a state that it can still be patched, and that is to use the 'cleanup' utility. This utility will also trim the SD log files in addition to committing patches and removing superseded software copies.
If you are running 10.20, I suggest:
# cleanup
If you are running 11.x, I suggest:
# cleanup -c 1
Have a look at the man pages for more details.
If your system isn't recently patched, download the latest, appropriate 'cleanup' patch (and manpages) from the ITRC Patch Database.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:23 AM
05-30-2002 05:23 AM
Re: patch management and disk usage
do not try to delete anything manually from the /var/adm/sw directory. To cleanup this directory and reclaim the disk space, try the patch cleanup utility "cleanup". This utility come as a patch,the patch no is PHCO_24347 for 11.0 and PHCO_20824 for 10.20.
This utility runs as a command to cleanup the old/superceded patches. do "man cleanup" for more info on this utility.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:25 AM
05-30-2002 05:25 AM
Re: patch management and disk usage
However I did come unstuck with this recently as it makes patches nearly impossible to remove if tou subsequently find there is a bug in the patch. I had to get HP support to connect in to remove a patch, so now I just added loads more space to /var and keep the patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:30 AM
05-30-2002 05:30 AM
Re: patch management and disk usage
As noted, avoid (at your own peril) the "nosave" option during patch management! The patch that you do this for will undoubtedly be the patch you want to back-out. My choice is to run 'cleanup -c 1' to commit patches and regain space in /var/adm/sw/ *before* applying large bundles (like the SupportPlus Quality Pack).
Regards!
...JRF...