You are creating a non-global zone on your system. Which option assigns a zpool to a
non-global zone, and gives the zone administrator permission to create zfs file system in
that zpool?
A.
While creating the non-global zone, make the following entry: add device set
match=/dev/rdsk/c4t0d0 end Boot the zone and log in the zone as root. Create the zpool:
zpool create pool2 c4t0d0 In the non-global zone, root can now create ZFS file system in
the pool2 zpool
B.
In the global zone, create the zpool: global# zpool create pool2 c4t1d0 While creating the
no-global zone, make the following entry: add dataset set name=pool2 end add fs set
dir=pool1 set special=pool1 set type=zfspool1 end Boot the zone, log in the zone as root,
and create the zfs file system in the pool2 zpool.
C.
In the global zone, create the zpool: global#zpool create pool2 c4t1d0 While creating the
global zone, make the following entry: add dataset set name=pool2 end Boot the zone, log
in to the zone as root and create the zfs file systems in the pool2 zpool.
D.
In the global zone, create the zpool and the ZFS file systems that you want to use in the
nonglobal zone: global#zpool create pool2 c4t1d0 global#zfs create pool2/data While
creating the non-global zone, make the following entry for each ZFS file system that you
want to make available in the zone: add fs set dir=/data set special=pool2/data set type=zfs
end
E.
Create the zpool in the global zone: global#zpool create pool2 c4t1d0 Boot the
non-global zone, log in to the zone as root, and issue this command to delegate ZFS
permissions to root: non-global zone# zfs allow root create , destroy, mount pool2 Log in to
the non-global zone create ZFS file systems in the pool2 zpool.
Explanation: