cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Xu <Xuefei...@citrix.com>
Subject RE: Create a VDI in an SR as large as possible
Date Tue, 11 Jun 2013 17:43:58 GMT
Please notice the maximum size of VDI is 2T,

Anthony

-----Original Message-----
From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com] 
Sent: Tuesday, June 11, 2013 10:37 AM
To: dev@cloudstack.apache.org
Subject: Re: Create a VDI in an SR as large as possible

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.tutkowski@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.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*
>



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

Mime
View raw message