On Wed, Jul 15, 2009 at 11:28:21AM -0700, Alastair Neil wrote: > I am trying to set up two zones to exactly duplicate a production server one > for test and one for development. The production server has a number of > zpools which are specifically named and the scripts we are testing expect > this naming. > > I have run in to a brick wall, as it seems that it is impossible to create > zpools inside a zone, I can add devices ( zfs volumes) from the global zone > or add files systems but since I need two distinct but identical environments > I am at a loss how to proceed. > > Any pointers?
it's not possible to create or manage zpools inside of zones. the best you can do is create a zpool in the global zone, and then use the zonecfg dataset resource to dedicate that zpool dataset to a zone. then you can create and manage zfs datasets within that zpool using the zfs command. ed _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org