Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 10:49:20 -0700
From:      David Brodbeck <gull@gull.us>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mirror mounts not available on FreeBSD? (was: Re: NFSv4 shows all ZFS filesystems as being owned by root)
Message-ID:  <AANLkTi=YE3oOEMH5LH%2BPiemHEJBvJVraruabL79555Sh@mail.gmail.com>
In-Reply-To: <AANLkTime09fwa32FSiyZ5v2HDkeoDX9DDO5ttdr06F1c@mail.gmail.com>
References:  <AANLkTime09fwa32FSiyZ5v2HDkeoDX9DDO5ttdr06F1c@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Tue, Aug 31, 2010 at 12:20 PM, David Brodbeck <gull@gull.us> wrote:
> On Tue, Aug 31, 2010 at 11:52 AM, David Brodbeck <gull@gull.us> 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 answer is I didn't RTFM carefully enough, and forgot to specify
'nfsd_flags="-e"' and 'mountd_flags="-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.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=YE3oOEMH5LH%2BPiemHEJBvJVraruabL79555Sh>