From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 17:49:22 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 2C2B31065696 for ; Wed, 1 Sep 2010 17:49:22 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E62F38FC17 for ; Wed, 1 Sep 2010 17:49:21 +0000 (UTC) Received: by qyk4 with SMTP id 4so8846385qyk.13 for ; Wed, 01 Sep 2010 10:49:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.11.141 with SMTP id t13mr5275827qat.307.1283363360770; Wed, 01 Sep 2010 10:49:20 -0700 (PDT) Received: by 10.229.51.2 with HTTP; Wed, 1 Sep 2010 10:49:20 -0700 (PDT) X-Originating-IP: [69.91.159.188] In-Reply-To: References: Date: Wed, 1 Sep 2010 10:49:20 -0700 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: 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: Wed, 01 Sep 2010 17:49:22 -0000 On Tue, Aug 31, 2010 at 12:20 PM, David Brodbeck wrote: > 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. =A0I think OpenSolaris calls this functionality "mirror > mounts." =A0Is there a way to get mirror mounts to work on FreeBSD, or > is it necessary to mount every sub-filesystem manually? The answer is I didn't RTFM carefully enough, and forgot to specify 'nfsd_flags=3D"-e"' and 'mountd_flags=3D"-e"' in my /etc/rc.conf. It's working now. Sorry for the unnecessary thread, but hopefully it'll help someone else searching for the same info in the future.