Problems with qemu img disks allocated in a nfs share

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

 



Hi all,

  I have a strange problem with qemu img disks allocated in a nfs share 
on a CentOS 6.4 host. Every time when I try to start a vm this error 
appears:

char device redirected to /dev/pts/1
qemu-kvm: -drive 
file=/data/vmachines/win2k12adsrv/win2k12vol01.img,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: 
could not open disk image /data/vmachines/win2k12adsrv/win2k12vol01.img: 
Permission denied

  Obviously, qemu disk exists:

[root@c64kvm qemu]# ls -la /data/vmachines/win2k12adsrv/win2k12vol01.img
-rw-r--r-- 1 root root 262144 Mar 16 16:11 
/data/vmachines/win2k12adsrv/win2k12vol01.img

  If I change this qemu disk stored in a nfs share by another stored on 
local disk, all works ok.

  Mount permissions in this kvm host:

  sansrv:/ on /exports type nfs4 
(rw,rsize=32768,wsize=32768,hard,intr,addr=172.25.60.1,clientaddr=172.25.60.2)

  and selinux is disabled ... Any idea??
-- 
CL Martinez
carlopmart {at} gmail {d0t} com
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt


[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux