<div dir="ltr">Hello :)<div><br></div><div>I have two problem for use a zfs dataset in a zone.</div><div><br></div><div>First, i would like use it as a device</div><div><br></div><div>zfs create -V5g rpool/data0</div><div>
In zonecfg:</div><div>add device</div><div>set match = "/dev/zvol/dsk/rpool/data0"</div><div>end</div><div><br></div><div>I boot the zone, and the device don't appear.</div><div>I read this, but it not resolve the problem</div>
<div><a href="http://lists.omniti.com/pipermail/omnios-discuss/2013-February/000479.html">http://lists.omniti.com/pipermail/omnios-discuss/2013-February/000479.html</a><br></div><div><br></div><div>After, i try to use it lie this:</div>
<div>add dataset</div><div>set name = rpool/data0</div><div>end</div><div><br></div><div>and when i want boot the zone:</div><div><div>root@box:/var/tmp# zoneadm -z nappit0 boot</div><div>zone 'nappit0': cannot open ZFS dataset 'rpool/data0'</div>
<div>zoneadm: zone 'nappit0': call to zoneadmd failed</div></div><div><br></div><div>But my dataset exist</div><div><div>root@box:/var/tmp# zfs list rpool/data0</div><div>NAME USED AVAIL REFER MOUNTPOINT</div>
<div>rpool/data0 5,16G 33,2G 16K -</div></div><div><br></div><div><br></div><div><br></div><div>Can you help me please ?</div><div><br></div><div>Regards, Frédéric</div></div>