[OmniOS-discuss] [OmniOS] Two problem for set a zfs dataset in a zone

Frédéric Alix frederic.alix at fredalix.com
Fri Jan 31 00:35:25 UTC 2014


Hello :)

I have two problem for use a zfs dataset in a zone.

First, i would like use it as a device

zfs create -V5g rpool/data0
In zonecfg:
add device
set match = "/dev/zvol/dsk/rpool/data0"
end

I boot the zone, and the device don't appear.
I read this, but it not resolve the problem
http://lists.omniti.com/pipermail/omnios-discuss/2013-February/000479.html

After, i try to use it lie this:
add dataset
set name = rpool/data0
end

and when i want boot the zone:
root at box:/var/tmp# zoneadm -z nappit0 boot
zone 'nappit0': cannot open ZFS dataset 'rpool/data0'
zoneadm: zone 'nappit0': call to zoneadmd failed

But my dataset exist
root at box:/var/tmp# zfs list rpool/data0
NAME          USED  AVAIL  REFER  MOUNTPOINT
rpool/data0  5,16G  33,2G    16K  -



Can you help me please ?

Regards, Frédéric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140131/1a418c5b/attachment.html>


More information about the OmniOS-discuss mailing list