虚拟磁盘的权限被拒绝
Permission denied for virtual disk
我试试
[root@host1 81936aba-1f00-4fac-a69b-dfd69d290c3d]# qemu-img info 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10
结果:
qemu-img: Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Permission denied
访问权限:
-rw-rw----. 1 vdsm kvm 1073741824 мая 11 19:16 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10
-rw-rw----. 1 vdsm kvm 1048576 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.lease
-rw-r--r--. 1 vdsm kvm 331 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.meta
我该怎么办?
sudo -u vdsm -g kvm
解决了我的问题
我试试
[root@host1 81936aba-1f00-4fac-a69b-dfd69d290c3d]# qemu-img info 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10
结果:
qemu-img: Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Could not open '6c96bc5c-b6ac-442d-8581-2fb89f3d9a10': Permission denied
访问权限:
-rw-rw----. 1 vdsm kvm 1073741824 мая 11 19:16 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10
-rw-rw----. 1 vdsm kvm 1048576 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.lease
-rw-r--r--. 1 vdsm kvm 331 фев 16 14:38 6c96bc5c-b6ac-442d-8581-2fb89f3d9a10.meta
我该怎么办?
sudo -u vdsm -g kvm
解决了我的问题