Date: Fri, 29 Jul 2005 23:59:58 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Kris Kennaway <kris@obsecurity.org> Cc: openbsd-nfsv4@sfobug.org, fs@freebsd.org, rick@snowhite.cis.uoguelph.ca Subject: Re: NFSv234 server ported to FreeBSD6.0-BETA1 Message-ID: <20050730035958.GA55807@xor.obsecurity.org> In-Reply-To: <20050730033846.GB54295@xor.obsecurity.org> References: <200507272236.SAA89695@snowhite.cis.uoguelph.ca> <20050730033846.GB54295@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050730035958.GA55807>