Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 1998 13:40:16 -0400 (EDT)
From:      Ken MacInnis <spab@hng.clueful.org>
To:        questions@FreeBSD.ORG
Subject:   NFS problems - can't mount remote exports-2.2.6S
Message-ID:  <Pine.LNX.3.96.980410133907.23538A-100000@acculyte.clueful.org>

next in thread | raw e-mail | index | archive | help
..forgive me if you've seen this message in a few newsgroups..

	Here's the setup.  A local Linux machine (acculyte), which has
always done NFS perfectly (NFSv2, anyway), has been having problems
mounting an NFS export from a FreeBSD 2.2.6-STABLE box (ark).  'showmount
-e ark' shows the exports list for acculyte (the Linux machine), not ark,
as does 'showmount -e acculyte', which would indicate a problem.  rpcinfo
-e localhost on both machines show mountd and nfsd as running, though the
Linux box only uses v2, whereas the FreeBSD box uses v3 as well (both udp
and tcp).  Any attempt to mount an NFS export from ark to acculyte results
in such an error:

[acculyte:/#] mount -t nfs ark:/ /ark/nfs/
mount: ark:/ failed, reason given by server: Permission denied

	The Linux box can mount it's own exports fine, but (because of
NFSv3, I believe), the FreeBSD box can neither mount it's own exports, nor
any remote exports.

	I've traced the mount, and checked out the raw packet data, and
this is what I get:

write(5, "\200\0\0x4/\17\312\0\0\0\0\0\0\0"..., 124) = 124
oldselect(256, [5], NULL, NULL, {20, 0}) = 1 (in [5], left {20, 0})
read(5, "\200\0\0\0344/\17\312\0\0\0\1\0\0"..., 4000) = 32
write(2, "mount: ark:/ failed, reason give"..., 63mount: ark:/ failed,
reason given by server: Permission denied
--
[acculyte:~#] tcpdump -r nfs.dump
16:59:54.184427 acculyte.clueful.org.707 > ark.sunrpc: udp 56
16:59:54.184427 ark.sunrpc > acculyte.clueful.org.707: udp 28
16:59:54.184427 acculyte.clueful.org.708 > ark.1023: S
2481640088:2481640088(0)
win 512 <mss 1460>
16:59:54.184427 ark.1023 > acculyte.clueful.org.708: S
688501181:688501181(0) ack 2481640089 win 17520 <mss 1460> (DF)
16:59:54.184427 acculyte.clueful.org.708 > ark.1023: . ack 1 win 32120
(DF)
16:59:54.194427 acculyte.clueful.org.708 > ark.1023: P 1:125(124) ack 1
win 32120 (DF)
16:59:54.194427 ark.1023 > acculyte.clueful.org.708: P 1:33(32) ack 125
win 17520 (DF)
16:59:54.194427 acculyte.clueful.org.708 > ark.1023: F 125:125(0) ack 33
win 32120
16:59:54.194427 ark.1023 > acculyte.clueful.org.708: . ack 126 win 17520
(DF)
16:59:54.194427 ark.1023 > acculyte.clueful.org.708: F 33:33(0) ack 126
win 17520 (DF)
16:59:54.194427 acculyte.clueful.org.708 > ark.1023: . ack 34 win 32120
(DF)

	Thanks for any help.
	
-kcm
	
	--+ Ken MacInnis - http://bigmac.nether.net/
	--+ bigmac@elbbs.com bigmac@clueful.org bigmac@wasteland.net
	--+ assimilate and deviate thereof.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980410133907.23538A-100000>