All of lore.kernel.org
 help / color / mirror / Atom feed
* Debugging mount failure with netgroup
@ 2011-02-07 19:56 Tom Haynes
  2011-02-07 20:12 ` J. Bruce Fields
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Haynes @ 2011-02-07 19:56 UTC (permalink / raw)
  To: linux-nfs

Trying to mount:

[root@wont ~]# mount -o vers=3,hard,intr adept:/fooper /t/adept
mount.nfs: access denied by server while mounting adept:/fooper
[root@wont ~]# uname -a
Linux wont.internal.excfb.com 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@wont ~]# showmount -e adept
Export list for adept:
/fooper @adeptya

The server tells us:

[root@adept log]# more /etc/exports 
/fooper   @titan(rw)
[root@adept log]# vi /etc/exports 
[root@adept log]# more /etc/exports 
/fooper   @adeptya(rw)
[root@adept log]# exportfs -au
[root@adept log]# exportfs -a
[root@adept log]# exportfs
/fooper       	@adeptya
[root@adept log]# ypmatch adeptya netgroup
(adept,,) (adept.internal.excfb.com,,) (wont,,) (wont.internal.excfb.com,,)
[root@adept log]# host wont.internal.excfb.com
wont.internal.excfb.com has address 192.168.2.105
[root@adept log]# host 192.168.2.105
105.2.168.192.in-addr.arpa domain name pointer wont.internal.excfb.com.
[root@adept log]# tail messages
Feb  7 13:33:41 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:34:58 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:36:02 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:36:32 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:37:14 adept mountd[13050]: authenticated mount request from 192.168.2.105:698 for /fooper (/fooper)
Feb  7 13:38:12 adept mountd[13050]: authenticated unmount request from 192.168.2.105:657 for /fooper (/fooper)
Feb  7 13:39:06 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:43:52 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:45:24 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host
Feb  7 13:48:17 adept mountd[13050]: refused mount request from 192.168.2.105 for /fooper (/fooper): unmatched host

The success at 13:37:14 was from when I changed the export to:

[root@adept ~]# exportfs
/fooper       	192.168.2.0/255.255.255.0

to verify that NFS was working. At that point I was able to mount,
create a file, etc.

Oh yeah, the NFS server is also the NIS and DNS server, so there
shouldn't be any connectivity issues.

What can I do to further triage this?


Thanks!




-- 
Tom Haynes
ex-cfb

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-09  0:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07 19:56 Debugging mount failure with netgroup Tom Haynes
2011-02-07 20:12 ` J. Bruce Fields
2011-02-07 20:53   ` Tom Haynes
2011-02-07 21:19     ` J. Bruce Fields
2011-02-07 21:53       ` Tom Haynes
2011-02-07 21:59         ` J. Bruce Fields
2011-02-07 23:21           ` Tom Haynes
2011-02-09  0:23             ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.