From owner-freebsd-stable@FreeBSD.ORG Tue Jan 4 00:18:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 787601065670 for ; Tue, 4 Jan 2011 00:18:48 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3926D8FC08 for ; Tue, 4 Jan 2011 00:18:47 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEALPvIU2DaFvO/2dsb2JhbACDd6ExrRCOMYEggzZ0BIRlhh8 X-IronPort-AV: E=Sophos;i="4.60,268,1291611600"; d="scan'208";a="104177167" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 03 Jan 2011 18:50:00 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 733E9B3F09; Mon, 3 Jan 2011 18:50:00 -0500 (EST) Date: Mon, 3 Jan 2011 18:50:00 -0500 (EST) From: Rick Macklem To: Maciej Milewski Message-ID: <1703110029.56794.1294098600382.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <201101040037.59785.milu@dat.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.17.91.200] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Cc: Marek Salwerowicz , freebsd-stable@freebsd.org Subject: Re: NFSv4 - how to set up at FreeBSD 8.1 ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 00:18:48 -0000 > Monday 03 of January 2011 23:48:16 Marek Salwerowicz napisa=C5=82(a): > > /etc/exports: > > V4: / >=20 > > What am I doing wrong? My aim is to mount home directories from > > server > > to client but currently I am unable to mount any share. > Maybe it's only incorrect exports file?? > In my case (NFSv3) it looks: > /data -maproot=3Droot 192.168.0.10 > -- If the above 2 lines are in your /etc/exports file and "/" is a ufs file system, then the above should work. For a zfs "/" you must either: - export / as well as /data or - use "v4: /data" so that the nfsv4 root is at /data Also, make sure you are running the experimental server: - either start both mountd and nfsd with the "-e" option or specify nfsv4_server_enable=3D"YES" nfs_server_enable=3D"YES" in your /etc/rc.conf. Also, you need to create an empty /var/db/nfs-stablerestart file before the experimental NFS server will start up the first time. (A fix for that is in the works, but isn't even in head yet.) Try looking at "man nfsv4" and checking that the daemons are running and that nothing got logged in /var/log/messages when they started up. Good luck with it, rick