From owner-freebsd-questions@FreeBSD.ORG Tue Aug 31 19:20:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ECFA10656A6 for ; Tue, 31 Aug 2010 19:20:08 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5C17C8FC1B for ; Tue, 31 Aug 2010 19:20:08 +0000 (UTC) Received: by qyk31 with SMTP id 31so1409100qyk.13 for ; Tue, 31 Aug 2010 12:20:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.19.132 with SMTP id a4mr4398598qab.62.1283282407282; Tue, 31 Aug 2010 12:20:07 -0700 (PDT) Received: by 10.229.51.2 with HTTP; Tue, 31 Aug 2010 12:20:07 -0700 (PDT) X-Originating-IP: [64.81.163.112] Date: Tue, 31 Aug 2010 12:20:07 -0700 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Mirror mounts not available on FreeBSD? (was: Re: NFSv4 shows all ZFS filesystems as being owned by root) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 19:20:08 -0000 On Tue, Aug 31, 2010 at 11:52 AM, David Brodbeck wrote: > When a ZFS filesystem mountpoint is owned by someone other than root, > this is not depicted properly on NFSv4 clients: After playing around a bit more, it appears the problem is that ZFS filesystems under an NFSv4 mountpoint are not auto-mounted by Linux clients of a FreeBSD server the way they are when they're clients of an OpenSolaris server; if I mount them manually, the ownership is correct. I think OpenSolaris calls this functionality "mirror mounts." Is there a way to get mirror mounts to work on FreeBSD, or is it necessary to mount every sub-filesystem manually? The intended application here is a server hosting user home directories, where each user has their own ZFS filesystem. Having to list every user in /etc/fstab on every client is not really workable. With an OpenSolaris server, I can have the Linux clients mount /tank/home, and all the filesystems under /tank/home come along for the ride; I'm trying to duplicate this with a FreeBSD server.