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-directoryIP-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
Sent: Wednesday, April 10, 2024 6:36 AM
To: users@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 kvm17 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@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement:
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!MglGN1HcjmMHKIBCAuwOcreLWCJP1PVQ2jqyhaW-BQLnMZvZDmRlUcGqzQFg8JcIa1QkUQTqpvioY32D9ZylEJOiwg$
oVirt Code of Conduct:
https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!MglGN1HcjmMHKIBCAuwOcreLWCJP1PVQ2jqyhaW-BQLnMZvZDmRlUcGqzQFg8JcIa1QkUQTqpvioY32D9ZxfpieDPA$
List Archives:
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovirt.org/message/GBKBMFJYXYW3TCR3YSUCMJNSYSDLHQWU/__;!!ACWV5N9M2RV99hQ!MglGN1HcjmMHKIBCAuwOcreLWCJP1PVQ2jqyhaW-BQLnMZvZDmRlUcGqzQFg8JcIa1QkUQTqpvioY32D9Zw7BLg27A$
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UO2IRPADRWM4YVCUZKLK236QTDA7DBXV/