From owner-freebsd-fs@FreeBSD.ORG Mon Apr 29 21:44:31 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5FEE3BD5 for ; Mon, 29 Apr 2013 21:44:31 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2B2D61513 for ; Mon, 29 Apr 2013 21:44:30 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAProflGDaFvO/2dsb2JhbABSgz2DN7sWgR50gh8BAQUjVhsOCgICDRkCWQYTGYd9rXiQZ4EjjCyBFzQHgjyBEwOXHpEqgy0ggWw X-IronPort-AV: E=Sophos;i="4.87,576,1363147200"; d="scan'208";a="27744586" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 29 Apr 2013 17:44:30 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 22BC1B3F4E; Mon, 29 Apr 2013 17:44:30 -0400 (EDT) Date: Mon, 29 Apr 2013 17:44:30 -0400 (EDT) From: Rick Macklem To: Jeremy Chadwick Message-ID: <2128643857.1234644.1367271870131.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <20130429015700.GA91179@icarus.home.lan> Subject: Re: nfsv3 vs nfsv4 ? advantages of moving to v4? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org, Olav =?unknown-8bit?B?R3L4buVz?= Gjerde 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: Mon, 29 Apr 2013 21:44:31 -0000 Jeremy Chadwick wrote: > On Sun, Apr 28, 2013 at 07:10:03PM +0200, Olav Grns Gjerde wrote: > > 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. > > Maybe I'm still misunderstanding, but it sounds like what you want > (for > NFSv3) is the -alldirs option, e.g.: > > /tank -alldirs 10.0.0.20 > > Which would allow 10.0.0.20 to mount /tank, /tank/backup, /tank/home, > or whatever else under /tank, with NFSv3. > I think he was actually referring to what mounts the client has to do and not what the exports need to be. Assuming there are 3 different file systems: - NFSv3 must do 3 mounts - NFSv4 just needs to mount /tank I don't see this as much of an issue for 3 file systems, but I suppose that it can become inconvenient to mount each one if there are 300 or 3000 file systems under tank. rick > -- > | 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 |