[Users] direct lun

ovirt at qip.ru ovirt at qip.ru
Mon Jun 25 12:08:14 UTC 2012


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 at kvm04 /]# ls -l /dev/mapper/ | grep lun1
lrwxrwxrwx. 1 root root       7 Jun 25 14:05 1p_ISCSI_0_lun1 -> ../dm-7
[root at 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?

--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120625/3631179b/attachment-0001.html>


More information about the Users mailing list