From owner-freebsd-fs@FreeBSD.ORG Sat Jul 30 04:00:06 2005 Return-Path: X-Original-To: fs@freebsd.org Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60DBE16A41F for ; Sat, 30 Jul 2005 04:00:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF07B43D45 for ; Sat, 30 Jul 2005 04:00:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6U405NV023574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Jul 2005 00:00:05 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6U4056P027962; Sat, 30 Jul 2005 00:00:05 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DDCE351340; Fri, 29 Jul 2005 23:59:58 -0400 (EDT) Date: Fri, 29 Jul 2005 23:59:58 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20050730035958.GA55807@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> <20050730033846.GB54295@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <20050730033846.GB54295@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: openbsd-nfsv4@sfobug.org, fs@freebsd.org, rick@snowhite.cis.uoguelph.ca Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 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: Sat, 30 Jul 2005 04:00:06 -0000 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 29, 2005 at 11:38:48PM -0400, Kris Kennaway wrote: > On Wed, Jul 27, 2005 at 06:36:19PM -0400, rick@snowhite.cis.uoguelph.ca w= rote: > > In case you are interested, there is now a port of my NFSv2,3 and 4 ser= ver > > to FreeBSD6.0-BETA1 available at ftp://ftp.cis.uoguelph.ca/pub/nfsv4. > > (Look for the 2 files with FreeBSD6.0-BETA1 in the name.) > >=20 > > It seems to work ok on a dual CPU Pentium II that I have. (I believe th= at > > I have the SMP code set up ok, but I don't wait until I'm inside the > > server op functions to grab Giant. It follows the nfsserver example for > > handling the socket interface and has separate locks for the server cac= he > > and the caches of credential mappings for RPCSEC_GSS. It should allow t= he > > encryption/decryption to be done in parallel on an N cpu box.) > >=20 > > I think the server is about ready for public consumption now. (I don't > > know if anyone is interested in bringing the code into FreeBSD, but this > > might be a good time?) >=20 > Also the utilities don't build properly out of the box..they need an > -I to point to the headers (or there needs to be a patch to make the > headers get installed by 'make includes'), and 'make install' doesn't > work once you fix that. >=20 > dosirak# make install > install -s -o root -g wheel -m 555 newmountd > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 >=20 > Stop in /usr/src/nfsv4utils/newmountd. OK, I got the server to work with a bit more hackery..there's clearly more integration needed with the FreeBSD build and /etc/rc.d process before this is ready to be committed though. I'm only using nfsv3, because I couldn't get the FreeBSD nfs4 client to talk to the server: haessal# mount_nfs4 dosirak:/c /dosirak/c mount_nfs4: /dosirak/c: Protocol not supported (nothing logged on the server), and the mount_newnfs in the utils tarball does not compile on FreeBSD. Kris --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6vs+Wry0BWjoQKURAsZGAKCwlLDsM9lHrEbX41P/5Nsgbh2b+QCcCRVK TNWRjDEH2yl30cUtQ48pe0o= =kdNE -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--