r235163: root: /etc/rc.d/sysctl: WARNING: sysctl
vfs.nfs.access_cache_timeout does not exist.
rmacklem at uoguelph.ca
Thu May 10 22:50:01 UTC 2012
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
> /boot/kernel/zfs.ko text=0x22e4f8 data=0x9060+0x16de8
> loading required module 'opensolaris'
> /boot/kernel/opensolaris.ko text=0x3338 data=0x510+0x2030
> 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;-).
> Anyway, I put new NFS options in the kernel,
> and now zfs works ok.
> 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
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current