- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it safe to remove patches in /var/adm/save, if ...
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
Discussions
Discussions
Forums
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
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
тАО10-20-2004 04:12 AM
тАО10-20-2004 04:12 AM
Is it safe to remove patches in /var/adm/save, if is, how?
thanks,
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:14 AM
тАО10-20-2004 04:14 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
If the cleanup command can't do it, you may need to extend the /var filesystem.
That assumes the reason you are looking at this is disk space issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:17 AM
тАО10-20-2004 04:17 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
If you dont' get space with 'cleanup -c 1' option, then you have no choice except to clean other stuff in /var filesystem or increase it. Do not remove the files under that directory. If you need to backout any patches in future, you will not be able to do so if you remove them.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:18 AM
тАО10-20-2004 04:18 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
"cleanup" command is the only way to reclaim the space under /var/adm/sw.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065680035
The doc id is KBRC00002204.
Manually removing directories under /var/adm/sw/save would create a problem for you if you want to rollback.
how bid is your /var/adm/sw. is it under /var, if so how big is your /var. Maybe you can reclaim space elsewhere and leave /var/adm/sw as it is. Once /var/adm/sw is messed up, you'll have lot more trouble than it is worth.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:25 AM
тАО10-20-2004 04:25 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
Other option - increasing /var is one. If unable to do that, you can take some stuff from /var and make it its own filesystem/mount point. Example, /var/adm/crash can be put into another VG and you can create a filesystem (LV) and create the mount point.
Check other files such as the syslog and maillog to see if they can be truncated.
To find the biggest space offender
du /var -x -ka | sort -nr | more
Provides a list of files in size ascending order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:28 AM
тАО10-20-2004 04:28 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
This guide may be old, but the explanation of how committing patches affects the system still holds true.
http://docs.hp.com/hpux/pdf/5967-3577.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2004 04:44 AM
тАО10-20-2004 04:44 AM
Re: Is it safe to remove patches in /var/adm/save, if is, how?
cleanup - HP-UX 11.11 patch cleanup utility
SYNOPSIS
cleanup [-n|-p] -c
cleanup [-n|-p] -d
cleanup [-n|-p] -i
cleanup [-n|-p] -s
DESCRIPTION
The cleanup command provides functions useful when dealing with HP-UX
patches on HP-UX 11.11.
The cleanup command logs all information to /var/adm/cleanup.log.
Rgds...Geoff