Alastair Neil
2009-Jul-09 20:41 UTC
[zfs-discuss] creating a zpool inside a zone with zvols from the global zone
I''m not sure if this is the correct list for this query, however, I am trying to create a number of zpools inside a zone. I am running snv_117 and this is a ipkg banded zone, here is the zone configuration: ajn at vs-idm:~$ zonecfg -z vsnfs-02 export> create -b > set zonepath=/rpool/zones/vsnfs-02 > set brand=ipkg > set autoboot=true > set ip-type=shared > add net > set address=xxx.xxx.xxx.xxx > set physical=e1000g0 > end > add device > set match=/dev/zvol/dsk/rpool/[uw][0123]-test > end > add device > set match=/dev/zvol/rdsk/rpool/[uw][0123]-test > end >The device for the pool is a zvol created in the global zone and added to the local zone using "add device" in zonecfg. I get this error: pfexec zpool create -m /VS/home/.u0 u0 /dev/zvol/dsk/rpool/u0-test> cannot create ''u0'': permission denied >I take it I am trying to do something that is not intended? Thanks, Alastair -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20090709/639125cd/attachment.html>