On 7/18/16 6:14 , 王靖 wrote:
> 1)After I use the command /native/sbin/zfs list. I cannot find the zfs volume 
> that I added. I think the right directory is /dev/zvol/dsk/zones/vol, but I 
> cannot find the vol directory. Does I use the “zonecfg add device” wrong? 
> Could you please help me?

If you set delegate_dataset: true in your json, then it will create a
dataset with the name zones/<uuid>/data.

> 2)Besides I set the “delegate_dataset”: true. I also set the 
> “datasets”:/zones/vol. It seems that this is not right? I find that there is 
> very little information in the Google.  Could you please offer me an example 
> of how to use this option? Thanks very much

The way to use it is fully documented in the vmadm manual page. On your
system, run the command: `man vmadm`. You can find it online at:
https://smartos.org/man/1m/vmadm.

Robert



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to