- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backup /var/adm/sw/save then remove..
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
07-24-2003 04:28 AM
07-24-2003 04:28 AM
Thanks
Joe
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:33 AM
07-24-2003 04:33 AM
Re: Backup /var/adm/sw/save then remove..
I would do this:
cleanup -c 1
It will commmit all patches superseded more than once, which will probably save a ton of space if you've been patching.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:34 AM
07-24-2003 04:34 AM
Re: Backup /var/adm/sw/save then remove..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:35 AM
07-24-2003 04:35 AM
Re: Backup /var/adm/sw/save then remove..
If you're not going to install patches in the mean time ... go ahead. I've done this without problems. An even better solution (if you have the space) is to move /var/adm/sw/save to a different filesystem (lv_var_adm_sw_save created in a volumegroup not on the bootdisk) for the time being. As long as you move it back afterwards ...
Regards,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:35 AM
07-24-2003 04:35 AM
Solutioncleanup -p -c 2
will do a preview of how many space you will gain, deleting patches that are superceded two times.
cleanup -p -c 1
... one time
cleanup -c #
will commit and remove those patches.
Chek the size of /var/adm/crash/* files, and of /var/adm/syslog/*.log files
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:37 AM
07-24-2003 04:37 AM
Re: Backup /var/adm/sw/save then remove..
That's possible but you might want to look at the cleanup command. It removes superceded patches, thus freeing space in /var. Do a man cleanup, then try "cleanup -c 1".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:39 AM
07-24-2003 04:39 AM
Re: Backup /var/adm/sw/save then remove..
While you are reorganising (and if your boot disk is large enough) why not move /var/adm/sw itself to it's own filesystem. When we create a server we do this by default (reserving 1024Mb for /var/adm/sw).
Regards,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:40 AM
07-24-2003 04:40 AM
Re: Backup /var/adm/sw/save then remove..
If it is a 11.00/11i system the patch magmt. has changed.
If you now must deinstall a critical patch for example. The system does not simply remove the patch it will do a rollback to the state before. And that can mean that it installs the patch what was topic before you installed the follower patch. Due to that fact the system needs also the patch before.
But for the moment it has no affect to the system if you backup the directory and remove the files there. But it can be difficult if you must remove patches.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:40 AM
07-24-2003 04:40 AM
Re: Backup /var/adm/sw/save then remove..
Why not setup a symbolic link for the request directory of the queue that you are printing to so that it points to a filesystem that has more space. It might get you out of trouble.
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:49 AM
07-24-2003 04:49 AM
Re: Backup /var/adm/sw/save then remove..
# cleanup -c
And I think you should have /var/adm/sw/save in its own file system. That way if you need more space, you can easily extend it.