<p dir="ltr">Yes Matthias I am connecting to ESX uri first and then I am adding volume to my ESX data store.</p>
<div class="gmail_quote">On 15 Aug 2013 20:30, "Matthias Bolte" <<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013/8/15 varun bhatnagar <<a href="mailto:varun292006@gmail.com">varun292006@gmail.com</a>>:<br>
> Hi,<br>
><br>
> I was trying to add volume...I got one xml snippet and I modified it<br>
> according to my node configuration:<br>
><br>
> < volume><br>
> <name>testNode/cluster.vmdk </name><br>
> <allocation>0 </allocation><br>
> <capacity unit='G'>2<capacity><br>
> </volume><br>
><br>
> Now when I executed "virsh vol-create datastore1 /local/new_volume.xml" one<br>
> error message came saying:<br>
><br>
> "Error: Failed to create volume from /local/new_volume.xml"<br>
> Error: internal error: Creation of raw volumes is not supported"<br>
><br>
> Can anyone tell me what is going wrong here?<br>
<br>
virsh vol-create without -c option might connecto to the wrong<br>
hypervisor. Try specifing the connection uri.<br>
<br>
--<br>
Matthias Bolte<br>
<a href="http://photron.blogspot.com" target="_blank">http://photron.blogspot.com</a><br>
</blockquote></div>