NFSv234 server ported to FreeBSD6.0-BETA1

Kris Kennaway kris at obsecurity.org
Sat Jul 30 03:13:38 GMT 2005


On Wed, Jul 27, 2005 at 06:36:19PM -0400, rick at snowhite.cis.uoguelph.ca wrote:
> In case you are interested, there is now a port of my NFSv2,3 and 4 server
> 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.)
> 
> It seems to work ok on a dual CPU Pentium II that I have. (I believe that
> 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 cache
> and the caches of credential mappings for RPCSEC_GSS. It should allow the
> encryption/decryption to be done in parallel on an N cpu box.)
> 
> 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?)

How does one configure the kernel as an NFS client?  The kernel
doesn't link when you define both

options NFSD
options NFSCLIENT

newnfs_port.o(.data+0x400): In function `nfsrvd_rcv':
../../../newnfs/nfs/newnfs_port.c:228: multiple definition of `M_NFSLOCK'
nfs_lock.o(.data+0x0):../../../nfsclient/nfs_lock.c:81: first defined here
*** Error code 1

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20050729/c397a723/attachment.bin


More information about the freebsd-fs mailing list