Hi Sri,
SST is using the following commands to sync our AI server with RE (complete contents):

dist_server="http://ipkg.us.oracle.com/solaris11/dev/";
pkg_root=$(svcprop -p pkg/inst_root pkg/server)

if pkgrecv -s "$dist_server" -d "$pkg_root" '*'; then
  svcadm refresh pkg/server
  svcadm restart pkg/server
fi

Current disk usage for IPS repo only, having all development builds:
 91G for opensolaris.org publisher (86-150)
 53G for solaris publisher (151-173)

Regards
Hark


On 09/ 7/11 01:56 AM, [email protected] wrote:


On 9/6/2011 4:07 PM, Shawn Walker wrote:
On 09/06/11 16:00, [email protected] wrote:
...
My concern is mirroring everything could take up a lot of unecessary
space, not to mention the time required to complete initial mirror. Just
pulling over a single build (around 5-6GB) can take a couple of hours.
Pulling over from each ISO seems like a cumbersome process, given that
all the content is already available at the repo URL.

Is adding support to pkgrecv to pull over a specific build worthy of
a CR?

The problem is that pkgrecv doesn't currently have access to the
information necessary to do that. Keep in mind that build number alone
won't get you all of the packages for a single build. Some packages
are only published when they change, such as those from userland. So
you will have a mix of packages from build 169, 172, etc. in some cases.

That's why the earlier approach you tried doesn't work as expected,
and why this really isn't a failing (directly) of pkgrecv.

With that said, there are already RFEs open for pkgrecv to make it
easier to selectively retrieve packages.

Thanks Shawn. It is possible to configure a mirror to automatically pull
down any content that it doesnt have from its origin when a request is
made? I suspect not, but I thought I'd ask.

--shri


-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to