<div dir="ltr">Hi<div><br></div><div>T'm trying to convert XEN virtual machine image into raw. Source file is on NFS export and destination is also on nfs export. (both exports are mounted on migration servers RW access). I'm getting permission denied.</div><div>I have RW access to both exports - I can create, delete objects on both exports from migration server. But when I copy img file onto migration server local filesystem, conversion works, from local fs to nfs export. However when I tried to run guestfish against file located on NFS - I'm getting the same erro - Permission denied .</div><div><br></div><div><div>[root@kvm01 export]# virt-v2v -i disk migr01.img -o local -os /tmp</div><div>[   0.0] Opening the source -i disk migr01.img</div><div>[   0.0] Creating an overlay to protect the source from being modified</div><div>[   0.0] Opening the overlay</div><div>virt-v2v: error: libguestfs error: could not create appliance through</div><div>libvirt.</div><div><br></div><div>Try running qemu directly without libvirt using this environment variable:</div><div>export LIBGUESTFS_BACKEND=direct</div><div><br></div><div>Original error from libvirt: internal error: process exited while</div><div>connecting to monitor: 2014-10-16T14:25:13.729270Z qemu-kvm: -drive</div><div>file=/var/tmp/v2vovl60e1a0.qcow2,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=unsafe,discard=unmap:</div><div>could not open disk image /var/tmp/v2vovl60e1a0.qcow2: Could not open</div><div>backing file: Could not open '/mnt/xen01/export/migr01.img': Permission</div><div>denied</div><div> [code=1 domain=10]</div><div><br></div><div>If reporting bugs, run virt-v2v with debugging enabled and include the</div><div>complete output:</div><div><br></div><div>  virt-v2v -v -x [...]</div><div>[root@kvm01 export]#</div></div><div><br></div><div><div><br></div>-- <br><div dir="ltr"><p style="margin:0in 0in 0.0001pt;color:rgb(80,0,80);font-family:Calibri,sans-serif;font-size:11pt;background-color:rgb(255,255,255)">Artur Krzywdzinski</p></div>
</div></div>