From owner-freebsd-fs@FreeBSD.ORG Sun Apr 28 17:16:54 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8464A477 for ; Sun, 28 Apr 2013 17:16:54 +0000 (UTC) (envelope-from olavgg@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 0EFA91DD7 for ; Sun, 28 Apr 2013 17:16:53 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id eg20so4740660lab.26 for ; Sun, 28 Apr 2013 10:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=65cYSItCNiEMOeJLQnD10skau5BK0GJscwDO0DGTAyg=; b=IQ8TDMJSeqCtMrg58MnmuDvE/22NLHg8ZVuzNCK7RLW/C21RlkneXL4aNaRnEUrq4I Gtt9Ie7KkEuEVso2PDnCQRTxDhMyrgrT6c8iTGwk16ZBSBC/ohSZUyR9LYrdOpB8KYiG F8AgjhDGzVvhzfWMBHq9nKGjUSK902mitwP0LytXsBQDJrklWBSnV1SahpHp2DDSnc3x AZDGQ398vf42Yh0p/HIa3EO9Sq9nzZPnUyTkOgbLFcjPB8Hf5yiV8fWovCyGmQCpWd4y H8LRIlVh6LXNPTEvpDVWW4NnvUNmG8AcIald615A4tqXqNErwU0gT/5lVK6HjSgTicIp 5ruw== MIME-Version: 1.0 X-Received: by 10.112.164.97 with SMTP id yp1mr13835697lbb.6.1367169003306; Sun, 28 Apr 2013 10:10:03 -0700 (PDT) Received: by 10.112.70.136 with HTTP; Sun, 28 Apr 2013 10:10:03 -0700 (PDT) In-Reply-To: <20130428145805.GA81766@icarus.home.lan> References: <20130428145805.GA81766@icarus.home.lan> Date: Sun, 28 Apr 2013 19:10:03 +0200 Message-ID: Subject: Re: nfsv3 vs nfsv4 ? advantages of moving to v4? From: =?ISO-8859-1?Q?Olav_Gr=F8n=E5s_Gjerde?= To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2013 17:16:54 -0000 If you have three ZFS filesystems: tank tank/backup tank/home And if you export /tank with nfsv3, you don't really export /tank/backup and /tank/home. You only export the folders, but not it's content I think it has to do with that you cannot export mounted filesystems within one exported filesystem. With nfsv4 you will with only one export of /tank, export all three, including /tank/backup and /tank/home This was an issue 18 months ago, I cannot confirm if it's still an issue. On Sun, Apr 28, 2013 at 4:58 PM, Jeremy Chadwick wrote: > On Sun, Apr 28, 2013 at 04:53:53PM +0200, Olav Grns Gjerde wrote: > > The main reason I moved to nfsv4 was that I could export multiple ZFS > > filesystem with just one export. With nsfv3 I could only export one ZFS > > filesystem per export. > > When you say "one/per export", what exactly do you mean? > > For exporting ZFS filesystems via NFS, I've always used /etc/exports. > I've never used the "share" property per ZFS filesystem, because in my > experience (at the time -- this was early days of ZFS on FreeBSD) it > just flat out didn't work. Using /etc/exports always worked for me. > > I always liked having all my exported filesystems in one place > (/etc/exports), versus UFS ones in /etc/exports + ZFS ones requiring me > to use "zfs get ..." and so on. > > Does it really bother you that much to have multiple lines in > /etc/exports (using NFSv3)? > > -- > | Jeremy Chadwick jdc@koitsu.org | > | UNIX Systems Administrator http://jdc.koitsu.org/ | > | Mountain View, CA, US | > | Making life hard for others since 1977. PGP 4BD6C0CB | >