From owner-freebsd-current@FreeBSD.ORG Thu May 26 09:27:37 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 300ED106564A for ; Thu, 26 May 2011 09:27:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF268FC08 for ; Thu, 26 May 2011 09:27:36 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA16795; Thu, 26 May 2011 12:27:34 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QPWqs-00008t-Kt; Thu, 26 May 2011 12:27:34 +0300 Message-ID: <4DDE1D05.5030109@FreeBSD.org> Date: Thu, 26 May 2011 12:27:33 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110503 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Rick Macklem X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current Subject: newnfs user setup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 09:27:37 -0000 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. The reason I am asking is that I see some things than seems unexpected to me. For example, rc.d/nfsserver tries to load nfsserver.ko, but that fails in my environment: root: /etc/rc: WARNING: Unable to load kernel module nfsserver And these modules come built into my kernel: $ kldstat -v | fgrep nfs 171 nfssvc 126 nfsd 123 nfscommon 172 nfslockd 124 nfs 130 unionfs 125 nfscl 170 nfslock Also, I see that rc.d/nfsclient has required_modules="nfsclient:oldnfs" which is also a little bit surprising. So I would appreciate an example here. Also, for my future tests, I would like to get some pointers on getting started with NFSv4 in FreeBSD. Thanks! -- Andriy Gapon