Yes Matthias I am connecting to ESX uri first and then I am adding volume to my ESX data store.
2013/8/15 varun bhatnagar <varun292006@gmail.com>:
> Hi,
>
> I was trying to add volume...I got one xml snippet and I modified it
> according to my node configuration:
>
> < volume>
> <name>testNode/cluster.vmdk </name>
> <allocation>0 </allocation>
> <capacity unit='G'>2<capacity>
> </volume>
>
> Now when I executed "virsh vol-create datastore1 /local/new_volume.xml" one
> error message came saying:
>
> "Error: Failed to create volume from /local/new_volume.xml"
> Error: internal error: Creation of raw volumes is not supported"
>
> Can anyone tell me what is going wrong here?
virsh vol-create without -c option might connecto to the wrong
hypervisor. Try specifing the connection uri.
--
Matthias Bolte
http://photron.blogspot.com