VM with attached direct lun not started with error in vm.log

qemu-kvm: -drive 
file=/dev/mapper/1p_ISCSI_0_lun1,if=none,id=drive-virtio-disk1,format=raw,serial=,cache=none,werror=stop,rerror=stop,aio=native:
 could not open disk image /dev/mapper/1p_ISCSI_0_lun1: Permission denied

is this a bug or feature is not implemented yet?

env:
fedora17
engine from http://www.ovirt.org/releases/beta/fedora/17/
vdsm-4.10.0-0.57.git2987ee3.fc17.x86_64

[root@kvm04 /]# ls -l /dev/mapper/ | grep lun1
lrwxrwxrwx. 1 root root       7 Jun 25 14:05 1p_ISCSI_0_lun1 -> ../dm-7
[root@kvm04 /]# ls -l /dev/ | grep dm-7
brw-rw----.  1 root disk    253,   7 Jun 25 14:05 dm-7

usermod -a -G disk qemu solved the problem, but is it correct way to solve it?

--
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to