Patches
Showing results for 
Search instead for 
Do you mean 

removing patches in the save_custom directory

SOLVED
Go to Solution

removing patches in the save_custom directory

I would like to know if the patches in the /var/adm/sw/save_custom directory can be removed. Typically when I'm running out of space in /var I would tar up /var/adm/sw/save to a different mount point. I would then remove all patches in the save directory. This would clear needed space in /var. I also noticed there's a /var/adm/sw/save_custom directory. Would it be possible to run the same procedure on this directory to clear up additional space?
5 REPLIES
Highlighted
Acclaimed Contributor Acclaimed Contributor

Re: removing patches in the save_custom directory

Hi Shawn:

The safest and simplest way to cleanup '/var/adm/sw' (the Installed Product Database) and recover space in '/var' is to use the 'cleanup' command.

# cleanup -c 1

...will remove patch roll-back images for patches that have been committed. This can free very substantial amounts of disk space.

Regards!

...JRF...

Re: removing patches in the save_custom directory

Understood. We've always used the method I stated above. I really don't want to stray from that method since it has worked well in the past. I would like to know if that directory is similar to the save directory and if it would be safe to tar and remove its contents. Thanks for your quick reply.
Acclaimed Contributor Acclaimed Contributor

Re: removing patches in the save_custom directory

Hi (again) Shawn:

The '/var/adm/sw/save_custom' directory is used for patches that require special installation procedures beyond merely copying the rollback information into '/var/adm/sw/save'.

Hence, yes, it would be safe to move the contents to its own mountpoint just as you have with '/var/adm/sw/save'.

Regards!

...JRF...

Re: removing patches in the save_custom directory

Thanks! I appreciate your help. Points will be assigned.

Re: removing patches in the save_custom directory

James provided the answer above.

Thanks, Shawn