From owner-freebsd-questions Fri Apr 10 10:41:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17485 for freebsd-questions-outgoing; Fri, 10 Apr 1998 10:41:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bbs.elbbs.com (bbs.elbbs.com [209.69.21.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA17460 for ; Fri, 10 Apr 1998 10:41:42 -0700 (PDT) (envelope-from spab@hng.clueful.org) X-ROUTED: Fri, 10 Apr 1998 13:40:44 -0500 X-TCP-IDENTITY: Big Mac Received: from acculyte.clueful.org [209.69.21.32] by bbs.elbbs.com with smtp id ANCHBCAJ ; Fri, 10 Apr 1998 13:39:18 -0500 Date: Fri, 10 Apr 1998 13:40:16 -0400 (EDT) From: Ken MacInnis X-Sender: spab@acculyte.clueful.org Reply-To: bigmac@clueful.org To: questions@FreeBSD.ORG Subject: NFS problems - can't mount remote exports-2.2.6S Message-ID: X-Mailer: Pine 3.96 / Linux 2.0.32 (acculyte) X-ReplyIfYouNoticeThis: Please MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ..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 16:59:54.184427 ark.1023 > acculyte.clueful.org.708: S 688501181:688501181(0) ack 2481640089 win 17520 (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