+------------------------------------------------------------------------------
| On 2009-07-15 12:24:43, Alastair Neil wrote:
| 
| How then do you create two zpools with the same name one for the test zone 
and one for the devel zone?

You don't. But you can easily hack around it.

e.g.,

rpool/zones/zone1/testfs
rpool/zones/zone2/testfs

And then have your scripts incorporate /bin/zonename into their checks.

FS="rpool/zones/`/bin/zonename`/testfs"

Or whatever.

Of it's a matter of global vs. zone

tank/testfs
rpool/zones/zone1/testfs

if [ `zonename` != "global" ] ; then
  FS="rpool/zones/`zonename`/testfs"
else
  FS="tank/testfs"
fi

Or whatever...
-- 
bda
cyberpunk is dead. long live cyberpunk.
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to