From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 03:22:43 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 3E5691065693 for ; Wed, 5 Jan 2011 03:22:43 +0000 (UTC) (envelope-from jyavenard@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0418A8FC0C for ; Wed, 5 Jan 2011 03:22:42 +0000 (UTC) Received: by iyb26 with SMTP id 26so14151223iyb.13 for ; Tue, 04 Jan 2011 19:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=hHtmBxyKhXQBRx1wN6mCGWXRzHxaJos0v0JZEQQUgnE=; b=OI+rlb/s25FQ676VnYyg4DJAjJNQLeP2V4++4+1Z/rVCmxMnLjnWB5BZ1C4HWamVkA HbEyBIg+9wnraQtiXCRR5isgYpj+UI+9Si8BgGTdNdOam3qEFo3cEoMZYNXq0SzhY80H 4DnXl54iVjps2b4xW6KZKEuVk6/t8TanAS2x4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tKEO0cyjCZBPJDLKgqrIfdbrluyBgmFWbdRdKffuQOskDAinafQGbpLnuzkd/arp0f c95HcFnwrtFrkWaMBNSzmVdZQq+RnOmBcCJ34JpFJ4I9gozwe8eZp5o0CXG3KH/cmHrC zbenRRCaJGAPj8dl01rfKT2A63aJ808AQEj1w= MIME-Version: 1.0 Received: by 10.42.170.199 with SMTP id g7mr22995420icz.62.1294197762388; Tue, 04 Jan 2011 19:22:42 -0800 (PST) Received: by 10.42.172.69 with HTTP; Tue, 4 Jan 2011 19:22:42 -0800 (PST) In-Reply-To: <241056373.111669.1294189775780.JavaMail.root@erie.cs.uoguelph.ca> References: <241056373.111669.1294189775780.JavaMail.root@erie.cs.uoguelph.ca> Date: Wed, 5 Jan 2011 14:22:42 +1100 Message-ID: From: Jean-Yves Avenard To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 Cc: Marek Salwerowicz , freebsd-stable@freebsd.org, Maciej Milewski 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: Wed, 05 Jan 2011 03:22:43 -0000 Hi On 5 January 2011 12:09, Rick Macklem wrote: > You can also do the following: > For /etc/exports > V4: / > /usr/home -maproot=root -network 192.168.183.0 -mask 255.255.255.0 > > Then mount: > # mount_nfs -o nfsv4 192.168.183.131:/usr/home /marek_nfs4/ > (But only if the file system for "/" is ufs and not zfs and, admittedly > there was a debate that has to be continued someday that might make it > necessary to export "/" as well for ufs like zfs requires.) > > rick > ps: And some NFSv4 clients can cross server mount points, unlike NFSv2, 3. > I've done that (exporting V4: /) but then when I mount a sub zfs filesystem (e.g. /pool/backup/sites/m) then it appears empty on the client. If I export /pool/backup/sites/m , then I see the content of the directory. Most of the sub-directory in /pool are actually zfs file system mounted. It is something I expected with NFSv3 .. but not with nfs v4. JY