Jerry,
Thanks for well explaining the right solution. We have tried the delegation solution and found that the delegated dataset was always about 20 or 25 GB in size. How can we configure the size? Baitao ________________________________ 发件人: Jerry Jelinek <[email protected]> 发送时间: 2016年7月26日 5:46:36 收件人: [email protected] 主题: Re: [smartos-discuss] Non-global zone accesses a slice of disk or add a volume to non-global zone Responding to several of the questions in this thread. First, adding a raw "disk" device is useful for some applications, for example MapR, which require and expect to have one or more "disk" devices dedicated for their use. As far as configuring a zvol into a zone, there is a bug in the sdev devlink generator which currently prevents you from using a zvol via the zonecfg 'add device' configuration code. You need to delegate a dataset into the zone, as was previously suggested, and then you can create zvols inside the delegated dataset. If you are using an lx branded zone, then you must reboot the zone for all of the zvol disk devices to show up properly throughout the lx emulation. Jerry On Mon, Jul 25, 2016 at 2:10 PM, Ian Collins <[email protected]<mailto:[email protected]>> wrote: On 07/25/16 10:59 PM, 史鑫鑫 wrote: Hi Ian, You means delegate a volume to non-global zone? Volume can’t be delegated to a non-global zone. Robert addressed this. I tried delegate a file system to a zone, but we prefer to add a raw device, but add a whole disk to zone may wast too much disk, so I would like add a volume to non-global zone. But why do you want to add raw device? -- Ian. http://www.listbox.com smartos-discuss | Archives<https://www.listbox.com/member/archive/184463/=now> [https://www.listbox.com/images/feed-icon-10x10.jpg1249f3d.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc] <https://www.listbox.com/member/archive/rss/184463/27408809-83ccdc46> | Modify<https://www.listbox.com/member/?&> Your Subscription [https://www.listbox.com/images/listbox-logo-small.png1249f3d.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
