Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Destroying a local IPS repository

3974148Feb 18 2020 — edited Feb 20 2020

I have a local PS repository set up to deliver the following IPS releases:

# pkg list -af entire

NAME (PUBLISHER)                                  VERSION                    IFO

entire                                            11.4-11.4.11.0.1.4.0       ---

entire                                            11.4-11.4.0.0.1.15.0       ---

entire                                            0.5.11-0.175.3.36.0.10.0   i--

entire                                            0.5.11-0.175.3.35.0.6.0    ---

entire                                            0.5.11-0.175.3.29.0.5.0    ---

entire                                            0.5.11-0.175.3.21.0.5.0    ---

entire                                            0.5.11-0.175.3.20.0.6.0    ---

entire                                            0.5.11-0.175.3.1.0.5.0     ---

entire                                            0.5.11-0.175.2.15.0.4.0    ---

entire                                            0.5.11-0.175.2.0.0.42.0    ---

entire                                            0.5.11-0.175.1.19.0.6.0    ---

entire                                            0.5.11-0.175.1.0.0.24.2    ---

#

All of the Solaris 11 servers in our fleet currently run Solaris 11.3.36.10.0.

I will shortly be upgrading the fleet from Solaris 11.3.36.10.0. to 11.4.18.4.0 over a period of a couple of months.

During this period I want the repository to only have the Solaris 11.3 and 11.4 base releases and 11.3.36.10.0 and 11.4.18.4.0 SRUs available as we no longer have any need for the older SRUs and we'd like to reclaim the disk space used by them.

My understanding is that the entire repository will need to be destroyed and rebuilt.

My question is, what is the correct procedure for destroying the repository?  Note that we have this set up on an NFS mount, not ZFS:

# svccfg -s pkg/server listprop | grep pkg/inst_root

pkg/inst_root                                                 astring     /nas_mnt/common/solaris11-repo/

# df -h /nas_mnt/common/solaris11-repo/

Filesystem             Size   Used  Available Capacity  Mounted on

pns251:/vol_sol_shared_admin/sol_shared  325G   271G        54G    84%    /nas_mnt/common

#

Thanks.

This post has been answered by Nik on Feb 19 2020
Jump to Answer
Comments
Post Details
Added on Feb 18 2020
4 comments
478 views