On 08/01/2014 03:29 PM, Andrew Martin wrote:
Hello,
I am running qemu-kvm 1.4.0 and libvirt 1.0.2 on Ubuntu 12.04. I have two NFS
mountpoints configured as two separate pools in virsh:
I would like to be able to move the VM disk from one of the NFS mountpoints to
another (nfs1 --> nfs2) live. I followed the instructions here:
http://thr3ads.net/libvirt-users/2013/02/2174486-Migrate-VMs-to-different...
More than a year old, but they should still work.
However when I attempt the blockcopy command, I receive this error:
Failed to create file '/var/lib/libvirt/images/nfs2/vm.qcow2': Operation not
permitted
Hmm, I know we've had problems in the past about labeling NFS files
correctly, particularly when root squash is in play. Do you have root
squash turned on in your NFS servers? If so, can you turn it off, and
see if that improves the situation? Also, libvirt 1.0.2 is a bit old;
you may be encountering a bug that has been fixed in the meantime.
Would you mind retrying with 1.2.7-rc2, to see if we need a last-minute
bug-fix before this weekend's release of 1.2.7?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org