From owner-freebsd-current@FreeBSD.ORG Tue Jun 2 19:57:06 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A2C1065679 for ; Tue, 2 Jun 2009 19:57:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C0AA48FC19 for ; Tue, 2 Jun 2009 19:57:06 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 76E3846B23; Tue, 2 Jun 2009 15:57:06 -0400 (EDT) Date: Tue, 2 Jun 2009 20:57:06 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Rick Macklem In-Reply-To: Message-ID: References: <4A2504AA.1020406@zedat.fu-berlin.de> <4A254194.7080807@zedat.fu-berlin.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@FreeBSD.org, "O. Hartmann" Subject: Re: RPCPROG_MNT: RPC: Timed out / receiving NFS error when trying to mount NFS file system after make world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 19:57:07 -0000 On Tue, 2 Jun 2009, Rick Macklem wrote: >> Mounting via '-o nfsv3,tcp' in addition, everthing works all right again. I >> do not know why udp is invoked automatically by now. >> >> But for short, we always did NFS mounts over tcp AND udp, so for tcp it >> worked again! >> > Hmm, weird. udp mounts work here for me (except NFSv4, where tcp is > required, but you'd only get that if you had used "-o nfsv4" in your mount). > > I'll take another look at mount_nfs.c too (already caught a problem I > introduced in mountd.c). Maybe I unintentionally changed one of the > defaults. (I think the default is supposed to be nfsv3,tcp but I'll look.) I'm running into a similar-sounding but odd problem on a diskless NFS client test box running 8.0, but talking to a server running 7.0: cheetah# mount -o rw -u / [udp] zoo:/zoo/cheetah: RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to send If I do a fresh file system mount it works fine: cheetah# mount 192.168.5.1:/zoo /zoo cheetah# mount 192.168.5.1:/zoo/cheetah on / (nfs, read-only) devfs on /dev (devfs, local) /dev/md0 on /var (ufs, local) /dev/md1 on /tmp (ufs, local) 192.168.5.1:/zoo on /zoo (nfs) This is with an approximately 26 May userspace. Robert N M Watson Computer Laboratory University of Cambridge > > For udp to work, nfsd must have the "-u" argument. That might be why it > wouldn't work? (Still doesn't explain why the default was udp and not > tcp.) > > Anyhow, thanks for doing the testing and I'll email again if I find > that I've screwed up the defaults for mount_nfs too. (Is that a > "big pointy hat"?:-) > > rick > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >