RE: Create a VDI in an SR as large as possible

2013-06-11 Thread Anthony Xu
Please notice the maximum size of VDI is 2T, Anthony -Original Message- From: Mike Tutkowski [mailto:mike.tutkow...@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

Re: Create a VDI in an SR as large as possible

2013-06-11 Thread Mike Tutkowski
13 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.getPhysicalUtilisat

Re: Create a VDI in an SR as large as possible

2013-06-11 Thread Mike Tutkowski
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.virtu

Re: Create a VDI in an SR as large as possible

2013-06-11 Thread Mike Tutkowski
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