Hi, lan Thanks very much for your help 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? 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
Thanks Jing From: Ian Collins <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Saturday, July 16, 2016 at 10:24 To: "[email protected]" <[email protected]> Subject: Re: [smartos-discuss] How do I check whether I successfully add ZFS volumes to non-global zones On 07/16/16 01:26 PM, 王靖 wrote: My question is that 1) How can I know whether successfully add the ZFS volume to this LX branded zone(CentOS) /native/sbin/zfs list in the zone. 2) Besides the zonecfg command, do I have some other methods to add the ZFS volume to this lx branded zone, like modifying the json file to achieve this target. Use the delegate_dataset option when you create the zone. -- Ian. smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> [https://www.listbox.com/images/feed-icon-10x10.jpg3e17dd9.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/184463/27989153-41c8820b> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.png3e17dd9.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc]<http://www.listbox.com> ------------------------------------------- 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
