
Hi Michal,
2. I find disk size can not modify at the time of VM provisioning,is ther= e any way to modify the VM disk size ??
well, not really, AFAIK. create another disk, move your data, remove the original Or create a bigg= er thin provisioned disk at the beginning...
I didn't understand the mean...i can create the another disk...it's ok...= but how to move the data from the existing disk to new disk at the time of =
--_000_D023975B57C67darrenhartotagoacnz_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable So you essentially want to just deploy a new VM based on a template with a = thin provisioned disk ? When you create your VM based on the template check in advanced options =96= Resource allocation and see if the option there for template provisioning = is set to clone or to thin provision. Clone in your case I believe would cr= eate a 40GB image file based on the template whereas thin provision will cr= eate you a thin provisioned disk just using the same actual data amount as = the thin provisioned template. I=92m pretty sure you can only do this if yo= ur template disk is thin (not preallocated) provisioned. Darren Hart | IT Manager | Department of Biochemistry | University of Otago T - +6434794965 | M - +6421991638 From: Punit Dambiwal <hypunit@gmail.com<mailto:hypunit@gmail.com>> Date: Wednesday, 27 August 2014 1:18 pm To: Michal Skrivanek <michal.skrivanek@redhat.com<mailto:michal.skrivanek@r= edhat.com>> Cc: "ahadas@redhat.com<mailto:ahadas@redhat.com>" <ahadas@redhat.com<mailto= :ahadas@redhat.com>>, "users@ovirt.org<mailto:users@ovirt.org>" <users@ovir= t.org<mailto:users@ovirt.org>> Subject: Re: [ovirt-users] VM Deployment By Template Hi Michal, I want to deploy the VM with the template but the problem is in ovirt when = you deploy the VM by template it copy the whole image(even thin or thick di= sk)...like if i have 40GB virtual size (actual size 1GB) disk....it will co= py the whole 40GB to provision the virtual machine....so if i want to deplo= y 10 VM simultaneous then it will copy 4TB data and take long time to provi= sion.... I want the way i can make the template with small size....and once i choose= to create the virtual machine with 40GB...the VM deploy with the small tem= plate on the 40GB disk... is it possible with ovirt.. ?? Thanks, Punit On Tue, Aug 26, 2014 at 9:01 PM, Michal Skrivanek <michal.skrivanek@redhat.= com<mailto:michal.skrivanek@redhat.com>> wrote: On Aug 26, 2014, at 12:01 , Punit Dambiwal <hypunit@gmail.com<mailto:hypuni= t@gmail.com>> wrote: the VM deployment... ?? is there any way to move the data.. ?? Hi, You would have to do that inside the guest=85the same way as you would do i= t on real hardware=85mount both disks, move the relevant data not trivial and not automated
Another question is there any way to mount the img like i will create the=
VM with blank template with my preferred disk size and leter on install th= e OS through any OS template ??? i know i can install the OS through CD-ISO= but i don't want the manual installation=85 so you want to have a preinstalled OS=85so how did you want to use it? I probably don't understand what are you trying to achieve. Anything else than having a Template with OS and you deploy VMs from that= =85.you need to change disk sizes for each such VM? Could it be done by add= ing an additional disk? Thanks, michal
Thanks, Punit
On Tue, Aug 26, 2014 at 5:51 PM, Michal Skrivanek <michal.skrivanek@redha=
t.com<mailto:michal.skrivanek@redhat.com>> wrote:
On Aug 26, 2014, at 05:26 , Punit Dambiwal <hypunit@gmail.com<mailto:hypu=
nit@gmail.com>> wrote:
Hi All,
I have some questions regarding the VM deployment through OS template..=
.
1. I have imported centos template from openstack glance (the actual si=
ze of the template is 16GB but used is 1GB)...now my question is if i deplo= y the new VM with this template,the process will copy the whole 16GB or jus= t 1 GB to create the new VM ??
if you deploy with thin provisioned disks it should be 1GB
2. I find disk size can not modify at the time of VM provisioning,is th=
ere any way to modify the VM disk size ??
well, not really, AFAIK. create another disk, move your data, remove the original. Or create a bigger thin provisioned disk at the beginning
Thanks, Punit
On Mon, Aug 25, 2014 at 5:42 PM, Punit Dambiwal <hypunit@gmail.com<mail=
to:hypunit@gmail.com>> wrote:
Hi All,
I have some questions regarding the VM deployment through OS template..= .
1. I have imported centos template from openstack glance (the actual si= ze of the template is 16GB but used is 1GB)...now my question is if i deplo= y the new VM with this template,the process will copy the whole 16GB or jus= t 1 GB to create the new VM ??
2. I find disk size can not modify at the time of VM provisioning,is th= ere any way to modify the VM disk size ??
Thanks, Punit
<span style=3D"color: rgb(31, 73, 125); font-size: 10pt; font-family: 'Luc= ida Sans', sans-serif;"> University of Otago<o:p></o:p></span></p> <p class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; margin-= bottom: 0pt; margin-left: 0cm; font-family: 'Times New Roman', serif; font-= size: 12pt; "> <b><span style=3D"color: rgb(31, 73, 125); font-size: 10pt; font-family: 'L= ucida Sans', sans-serif;">T</span></b><span style=3D"color: rgb(31, 73, 125= ); font-size: 10pt; font-family: 'Lucida Sans', sans-serif;"> - +6= 434794965 </span><span style=3D"color: rgb(31, 73, 125); font-size: 10=
--_000_D023975B57C67darrenhartotagoacnz_ Content-Type: text/html; charset="Windows-1252" Content-ID: <A05378D33278D243BE8CCA76898A8241@otago.ac.nz> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> </head> <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin= e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami= ly: Calibri, sans-serif;"> <div> <div>So you essentially want to just deploy a new VM based on a template wi= th a thin provisioned disk ? </div> <div><br> </div> <div>When you create your VM based on the template check in advanced option= s =96 Resource allocation and see if the option there for template provisio= ning is set to clone or to thin provision. Clone in your case I believe wou= ld create a 40GB image file based on the template whereas thin provision will create you a thin provisioned = disk just using the same actual data amount as the thin provisioned templat= e. I=92m pretty sure you can only do this if your template disk is thin (no= t preallocated) provisioned.</div> <div><br> </div> <div><br> </div> <div><br> </div> <div> <p class=3D"MsoNormal" style=3D"margin-top: 0cm; margin-right: 0cm; margin-= bottom: 0pt; margin-left: 0cm; font-family: 'Times New Roman', serif; font-= size: 12pt; "> <span style=3D"color: rgb(31, 73, 125); font-size: 10pt; font-family: 'Luci= da Sans', sans-serif;">Darren Hart </span><span style=3D"color: rgb(31= , 73, 125); font-size: 10pt; font-family: 'Lucida Sans', sans-serif;">|</sp= an><span style=3D"color: rgb(31, 73, 125); font-size: 10pt; font-family: 'L= ucida Sans', sans-serif;"> IT Manager </span><span style=3D"color: rgb(31, 73, 125); font-size: 10p= t; font-family: 'Lucida Sans', sans-serif;">|</span><span style=3D"color: r= gb(31, 73, 125); font-size: 10pt; font-family: 'Lucida Sans', sans-serif;">= Department of Biochemistry </span><span style=3D"color: rgb(31, = 73, 125); font-size: 10pt; font-family: 'Lucida Sans', sans-serif;">|</span= pt; font-family: 'Lucida Sans', sans-serif;">|</span><span style=3D"color: = rgb(31, 73, 125); font-size: 10pt; font-family: 'Lucida Sans', sans-serif;"=
<b>M</b> - +6421991638</span></p> </div> </div> <div><br> </div> <span id=3D"OLK_SRC_BODY_SECTION"> <div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b= lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:= 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;= BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <span style=3D"font-weight:bold">From: </span>Punit Dambiwal <<a href=3D= "mailto:hypunit@gmail.com">hypunit@gmail.com</a>><br> <span style=3D"font-weight:bold">Date: </span>Wednesday, 27 August 2014 1:1= 8 pm<br> <span style=3D"font-weight:bold">To: </span>Michal Skrivanek <<a href=3D= "mailto:michal.skrivanek@redhat.com">michal.skrivanek@redhat.com</a>><br=
<span style=3D"font-weight:bold">Cc: </span>"<a href=3D"mailto:ahadas@= redhat.com">ahadas@redhat.com</a>" <<a href=3D"mailto:ahadas@redhat= .com">ahadas@redhat.com</a>>, "<a href=3D"mailto:users@ovirt.org">u= sers@ovirt.org</a>" <<a href=3D"mailto:users@ovirt.org">users@ovirt= .org</a>><br> <span style=3D"font-weight:bold">Subject: </span>Re: [ovirt-users] VM Deplo= yment By Template<br> </div> <div><br> </div> <div> <div> <div dir=3D"ltr">Hi Michal, <div><br> </div> <div>I want to deploy the VM with the template but the problem is in ovirt = when you deploy the VM by template it copy the whole image(even thin or thi= ck disk)...like if i have 40GB virtual size (actual size 1GB) disk....it wi= ll copy the whole 40GB to provision the virtual machine....so if i want to deploy 10 VM simultaneous then it w= ill copy 4TB data and take long time to provision....</div> <div><br> </div> <div>I want the way i can make the template with small size....and once i c= hoose to create the virtual machine with 40GB...the VM deploy with the smal= l template on the 40GB disk... is it possible with ovirt.. ??</div> <div><br> </div> <div>Thanks,</div> <div>Punit </div> </div> <div class=3D"gmail_extra"><br> <br> <div class=3D"gmail_quote">On Tue, Aug 26, 2014 at 9:01 PM, Michal Skrivane= k <span dir=3D"ltr"> <<a href=3D"mailto:michal.skrivanek@redhat.com" target=3D"_blank">michal= .skrivanek@redhat.com</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div class=3D""><br> On Aug 26, 2014, at 12:01 , Punit Dambiwal <<a href=3D"mailto:hypunit@gm= ail.com">hypunit@gmail.com</a>> wrote:<br> <br> > Hi Michal,<br> ><br> > 2. I find disk size can not modify at the time of VM provisioning,is t= here any way to modify the VM disk size ??<br> ><br> > well, not really, AFAIK.<br> > create another disk, move your data, remove the original Or create a b= igger thin provisioned disk at the beginning...<br> ><br> > I didn't understand the mean...i can create the another disk...it's ok= ...but how to move the data from the existing disk to new disk at the time = of the VM deployment... ?? is there any way to move the data.. ??<br> </div> Hi,<br> <br> You would have to do that inside the guest=85the same way as you would do i= t on real hardware=85mount both disks, move the relevant data<br> not trivial and not automated<br> <br> ><br> > Another question is there any way to mount the img like i will create = the VM with blank template with my preferred disk size and leter on install= the OS through any OS template ??? i know i can install the OS through CD-= ISO but i don't want the manual installation=85<br> <br> so you want to have a preinstalled OS=85so how did you want to use it?<br> I probably don't understand what are you trying to achieve.<br> Anything else than having a Template with OS and you deploy VMs from that= =85.you need to change disk sizes for each such VM? Could it be done by add= ing an additional disk?<br> <br> Thanks,<br> michal<br> <div class=3D"HOEnZb"> <div class=3D"h5"><br> ><br> > Thanks,<br> > Punit<br> ><br> ><br> > On Tue, Aug 26, 2014 at 5:51 PM, Michal Skrivanek <<a href=3D"mailt= o:michal.skrivanek@redhat.com">michal.skrivanek@redhat.com</a>> wrote:<b= r> ><br> > On Aug 26, 2014, at 05:26 , Punit Dambiwal <<a href=3D"mailto:hypun= it@gmail.com">hypunit@gmail.com</a>> wrote:<br> ><br> > > Hi All,<br> > ><br> > > I have some questions regarding the VM deployment through OS temp= late...<br> > ><br> > > 1. I have imported centos template from openstack glance (the act= ual size of the template is 16GB but used is 1GB)...now my question is if i= deploy the new VM with this template,the process will copy the whole 16GB = or just 1 GB to create the new VM ??<br> ><br> > if you deploy with thin provisioned disks it should be 1GB<br> ><br> > ><br> > > 2. I find disk size can not modify at the time of VM provisioning= ,is there any way to modify the VM disk size ??<br> ><br> > well, not really, AFAIK.<br> > create another disk, move your data, remove the original.<br> > Or create a bigger thin provisioned disk at the beginning<br> ><br> > ><br> > > Thanks,<br> > > Punit<br> > ><br> > ><br> > > On Mon, Aug 25, 2014 at 5:42 PM, Punit Dambiwal <<a href=3D"ma= ilto:hypunit@gmail.com">hypunit@gmail.com</a>> wrote:<br> > > Hi All,<br> > ><br> > > I have some questions regarding the VM deployment through OS temp= late...<br> > ><br> > > 1. I have imported centos template from openstack glance (the act= ual size of the template is 16GB but used is 1GB)...now my question is if i= deploy the new VM with this template,the process will copy the whole 16GB = or just 1 GB to create the new VM ??<br> > ><br> > > 2. I find disk size can not modify at the time of VM provisioning= ,is there any way to modify the VM disk size ??<br> > ><br> > > Thanks,<br> > > Punit<br> > ><br> ><br> ><br> <br> </div> </div> </blockquote> </div> <br> </div> </div> </div> </span> </body> </html> --_000_D023975B57C67darrenhartotagoacnz_--