1832650 Members
2965 Online
110043 Solutions
New Discussion

swcopy vs make_depots

 
SOLVED
Go to solution
Jun Zhang_4
Regular Advisor

swcopy vs make_depots

Considering the disk space efficiency, I would like to copy only the needed bundles from CD to disk --- creating depots in so doing for later use. I guess make_depots command copies everything from the CD. Can I create depots without using make_depots but swcopy?

Jun Z
Food lover
4 REPLIES 4
Bernhard Mueller
Honored Contributor
Solution

Re: swcopy vs make_depots

Hi,

sure you can, just select a target, if such a directory does not exist swcopy will create it and it will be registered as a depot.

Verify after swcopy session using
swlist -l depot
swlist -s /path_to_depot

Regards,
Bernhard
G. Vrijhoeven
Honored Contributor

Re: swcopy vs make_depots

HI Jun Z.

If you have the CD you can install directly from it so you do not need to copy it to depot. If you need to install software on an other server ( lets call it server B) just run a swreg -l depot /cdrom/depotpath on serverA. Start a swinstall session on serverB and connect to Server A and install.

Gideon
Steven E. Protter
Exalted Contributor

Re: swcopy vs make_depots

Attaching a potentially useful script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: swcopy vs make_depots

Set enforce_dependencies=false when you copy - else some filesets may not get put into the depot - ie when creating a pacth depot:

swcopy -x enforce_dependencies=false -s /cdrom \* @ /var/software/patch/11i.jan2004

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.