[libvirt-users] Cannot create a volume

Osier Yang jyang at redhat.com
Sat Sep 7 06:15:36 UTC 2013


On 06/09/13 00:18, Daniele wrote:
> Hi all, I'm trying to create a new volume in a netfs pool.
>
> The pool works correctly and it is active. If I try to create the 
> volume from the virt-manager GUI nothing happens.

Then virt-manager has a bug, it should report error, by an error dialog or
something similiar.

> While if I use virsh this is the result.
>
>
> /virsh # pool-list /
> /Name                 State      Autostart /
> /-----------------------------------------/
> /routers              active     yes /
> /
> /
> /virsh # vol-create-as routers namevol 2G/
> /error: Failed to create vol vr1/

/Err, odd the volume name is displayed as "vr1".

/
> /error: cannot create path '/var/lib/libvirt/images/routers/namevol': 
> Invalid argument/
>
>

And the error is actually from creating a directory.  Is the pool really 
a nfs type
pool?

> What am I missing?
>
> Thanks for your help!
> Daniele
>
>
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list