- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var cleanup
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
тАО05-15-2002 08:20 AM
тАО05-15-2002 08:20 AM
There are lots of the patch dir files can this be deleted ??
Solved! Go to Solution.
- Tags:
- cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:22 AM
тАО05-15-2002 08:22 AM
SolutionTake a look at this link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf39803bbece8d5118ff40090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:23 AM
тАО05-15-2002 08:23 AM
Re: /var cleanup
do not delete the file under /var/adm/sw manually. Use the patch cleanup utility "cleanup" to clean unrequired patches.
this utility is available in a patch format if it is not already avaialble on your system. Do "man cleanup" for more info on the utility.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:25 AM
тАО05-15-2002 08:25 AM
Re: /var cleanup
The *ONLY* way to safely manage the /var/adm/sw directory and its contents is with the 'cleanup' utility. If you are on 10.20, use 'cleanup' without any arguments. On 11.x, you can regain space with:
# cleanup -c 1
Have a look at the man pages for 'cleanup' for more information. Essentially the /var/adm/sw/save directory holds superseded patches. The issue is that if you ever need to back out a patch, you will need the patch's prior version -- the version that resides in this directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:30 AM
тАО05-15-2002 08:30 AM
Re: /var cleanup
filesets in here. You can house keep it, he only thing is you will not be able to uninstall these fileset/patch with swremove later. So in order to removed these copies, you have to commit these patches.
# swmodify -x patch_commit=true PHNE_XXXXX.\*
# swlist -l patch -a patch_state
==> check to make sure it's "committed"
If you don;t want to do the above manually then download "cleanup" utility and run it like so ..
# cleanup -c <#of-time-superseded>
I usually run it as ..
# cleanup -c 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:31 AM
тАО05-15-2002 08:31 AM
Re: /var cleanup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:33 AM
тАО05-15-2002 08:33 AM
Re: /var cleanup
By default at 11.0 during patch installation, SD-UX makes rollback copies of all files and archive library objects modified. These copies are saved under the "/var/adm/sw/save" directory structure.
You should not directly delete thos files. You can use the 'cleanup' command for doing this.
Check this document for more information (TKB #KBRC00002204):
http://us-support.external.hp.com/cki/bin/doc.pl/sid=147ca78702abf50c2e/screen=ckiDisplayDocument?docId=200000049452968
HTH,
Shiju