<div dir="ltr">The XML i am trying to use is "<volume><name>test_vm.vmdk</name><key></key><allocation>0</allocation><capacity unit='G'>2</capacity></volume>" <br>
<br>or <br><br>"<volume><name>test_vm.vmdk</name><directory>test_vm<file>test_vm.vmdk</file></directory><key></key><allocation>0</allocation><capacity unit='G'>2</capacity></volume>"<br>
<br>and if i added directory and file directive i am still getting the same error, i am not sure if i am doing something wrong or it is a bug , can someone please advice me what is the correct XML structure for creating volume using the ESX driver ?<br>
<br>Thank You<br>Regards,<br>Sherif<br><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 2:04 PM, Justin Clift <span dir="ltr"><<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Matthias, sounds like there's a bug or we need to update the docs?<br>
<div><div></div><div class="h5"><br>
<br>
On 02/12/2010, at 11:02 PM, Sherif Nagy wrote:<br>
> yes i am using same template like KVM but it is not working, seems ESX driver has a different XML structure since it is using datatstore /dir/filename.vdk structure.<br>
><br>
> so any idea what is the XML structure for creating the XML for volumes using the ESX driver?<br>
><br>
> On Thu, Dec 2, 2010 at 12:48 PM, Justin Clift <<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>> wrote:<br>
> On 02/12/2010, at 8:18 PM, Sherif Nagy wrote:<br>
> > Hello,<br>
> ><br>
> > I am using libvirt 0.8.6 "python bindings " can someone point me to where i find the XML description of creating volumes using storagecolumecreateXML function ? i am getting libvir: ESX error : internal error Volume name 'nameXXXX.vmdk' doesn't have expected format '<directory>/<file>'<br>

><br>
> Hi Sherif,<br>
><br>
> In theory, it's probably supposed to work with the "standard" storage and pool XML format documented here:<br>
><br>
>  <a href="http://libvirt.org/formatstorage.html" target="_blank">http://libvirt.org/formatstorage.html</a><br>
><br>
> But, it sounds like in practise that's not working for you.  Is that the case?<br>
><br>
> Regards and best wishes,<br>
><br>
> Justin Clift<br>
><br>
<br>
<br>
</div></div><font color="#888888">--<br>
libvir-list mailing list<br>
<a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br>
</font></blockquote></div><br></div>