From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 18:07:16 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79F6C106564A for ; Thu, 31 Jul 2008 18:07:16 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id E6C088FC1B for ; Thu, 31 Jul 2008 18:07:15 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m6VI7s29014099; Thu, 31 Jul 2008 13:07:54 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m6VI7sEJ014098; Thu, 31 Jul 2008 13:07:54 -0500 (CDT) (envelope-from brooks) Date: Thu, 31 Jul 2008 13:07:54 -0500 From: Brooks Davis To: Rick Macklem Message-ID: <20080731180754.GA13820@lor.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-fs@freebsd.org Subject: Re: NFSv4 client and server for FreeBSD7 needs testing X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 18:07:16 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2008 at 09:30:34PM -0400, Rick Macklem wrote: > I have just put a patch for FreeBSD7.0 up anonymous ftp that includes cli= ent > and server NFS code. It support NFSv4 (as well as NFSv2 and NFSv3) and in= cludes > support for Kerberized NFSv3 as well as NFSv4. The client port should be > considered Beta test at this point, although this client seems to be work= ing > well in OpenBSD4.2 and Mac OS X 10.5 Leopard. (This client port has nothi= ng to > do with the NFSv4 client currently in FreeBSD7.0, but borrows heavily from > FreeBSD7's generic NFSv2 and NFSv3 client.) >=20 > I will be creating a similar patch for FreeBSD-CURRENT soon (within a wee= k, > maybe). >=20 > Testing would be appreciated. There is an email list called > openbsd-nfsv4@sfobug.org for questions, comments, bugs, etc. > (I don't know if others would mind posts to freebsd-fs@freebsd.org or not= =2E I'll > see any posts made there, as well.) >=20 > If you are interested in trying it out, please go to: > ftp://ftp.cis.uoguelph.ca/pub/nfsv4/FreeBSD7 >=20 > Have fun with it, if you try it, rick I've done some very basic testing on amd64. I had to make a few changes to get it to compile, but they were mostly straightforward. Replacing the various incarnations of %q with %j and casts to (intmax_t) handled most of it. I also had to change the third argument of nfsvno_pathconf() to register_t to match the old code and perculate the change through. I've only done some auth sys mounts so far and some very basic reading of f= iles etc. One feature that seems to be missing relative to other systems is what I'd describe as recusive mounting with a single mount entry. For exam= ple if you export these files systems on solaris: /export/home /export/home/foo /export/home/bar and then mount /export/home with nfsv4 on a linux system, you can access the contents of /export/home/foo and /export/home/bar (find breaks interestingl= y on RHEL 5.1 Server, but that's another story :). -- Brooks --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD4DBQFIkf95XY6L6fI4GtQRAr3lAKC5/ohC4gz8CdU1xfA3qoEVnycaXwCRAXaV q0u8b/F9dtxxrnu1Qlu62Q== =WDr+ -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--