Re: r235163: root: /etc/rc.d/sysctl: WARNING: sysctl vfs.nfs.access_cache_timeout does not exist.

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Thu, 10 May 2012 18:49:58 -0400 (EDT)
Anton Shterenlikht wrote:
> On Thu, May 10, 2012 at 09:51:22PM +0100, Anton Shterenlikht wrote:
> > On Thu, May 10, 2012 at 06:11:28PM +0400, Sergey Kandaurov wrote:
> > > On 10 May 2012 14:30, Anton Shterenlikht <mexas_at_bristol.ac.uk>
> > > wrote:
> > > >
> > > > On ia64 r235163:
> > > >
> > > > root: /etc/rc.d/sysctl: WARNING: sysctl
> > > > vfs.nfs.access_cache_timeout does not exist.
> > > >
> > > > What is this about?
> > > > After updating to this revision,
> > > > I run mergemaster, as usual,
> > > > with the setting to auto update
> > > > all /etc files which I didn't touch.
> > >
> > > I'd check your kernel config for 'options NFSCLIENT', so there is
> > > sysctl vfs.oldnfs.access_cache_timeout instead, and you try to set
> > > non-existing vfs.nfs.access_cache_timeout from /etc/sysctl.conf.
> > > If it is so then all your sysctl vfs.nfs.xxx are named as
> > > vfs.oldnfs.xxx,
> > > because the NFS implementation enabled with 'options NFSCLIENT'
> > > considered old, and the NFS impl. enabled with 'options NFSCL' is
> > > the default.
> > > My inner voice tells me that you have upgraded from quite old
> > > CURRENT
> > > from the point when 'options NFSCLIENT' (old nfs) was default to
> > > the point
> > > when 'options NFSCL' (new nfs implementation) became the default,
> > > and you still have 'options NFSCLIENT' in your kernel config.
> > > See /usr/src/UPDATING entry dated 20110427.
> >
> > You are exactly right.
> >
> > I don't even use NFS anyway.
> > So I'll just remove it completely
> > from my kernel.
> 
> oh no..
> Seems I do need NFS kernel options for zfs.
> If I remove NFS, I get:
> 
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel text=0x966fb0 data=0x96164+0x2161ac
> syms=[0x8+0x80718+0x8+0x76ed5]
> /boot/kernel/zfs.ko text=0x22e4f8 data=0x9060+0x16de8
> syms=[0x8+0x16c20+0x8+0x11725]
> loading required module 'opensolaris'
> /boot/kernel/opensolaris.ko text=0x3338 data=0x510+0x2030
> syms=[0x8+0xcd8+0x8+0x872]
> loading required module 'krpc'
> 
> KLD zfs.ko: depends on krpc - not available or version mismatch
> kldload: can't load zfs: No such file or directory
> /etc/rc: WARNING: Unable to load kernel module zfs
> 
> I guess now that zfs needs module acl_nfs4,
> the latter needs NFS, right?
> 
> Or can module krpc be loaded instead?
> 
Loading krpc should be ok, since NFS (client and server) requires
krpc, but not the other way around (but I haven't actually tried this;-).

rick
> Anyway, I put new NFS options in the kernel,
> and now zfs works ok.
> 
> Thanks
> 
> --
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 331 5944
> Fax: +44 (0)117 929 4423
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu May 10 2012 - 20:50:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC