newnfs user setup

Rick Macklem rmacklem at uoguelph.ca
Thu May 26 22:47:21 UTC 2011


> On Thu, 26 May 2011, Rick Macklem wrote:
> 
> > Date: Thu, 26 May 2011 09:14:01 -0400 (EDT)
> > From: Rick Macklem <rmacklem at uoguelph.ca>
> > To: Andriy Gapon <avg at FreeBSD.org>
> > Cc: Rick Macklem <rmacklem at FreeBSD.org>,
> >     FreeBSD-Current <freebsd-current at FreeBSD.org>
> > Subject: Re: newnfs user setup
> >
> >> Rick,
> >>
> >> maybe I've just not looked hard enough, but I am a little bit
> >> confused
> >> about how
> >> to setup properly newnfs server and client via rc.conf.
> >> That is, I am not sure which exactly daemons I need and what
> >> variables
> >> to set.
> >>
> 
> I dunno if its matters here but it seems that the usage of DTrace
> (esp.
> dtnfsclient) forces the usage of oldnfs.
> 
> Is it possible to use both oldnfs and newnfs kernel objects at once
> or does the usage of newnfs prohibit the usage of dtrace?
> 
I have a DTrace patch for the new NFS client. The current version,
(which would apply to a -current kernel recently but if it won't
 patch now, I can easily fix it) is at:
  http://people.freebsd.org/~rmacklem/dtrace.patch

I have been waiting for a review/test of it, but if you could test
it, that would be greatly appreciated. Once built, the module is
called dtnfscl.

Alternately, if you could email me some simple instructions on how
to test it, that would be appreciated as well. (I have never used
DTrace, so I have no idea how to test it.) It is basically a clone
of the other one, except for the NFSv4 stuff, so it "should" work
about the same.

If I don't get any review/testing done, I'll commit it "as is"
before the code slush deadline.

rick
ps: I'll try applying the patch now and fix it if it needs changing,
    so if you download it from the above in a few hours, it should
    be ok.



More information about the freebsd-current mailing list