By default a dataset does not have a size limit, however it will either be
limited by the available space in the pool or it will be limited by a quota
on itself or on one of its parent datasets. You will not be able to create
a zvol that exceeds any of those limits since the zvol creation must
allocate the space needed for the size of the zvol you create.

Jerry


On Mon, Jul 25, 2016 at 6:57 PM, 龙白滔 <[email protected]> wrote:

> 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]>
> 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/member/archive/rss/184463/21516906-2011406d> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <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

Reply via email to