From owner-freebsd-fs@FreeBSD.ORG Sat Feb 21 17:34:31 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02356455 for ; Sat, 21 Feb 2015 17:34:31 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0A54F54 for ; Sat, 21 Feb 2015 17:34:30 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YPDwf-0003qP-V8 for freebsd-fs@freebsd.org; Sat, 21 Feb 2015 18:34:26 +0100 Received: from p5b02295d.dip0.t-ipconnect.de ([91.2.41.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Feb 2015 18:34:25 +0100 Received: from christian.baer by p5b02295d.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Feb 2015 18:34:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Christian Baer Subject: Re: The magic of ZFS and NFS (2nd try) Date: Sat, 21 Feb 2015 18:34:12 +0100 Lines: 39 Message-ID: <2437038.yvsE2IGTDZ@falbala.rz1.convenimus.net> References: <4257601.p3oiXZFr4n@falbala.rz1.convenimus.net> <54E7A2CF.60804@pinyon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b02295d.dip0.t-ipconnect.de User-Agent: KNode/4.14.2 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2015 17:34:31 -0000 Russell L. Carter wrote: > Post your /etc/exports, and the nfs*_enable bits of /etc/rc.conf. And > as Rainer noted you definitely need to check that uid/gid match on > both server and client. Pretty boring stuff... root@obelix:~ # cat /etc/exports V4: /usr/archive/Shared -alldirs -network 192.168.100/24 I reduced the shares to one for the time being. root@obelix:~ # mount /dev/ufs/root on / (ufs, local, soft-updates) devfs on /dev (devfs, local, multilabel) /dev/ufs/var on /var (ufs, local, soft-updates) /dev/ufs/usr on /usr (ufs, NFS exported, local, soft-updates) arc1 on /zfs/arc1 (zfs, local, nfsv4acls) arc1/home on /home (zfs, local, nfsv4acls) arc1/Shared on /usr/archive/Shared (zfs, local, nfsv4acls) arc1/Private on /usr/archive/Private (zfs, local, nfsv4acls) root@obelix:~ # cat /etc/rc.conf | grep nfs nfs_server_enable="YES" nfsuserd_enable="YES" The handbook did not say I needed anything more than those. > You can quickly check that sharenfs=on via mount: > root@terpsichore> mount | grep NFS > system/export on /export (zfs, NFS exported, local, nfsv4acls) ^^^^^^^^^^^^ As you can see, this is always missing in my lines. Please also see my other post with the reference to the zfs manpage which states that nfs exports may also be managed via the /etc/exports file. Best regards, Chris