Many thanks for your information Dafna. Quick Start Guide doesn't explain nothing about this and I have follewed it to create the two VM, Fedora 17 and Windows 7, that I'm using to create Templates and when I have arrived to this part I have found this problem. Now I know what is the procedure
Hi Juan,
I see what the issue is and it's actually by design.
The template you created has a Preallocated image.
in NFS, to make a preallocated image we actually write to the disk to
make it preallocated.
as you can see, I created a vm with preallocated disk in NFS and if I
run DU during the creation of the image you can see the size go up:
2.4G .
[root@orion f1a6a2e7-38f1-4a7c-8f3b-efbca664d7aa]# du -h
2.5G .
[root@orion f1a6a2e7-38f1-4a7c-8f3b-efbca664d7aa]# du -h
2.6G .
[root@orion f1a6a2e7-38f1-4a7c-8f3b-efbca664d7aa]#
so in NFS storage, if your template is preallocated you cannot create a
thin provision copy vm (distinguishing between the actual data and
previously zeroed will be complicated).
you can create a snapshot of that image which will be thin provision but
it will be linked to the template.
or you can create a thin provision template and than create a thin
provision vm or preallocated vm.
Dafna
On 02/21/2013 01:56 PM, Juan Jose wrote:
> Hello Dafna,
>
> I hope that this two screenshots provides this information.
>
> On Thu, Feb 21, 2013 at 11:38 AM, Dafna Ron <dron@redhat.com
> <mailto:dron@redhat.com>> wrote:> users@ovirt.org <mailto:users@ovirt.org> list?
>
> Can you please tell me what disk type you have on the template and
> send
> a screen shot of the Resource Allocation tab to the
>
>
> On 02/21/2013 09:43 AM, Juan Jose wrote:
> > Hello Dafna,
> >
> > Yes, I have already selected the Clone radio button as the Start
> Guide
> > shows and the Thin Provision doesn't appears.
> >
> >
> > On Wed, Feb 20, 2013 at 5:50 PM, Dafna Ron <dron@redhat.com
> <mailto:dron@redhat.com>
--> > <mailto:dron@redhat.com <mailto:dron@redhat.com>>> wrote:
> >
> > ok. so you have 1 NFS data domain which has a template on it
> and when
> > you are trying to create a new vm you only have preallocated
> disk
> > type.
> >
> > when you open the new vm dialogue, after you select the
> template,
> > in the
> > Resource allocation tab you need to select the clone radio
> button (its
> > near the Template Provisioning).
> > once you do that, the allocation policy scroll will become
> active and
> > you will be able to select thin or preallocated.
> >
> > let me know if after you select the clone you still only have
> > preallocated.
> >
> >
> >
> > On 02/20/2013 06:09 PM, Juan Jose wrote:
> > > Hello Dafna,
> > >
> > > Are you want to say one NFS domain?, I have one for VM
> aand one
> > isos.
> > >
> > >
> > > On Wed, Feb 20, 2013 at 4:46 PM, Dafna Ron
> <dron@redhat.com <mailto:dron@redhat.com>
> > <mailto:dron@redhat.com <mailto:dron@redhat.com>>
> > > <mailto:dron@redhat.com <mailto:dron@redhat.com>
> <mailto:dron@redhat.com <mailto:dron@redhat.com>>>> wrote:
> > >
> > > do you have more than one domain?
> > >
> > >
> > > On 02/20/2013 05:38 PM, Juan Jose wrote:
> > > > Hello everybody,
> > > >
> > > > I'm following the Quick Start Guide to clone a
> machine from a
> > > Template
> > > > that it's already created. As thi guide says it's
> necessary to
> > > select
> > > > in Allocation tab from Resource Allocation, Thin
> > Provision. When
> > > I try
> > > > to do this and down the select field it doesn't
> appear this
> > > option, I
> > > > only can see Preallocated. I have oVirt engine 3.1. Can
> > somebody
> > > give
> > > > some light why I haven't this option in my webadmin?
> > > >
> > > > Many thanks in avanced,
> > > >
> > > > Juanjo.
> > > >
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users@ovirt.org <mailto:Users@ovirt.org>
> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
> > <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> > >
> > > --
> > > Dafna Ron
> > > _______________________________________________
> > > Users mailing list
> > > Users@ovirt.org <mailto:Users@ovirt.org>
> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
> > <mailto:Users@ovirt.org <mailto:Users@ovirt.org>
> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>>
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> > >
> >
> >
> > --
> > Dafna Ron
> >
> >
>
>
> --
> Dafna Ron
>
>
Dafna Ron