[OpenIndiana-discuss] Delegating ZFS to the Zone

Damo cian.scripter at gmail.com
Sat Jan 18 18:27:21 UTC 2014


Did you try

zfs set mountpoint=none zpool/zone1

prior to adding the dataset to the zone configuration ?


On Sat, Jan 18, 2014 at 10:37 AM, Handojo <handoyog at yahoo.com> wrote:

> Has anyone ask about this topic before ?
>
> [gz] zfs create zpool/zone1
>
> [lz] zonecfg -z zone1
> zonecfg:zone1 > add dataset
> zonecfg:zone1:dataset > set name = zpool/zone1
> zonecfg:zone1:dataset > end
> zonecfg:zone1 > exit
>
> upon booting the zone, it says :
> could not verify zfs dataset zpool/zone1 : mountpoint cannot be inherited
>
> if I didn't create the zpool/zone1, then the error is : dataset does not
> exist
>
>
> Doing this one also fails at set alias ( as is instructed here
> http://docs.oracle.com/cd/E23824_01/html/821-1448/gayov.html#gbbst ):
>
> zonecfg:zone1 > add dataset
> zonecfg:zone1:dataset > set name = zpool/zone1
> zonecfg:zone1:dataset > set alias = myZone1
>
>
> Syntax error at '='
>
>
> I noticed that there must be different implementation of zone between OI
> and S11
>
>
> So how do we delegate ZFS to zone ?
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the OpenIndiana-discuss mailing list