Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
solarg wrote: thanks for all reply, but can you suggest a way to lower the space occupied by a such zone? the problem with os2008.11 is that everything is installed at initial setup, but having zones occupying more than 5Gb is very bad! This is incorrect. Only a small subset of packages are installed. I just did a fresh zone install. It only took 144 MB and there are the only 58 packages installed. If you've added extra packages you don't need, removing them will reduce the size of the zone. Likewise with zfs snapshots or clones you're not using. We're looking at sparse zones or other alternatives for the future, but since IPS does not currently support that concept, it cannot be used on OpenSolaris at this point. Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
thanks for all reply, but can you suggest a way to lower the space occupied by a such zone? the problem with os2008.11 is that everything is installed at initial setup, but having zones occupying more than 5Gb is very bad! gerard ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
On Thu, Apr 30, 2009 at 09:33:57AM -0600, Jerry Jelinek wrote: > solarg wrote: >> hello all, >> i'm wondering how to create a sparse zone in os2008.11: > > Sparse zones are not currently supported on opensolaris. > > This is tracked as: > 2550 Support for sparse root zones > >> - in solaris 10, just use "create" instead of "create -b" does a >> "sparse" zone >> - in os2008.11, you have to add manually: >> add inherit-pkg-dir >> set dir=/lib >> end >> add inherit-pkg-dir >> set dir=/platform >> end >> add inherit-pkg-dir >> set dir=/sbin >> end >> add inherit-pkg-dir >> set dir=/usr >> end > > Don't do that. > > The IPS pkg software does not currently support the concept > of a sparse zone. The inherit-pkg-dir directive is > intimately tied to the packaging software. Only the svr4 > pkg software supports sparse zones right now. > to help avoid this type of confusion in the future i just filed: 8567 ipkg zones verify callback should abort if it sees inherit-pkg-dir ed ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
On Thu, Apr 30, 2009 at 11:25 AM, solarg wrote: > hello all, > i'm wondering how to create a sparse zone in os2008.11: > - in solaris 10, just use "create" instead of "create -b" does a "sparse" > zone > - in os2008.11, you have to add manually: > add inherit-pkg-dir Ermmm ... I don't think zones in OS is of the same type as zones in S10. They are of type ipkg, and in 10, they can be of type native, branded, etc. Zones in OS are independent of the global zone, they pull their own packages using the package manager. You may even say that the concept of "sparse" and "whole" doesn't apply to zone in OS. CT -- http://www.apress.com/book/view/1430218916 --- Pro OpenSolaris - It's what's for dinner. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
solarg wrote: hello all, i'm wondering how to create a sparse zone in os2008.11: Sparse zones are not currently supported on opensolaris. This is tracked as: 2550 Support for sparse root zones - in solaris 10, just use "create" instead of "create -b" does a "sparse" zone - in os2008.11, you have to add manually: add inherit-pkg-dir set dir=/lib end add inherit-pkg-dir set dir=/platform end add inherit-pkg-dir set dir=/sbin end add inherit-pkg-dir set dir=/usr end Don't do that. The IPS pkg software does not currently support the concept of a sparse zone. The inherit-pkg-dir directive is intimately tied to the packaging software. Only the svr4 pkg software supports sparse zones right now. Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] zones in opensolaris (os200811) differs from zones in solaris 10?
hello all, i'm wondering how to create a sparse zone in os2008.11: - in solaris 10, just use "create" instead of "create -b" does a "sparse" zone - in os2008.11, you have to add manually: add inherit-pkg-dir set dir=/lib end add inherit-pkg-dir set dir=/platform end add inherit-pkg-dir set dir=/sbin end add inherit-pkg-dir set dir=/usr end but one thing i don't understand is the space devoted to the zones: here for the "sparse" zone rpool/export/toto 237M 15.8G37K /export/toto rpool/export/toto/ROOT 236M 15.8G18K legacy rpool/export/toto/ROOT/zbe 236M 15.8G 236M legacy here for a "whole" zone: rpool/export/catalogue4 4.93M 15.8G37K /export/catalogue4 rpool/export/catalogue4/ROOT 4.90M 15.8G18K legacy rpool/export/catalogue4/ROOT/zbe 4.88M 15.8G 235M legacy thanks for help, gerard ___ zones-discuss mailing list zones-discuss@opensolaris.org