- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: NFS and Netgroups
Operating System - Linux
1820198
Members
3824
Online
109620
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2009 03:15 PM
07-14-2009 03:15 PM
NFS and Netgroups
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.
>cat /etc/exports
/share @my_netgroup(rw,sync,no_root_squash)
>cat /etc/netgroup
my_netgroup (client1,,)
From the server, 'host client1' returns the fqdn and ipaddress of the client.
From client1 I try (and get returned):
>mount -t nfs server:/share /mnt/1
mount: server:/share failed, reason given by server: Permission denied
Messages from mountd on the server say:
mountd: mount request from unknown host for /share (/share)
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.
Another interesting thing is that if I use a Red Hat 2.6.18-92 box as the server, it works just fine.
nfs-utils on the RH box is 1.0.9-33.el5.
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 for /share (/share): unmatched host".
Any help is greatly appreciated.
>cat /etc/exports
/share @my_netgroup(rw,sync,no_root_squash)
>cat /etc/netgroup
my_netgroup (client1,,)
From the server, 'host client1' returns the fqdn and ipaddress of the client.
From client1 I try (and get returned):
>mount -t nfs server:/share /mnt/1
mount: server:/share failed, reason given by server: Permission denied
Messages from mountd on the server say:
mountd: mount request from unknown host
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.
Another interesting thing is that if I use a Red Hat 2.6.18-92 box as the server, it works just fine.
nfs-utils on the RH box is 1.0.9-33.el5.
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
Any help is greatly appreciated.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:47 AM
07-28-2009 10:47 AM
Re: NFS and Netgroups
Well, I finally figured out what was wrong. The /etc/nsswitch.conf file had a line that looked like:
netgroup: nisplus
I changed it to:
netgroup: files nisplus
I may have rexported the shares, but that's really all it took.
netgroup: nisplus
I changed it to:
netgroup: files nisplus
I may have rexported the shares, but that's really all it took.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP