<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NFS and Netgroups in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-netgroups/m-p/4459784#M37494</link>
    <description>I'm trying to figure out why clients can not mount when a share is exported to a netgroup that the client(s) are specified in.  I'm running CENTOS5 - 2.6.18-128.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;cat /etc/exports&lt;BR /&gt;/share @my_netgroup(rw,sync,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;cat /etc/netgroup&lt;BR /&gt;my_netgroup (client1,,)&lt;BR /&gt;&lt;BR /&gt;From the server, 'host client1' returns the fqdn and ipaddress of the client.&lt;BR /&gt;&lt;BR /&gt;From client1 I try (and get returned):&lt;BR /&gt;&amp;gt;mount -t nfs server:/share /mnt/1&lt;BR /&gt;mount: server:/share failed, reason given by server: Permission denied&lt;BR /&gt;&lt;BR /&gt;Messages from mountd on the server say:&lt;BR /&gt;mountd: mount request from unknown host &lt;IP-OF-THE-CLIENT&gt; for /share (/share)&lt;BR /&gt;&lt;BR /&gt;I know this normally indicates some kind of name resolution issue, but I have tried changing the client host name listed in the /etc/netgroup file to the ip address of the client as well as the fqdn of the client and neither of those ideas worked.&lt;BR /&gt;&lt;BR /&gt;Another interesting thing is that if I use a Red Hat 2.6.18-92 box as the server, it works just fine. &lt;BR /&gt;&lt;BR /&gt;nfs-utils on the RH box is 1.0.9-33.el5.&lt;BR /&gt;I am trying to eliminate variables so I retrieved, compiled and installed the base 1.0.9 version of nfs-utils.  Both the base 1.0.9 and 1.1.6 versions of nfs-utils produce the same result (with the exception that 1.1.6 mountd give a slightly different message - "refused mount request from &lt;CLIENT-IP-ADDRESS&gt; for /share (/share): unmatched host".&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/CLIENT-IP-ADDRESS&gt;&lt;/IP-OF-THE-CLIENT&gt;</description>
    <pubDate>Tue, 14 Jul 2009 22:15:37 GMT</pubDate>
    <dc:creator>Matt Sears</dc:creator>
    <dc:date>2009-07-14T22:15:37Z</dc:date>
    <item>
      <title>NFS and Netgroups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-netgroups/m-p/4459784#M37494</link>
      <description>I'm trying to figure out why clients can not mount when a share is exported to a netgroup that the client(s) are specified in.  I'm running CENTOS5 - 2.6.18-128.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;cat /etc/exports&lt;BR /&gt;/share @my_netgroup(rw,sync,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;cat /etc/netgroup&lt;BR /&gt;my_netgroup (client1,,)&lt;BR /&gt;&lt;BR /&gt;From the server, 'host client1' returns the fqdn and ipaddress of the client.&lt;BR /&gt;&lt;BR /&gt;From client1 I try (and get returned):&lt;BR /&gt;&amp;gt;mount -t nfs server:/share /mnt/1&lt;BR /&gt;mount: server:/share failed, reason given by server: Permission denied&lt;BR /&gt;&lt;BR /&gt;Messages from mountd on the server say:&lt;BR /&gt;mountd: mount request from unknown host &lt;IP-OF-THE-CLIENT&gt; for /share (/share)&lt;BR /&gt;&lt;BR /&gt;I know this normally indicates some kind of name resolution issue, but I have tried changing the client host name listed in the /etc/netgroup file to the ip address of the client as well as the fqdn of the client and neither of those ideas worked.&lt;BR /&gt;&lt;BR /&gt;Another interesting thing is that if I use a Red Hat 2.6.18-92 box as the server, it works just fine. &lt;BR /&gt;&lt;BR /&gt;nfs-utils on the RH box is 1.0.9-33.el5.&lt;BR /&gt;I am trying to eliminate variables so I retrieved, compiled and installed the base 1.0.9 version of nfs-utils.  Both the base 1.0.9 and 1.1.6 versions of nfs-utils produce the same result (with the exception that 1.1.6 mountd give a slightly different message - "refused mount request from &lt;CLIENT-IP-ADDRESS&gt; for /share (/share): unmatched host".&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/CLIENT-IP-ADDRESS&gt;&lt;/IP-OF-THE-CLIENT&gt;</description>
      <pubDate>Tue, 14 Jul 2009 22:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-and-netgroups/m-p/4459784#M37494</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-14T22:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: NFS and Netgroups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nfs-and-netgroups/m-p/4459785#M37495</link>
      <description>Well, I finally figured out what was wrong.  The /etc/nsswitch.conf file had a line that looked like:&lt;BR /&gt;&lt;BR /&gt;netgroup:    nisplus&lt;BR /&gt;&lt;BR /&gt;I changed it to:&lt;BR /&gt;&lt;BR /&gt;netgroup:    files nisplus&lt;BR /&gt;&lt;BR /&gt;I may have rexported the shares, but that's really all it took.</description>
      <pubDate>Tue, 28 Jul 2009 17:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nfs-and-netgroups/m-p/4459785#M37495</guid>
      <dc:creator>Matt Sears</dc:creator>
      <dc:date>2009-07-28T17:47:21Z</dc:date>
    </item>
  </channel>
</rss>

