From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:03:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C72CB16A4CE for ; Sun, 9 Nov 2003 19:03:36 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC2E943FE0 for ; Sun, 9 Nov 2003 19:03:35 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id hAA33Ziu047170; Sun, 9 Nov 2003 21:03:35 -0600 (CST) (envelope-from dan) Date: Sun, 9 Nov 2003 21:03:35 -0600 From: Dan Nelson To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20031110030334.GG36548@dan.emsphone.com> References: <61B97A72-128F-11D8-9FD6-003065A70D30@shire.net> <20031109112856.GB94834@xor.obsecurity.org> <6BE82884-1328-11D8-9FD6-003065A70D30@shire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6BE82884-1328-11D8-9FD6-003065A70D30@shire.net> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: NFS v2? possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 03:03:36 -0000 In the last episode (Nov 09), Chad Leigh -- Shire.Net LLC said: > On Nov 9, 2003, at 4:28 AM, Kris Kennaway wrote: > >On Sun, Nov 09, 2003 at 01:33:23AM -0700, Chad Leigh -- Shire.Net LLC > >wrote: > >>I have a linux server that needs to mount my FBSD server's web > >>volume and the linux server only has v2 support right now (and I > >>cannot make my own kernel since this is a UML kernel distributed as > >>part of a product) and so I would like to run a v2 compatible nfs > >>server on my FBSD server if possible. Can I do this? How? Thanks > > > >Read the mount_nfs and/or nfsd manpages..the answer is right there. > > The mount_nfs is for mounting on FreeBSD. I am serving from FreeBSD > and mounting on Linux, so that does not apply. I read the nfsd man > page a few time before posting, and just did again, and I see nothing > in their about nfs versions except that the server listens on the > port as outlined in thge NFS v3 spec. Please enlighten me on what I > should read in the nfsd man page. You don't have to do anything actually. FreeBSD serves both NFSv2 and NFSv3 clients by default: $ rpcinfo -p | grep nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs You can disable NFSv3 with the -2 option to mountd, but if you have to do that, then your Linux distro is extremely broken and you should have your vendor fix it. -- Dan Nelson dnelson@allantgroup.com