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. 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* *error: cannot create path '/var/lib/libvirt/images/routers/namevol': Invalid argument* What am I missing? Thanks for your help! Daniele
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@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users
Looks like it was just a permission problem in the destination folder! Thanks for your answer anyway Daniele On Sep 7, 2013 8:15 AM, "Osier Yang" <jyang@redhat.com> wrote:> 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@redhat.com >> https://www.redhat.com/**mailman/listinfo/libvirt-users<https://www.redhat.com/mailman/listinfo/libvirt-users> >> > >