2007/416 NFSv4 Mirror-mounts
Nicolas Williams
Nicolas.Williams at Sun.COM
Wed Jul 18 08:48:13 PDT 2007
On Wed, Jul 18, 2007 at 10:32:28AM -0500, Tom Haynes wrote:
> Nicolas Williams wrote:
> >So, no mirror mounts in /net?! Please say it ain't so :(
>
> It ain't so.
Excellent, thanks.
> I think the intent here is that if you have a choice over an automount
> or a mirror mount, we take the
> automount.
>
> But if there is no automount entry and there is a chance to mirror
> mount, then we will of course
> mirror mount.
So what was intended is that where there are _explicit_ automount
entries they override mirror mounts. The -hosts automount map lacks
explicit entries, therefore for NFSv4 mounts mirror mounts always
supercede the v3-centric MOUNT protocol-driven scheme.
One more question, suppose I have an entry like:
foo / someserver:/pool/foo /bar someserver:/tank/bar
and there are further server-side mounts on /pool/foo/baz and
/tank/bar/abc, THEN by the principle of least surprise I'd expect:
- the automount entry is authoritative for the <autofs path>/foo/bar
mount-point (hiding whatever is actually in /pool/foo/bar on the
server),
but
- mirror mounts are still performed for <autofs path>/foo/baz and
<autofs path>/foo/bar/abc
Is it so?
Nico
--
More information about the opensolaris-arc
mailing list