Patches
Showing results for 
Search instead for 
Do you mean 

/var/adm/sw/save mount point

SOLVED
Go to Solution
Highlighted
Frequent Advisor

/var/adm/sw/save mount point

 Hi All,

 

There is a mount point /var/adm/sw/     it has a directory /var/adm/sw/save  which contains all the patch directories. Just want to know if  i can delete or compress these patch directories inside the path /var/adm/sw/save ? currently this directory is taking too much of space.

 

 

Thanks and Regards,

 

VA

Lead Engineer, IMS.
iGATE
1 ACCEPTED SOLUTIONS
Acclaimed Contributor Acclaimed Contributor

Re: /var/adm/sw/save mount point

[ Edited ]

If you fiddle with this, you'll destroy the IPD and not be able to roll back patches.

You can use cleanup(1m) to remove superseded patches and save space.

8 REPLIES
Acclaimed Contributor Acclaimed Contributor

Re: /var/adm/sw/save mount point

[ Edited ]

If you fiddle with this, you'll destroy the IPD and not be able to roll back patches.

You can use cleanup(1m) to remove superseded patches and save space.

Frequent Advisor

Re: /var/adm/sw/save mount point

Hey Dennis,

thanks a lot for you reply! just a bit of correction to your reply. The command is cleanup and not clean_up.

anyways thanks again. just going through the man pages before executing the command.


Regards,
VA
Lead Engineer, IMS.
iGATE
Honored Contributor Honored Contributor

Re: /var/adm/sw/save mount point

Hi:

 

The cleanup -c command can be executed to commit all patches that have      been superseded specified number of times.  The only benefit from      committing patches is that disk space will be recovered in the      /var/adm/sw/save directory.

 

Preview:

 

# bdf /var

 

# cleanup -p -c 2

 

Commit:

 

# cleanup -c 2

 

# bdf  /var

 

rgs,

 

Frequent Advisor

Re: /var/adm/sw/save mount point

thanks rariasn,

is it an administrative command? do i need to take some ignite backup before running this command? just want to know if i have to go through Change Management?


Regards,
VA.
Lead Engineer, IMS.
iGATE
Acclaimed Contributor Acclaimed Contributor

Re: /var/adm/sw/save mount point

>is it an administrative command? Do I need to take some ignite backup before running this command?

 

Yes, it requires root.  It depends on how safe you feel in using that command.

Honored Contributor Honored Contributor

Re: /var/adm/sw/save mount point

HI:



> is it an administrative command?

 

All root filesystems, software depots, and products in software depots     are protected by ACLs.

 

SD's nonprivileged mode is intended only for managing    applications that are specially designed and packaged.  

 

You cannot use this mode to manage the HP-UX operating   system or patches to it.

 

> do i need to take some ignite backup before running this command?

 

no

 

 

> ust want to know if i have to go through Change Management?

 

I think that not need

 

rgs

 

 

rgs,

 

 

 

 

Acclaimed Contributor Acclaimed Contributor

Re: /var/adm/sw/save mount point


vijay alur alur wrote:
is it an administrative command? do i need to take some ignite backup before running this command? just want to know if i have to go through Change Management?

As noted, you must be 'root' to execute this.  An Ignite backup is always good insurance, though I have never had a problem running 'cleanup'.  Whether or not you need to go through Change Management will be dictated by your organization's policies.  At the very least, you might record when and where you do changes like this.

 

Regards!

 

...JRF...

Acclaimed Contributor Acclaimed Contributor

Re: /var/adm/sw/save mount point

>if I have to go through Change Management?

 

You may want to do cleanup(1m) after you install Quality packs.