Also, I've tried leaving the "virtualsize" property un-set, but it defaults
to a fairly small size.


On Tue, Jun 11, 2013 at 11:37 AM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> At one point I tried the following, but it didn't work (the VDI's size was
> set too high):
>
> vdir.virtualSize = sr.getPhysicalSize(conn) -
> sr.getPhysicalUtilisation(conn);
>
>
> On Tue, Jun 11, 2013 at 11:31 AM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
>
>> Hi,
>>
>> I want to create an SR that has a single VDI that takes up all of the
>> available space of the SR.
>>
>> The SR has some metadata on it, so I can't just set the size of the VDI
>> equal to the size of the SR.
>>
>> Right now, I take the size of the SR and trim off some hard-coded number.
>>
>> Anyone know how I can come up with this number dynamically?
>>
>> Thanks!
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the 
>> cloud<http://solidfire.com/solution/overview/?video=play>
>> *™*
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to