On Thu, 2021-02-25 at 13:19 -0400, George N. White III wrote: > On Sun, 21 Feb 2021 at 12:46, Jerome Lille <jerome.lille@xxxxxxxxxx> > wrote: > > I tried to simply change type from nfs to nfs4 in the fstab in the > > client. Unfortunately I then get the response > > > > mount.nfs4: access denied by server while mounting ... > > > > There is nothing in the server logs about this. And it is not the > > firewall, because even when I turned it off, I get the same access > > denied. > > > > Anything else I have to change? > > > > My exportfs is very simple, just > > /path/to/export client(rw) > > > > > I haven't used CentOS7 for several years, so I was ignoring this > thread in the hope others could answer. > > My not very trustworthy memory is that "/etc/exports" on > the server needs the "insecure" option for NFS4 to work, see: > https://access.redhat.com/solutions/3773891 for explanation > and some diagnostic tests. My take on diagnostics is: I modified the options from (rw) to (rw,sync,no_root_squash,insecure) and after that I finally could mount it in version 4. I've tested earlier to add the insecure option, but I'm not sure if I then remembered to restart nfs after the changes or not. Or if it is in the combination with the other options that made it possible. Thanks for all the help /Jerome _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure