You are creating a non-global zone on your system.Which option assigns a zpool to a non-global zone, and gives the zone

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

You are creating a non-global zone on your system.Which option assigns a zpool to a non-global zone, and gives the zone

Post by answerhappygod »

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 non-global 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply