NFS Server won't update new host in netgroup
Issue
- I added a new IP address to
/etc/netgroup, but thenfsdwon't pick up the new NFS Client - When mounting a directory inside another directory, an NFSv4 client may receive an
-ENOENTerror:
[root@nfs-client]# mount -t nfs4 -o rw nfs-server:/data/path/reports /mnt/reports
mount.nfs4: nfs-server:/data/path/reports failed, reason given by server: No such file or directory
- An NFS client may also receive an
-EACCESerror using both NFSv3 or NFSv4
[root@nfs-cli-6 ~]# mount -t nfs -o defaults,vers=3 nfs-srv-6:/data /mnt/data
mount.nfs: access denied by server while mounting nfs-srv-6:/data
[root@nfs-cli-6 ~]# mount -t nfs -o defaults,vers=4 nfs-srv-6:/data /mnt/data
mount.nfs: access denied by server while mounting nfs-srv-6:/data
Environment
- Red Hat Enterprise Linux 6 or 7 (NFS Server)
- NFS Client hostnames defined in
/etc/netgroups - NSS configured to read
netgroup: filesin/etc/nsswitch.conf
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
