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]> 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.
> 



-------------------------------------------
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