[libvirt-users] Error while adding volume through virsh

Matthias Bolte matthias.bolte at googlemail.com
Thu Aug 15 15:00:51 UTC 2013


2013/8/15 varun bhatnagar <varun292006 at 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




More information about the libvirt-users mailing list