I am trying to add this volume to ESX pool. I have ESX server and got connected to it. When I listed the pool the data store of ESX server was getting listed down. So I was adding this volume to that.
I want to create a domain but for that Matthias replied that I have to add volume which will put my .vmdk fole there.

On 15 Aug 2013 20:27, "Eric Blake" <eblake@redhat.com> wrote:
On 08/15/2013 08:30 AM, varun bhatnagar wrote:
> 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"

What type of pool are you trying to add this volume to? This may be a
case of no one having implemented the volume creation for your
particular pool backend yet.

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org