-CURRENT (BETA2) nfs client surprise

Garrett Cooper yanegomi at gmail.com
Wed Sep 7 20:55:12 UTC 2011


2011/9/7 Lev Serebryakov <lev at freebsd.org>:
> Hello, Freebsd-current.
>
>  I've built NanoBSD image for my router based on latest HEAD sources.
> Image contains minimal set of kernel modules and custom kernel with
> NFSCLIENT option.

It needs to be changed to NFSCL:

$ svngrep -r NFSCL /sys/i386/conf/GENERIC
options         NFSCL                   # New Network Filesystem Client
options         NFS_ROOT                # NFS usable as /, requires NFSCL

>  Router mounts "/usr/home" via NFS with this "/etc/fstab" line:
>
> 192.168.134.2:/usr/home /usr/home nfs rw,late,soft,intr,bg,wsize=65536,rsize=65536,tcp 0 0
>
>  And I've been very surprised when boot failed because it cannot find
> "nfscl" module.
>
>  Yes, I know, that now here are TWO versions of in-kernel NFS
> clients. But, IMHO, it is POLA violation not to boot with valid
> configuration from previous version.

I think the nomenclature change was done s.t. clients using old NFS
implementations didn't require any changes in their KERNCONF files.

Thanks,
-Garrett


More information about the freebsd-current mailing list