1827612 Members
3170 Online
109966 Solutions
New Discussion

/var/adm/sw/save

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

/var/adm/sw/save

Hi all

HPUX11 - I'm currently looking at trying to clear some space in /var to save having to extend it. I've cleared the usual via sam and used cleanup -c 3 for superseded patches. I have a load of stuff in /var/adm/sw/save. Can these patches be cleared ? if so , what option of cleanup. Or am I going to have to extend it ?

Thanks in advance

Steve
take your time and think things through
7 REPLIES 7
Jeff Schussele
Honored Contributor

Re: /var/adm/sw/save

Hi Steve,

cleanup -c is the proper command, but I would bring the integer down to at least 2 if not 1 to gain some further space.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Tom Danzig
Honored Contributor

Re: /var/adm/sw/save

I would use "cleanup -c 1"

Why would you want to save patch files from patches that have bee superseded 3 time?

If you want to be safe, backup /var/adm/sw to tape first.
Sajid_1
Honored Contributor
Solution

Re: /var/adm/sw/save

hi,

This document will help you:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000049452968

Doc ID - KBRC00002204
learn unix ..
steven Burgess_2
Honored Contributor

Re: /var/adm/sw/save

Hi all

thanks for the replies. I used cleanup -c 3 as an example

cleanup -c 1 gives

No non-committed patches superseded at least 1 time(s) are present.
All information has been logged to /var/adm/cleanup.log.

Steve

take your time and think things through
steven Burgess_2
Honored Contributor

Re: /var/adm/sw/save

Sajid

Where do you get access to the docs - do you have a support contract ?

Steve
take your time and think things through
Sajid_1
Honored Contributor

Re: /var/adm/sw/save

hi steve,

Yes, I do have full support contract from HP. You will get more access to HP's web resources when you have the same included in the contract.

For the other question, check the man pages of 'cleanup' command too, it says about committing patches and cleaning it up:
# man cleanup

HTH
learn unix ..
James R. Ferguson
Acclaimed Contributor

Re: /var/adm/sw/save

Hi Steve:

Don't attempt to recover space in the '/var/adm/sw/' directory other than via 'cleanup'.

An excellent document on patch management, well worth the time to read it, is "HP-UX Patch Management: A guide to patching HP-UX 11.x systems":

http://docs.hp.com/hpux/pdf/5967-3578.pdf

Regards!

...JRF...