Hi De Lee,
The directory shared by NFS must be owned by the vdsm user (UID 36) and the kvm group (GID
36) with 0755 permission.
Also, the share configuration must allow your KVM hosts to connect to it, like:
/share-directory IP-ADDRESS-OR-HOSTNAME(rw) OTHER-IP-ADDRESS-OR-HOSTNAME(rw)
You can add other options if you want. Then restart the nfs service or reload the exports
and test again.
After that, try manually mounting the NFS share on your KVM host to confirm it works.
Marcos
-----Original Message-----
From: De Lee <mytestvmware(a)gmail.com>
Sent: Wednesday, April 10, 2024 6:36 AM
To: users(a)ovirt.org
Subject: [External] : [ovirt-users] NFS Share file to mount in ovIrt
Hi
I was trying to add the new NFS share path in the ovirt node. But unforunately it
doesn' work for me.Try to mount the nfs via ovirt manager but fails with following
error message
Error while executing action Add Storage Connection: Permission settings on the specified
path do not allow access to the storage.
Verify permission settings on the specified storage path.
tried with troubleshooting document but it doesn't work
[root@ov02 contrib]# python3 nfs-check.py 10.34.95.5:/TESTNAS01 Current hostname: ov02 -
IP addr 10.34.95.42 Trying to /bin/mount -t nfs 10.34.95.5:/TESTNAS01...
return = 32 error b'mount.nfs: access denied by server while mounting
10.34.95.5:/TESTNAS01'
0 drwxr-xr-x. 3 vdsm kvm 17 Apr 9 06:12 exports
[root@ov01 /]# /usr/bin/sudo -n /bin/mount -t nfs -o
soft,nosharecache,timeo=600,retrans=6,nfsvers=3 10.34.95.5:/TESTNAS01 /exports/nfs/
mount.nfs: access denied by server while mounting 10.34.95.5:/TESTNAS01
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org Privacy Statement:
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!...
oVirt Code of Conduct:
https://urldefense.com/v3/__https://www.ovirt.org/community/about/communi...
List Archives:
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@o...