Re: Efficient live disk backup with active blockcommit : Failed 'block-commit': Could not reopen file: Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 07, 2015 at 12:52:34PM -0800, Keyur Bhalerao wrote:

[. . .]

 ubuntu@keyurubuntu:~$ virsh blockcommit vm-01 vda --active --verbose --pivot
> error: internal error: unable to execute QEMU command 'block-commit': Could
> not reopen file: Permission denied

Fairly obvious suggestions, ensure permissions are set so that QEMU has
permissions to the dir that contains images.

Or it could be an AppArmor issue.

Also, check your logs:

    /var/log/libvirt/qemu/$VM.log
    /var/log/libvirt/libvirtd.log  (assuming you have debug logging
    enabled)

> I am not sure why this is getting as permission denied. I have tried
> couple of times reinstalling and creating new VMs . Every time when i
> have tried to block-commit getting landed into  same error.
> 
> Is there any troubleshooting or solution to this issue. Stuck on this
> issue for last 2 days.  Quick help much appreciated.
> 
> Thanks, Keyur Bhalerao
> 
> Reference used -
> http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
> -
> http://kashyapc.com/2012/09/14/externaland-live-snapshots-with-libvirt/

-- 
/kashyap

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux