Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 14:51:11 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-current@FreeBSD.org, Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= <trasz@freebsd.org>, freebsd-arch@FreeBSD.org
Subject:   Re: [CFT] Autofs.
Message-ID:  <1593472917.6916985.1407178271363.JavaMail.root@uoguelph.ca>
In-Reply-To: <3DA39B51-4CE5-437B-9B03-7E34CC954A7E@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Bjoern A. Zeeb wrote:
> On 30 Jul 2014, at 07:19 , Edward Tomasz Napiera=C5=82a
> <trasz@freebsd.org> wrote:
>=20
> > At the link below you will find a patch that adds the new
> > automounter.
> > The patch is against yesterdays 11.0-CURRENT.
> >=20
> > http://people.freebsd.org/~trasz/autofs-head-20140729.diff
>=20
> I also just submitted
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192379 to allow -o
> vers=3D mount_nfs compatibility, which makes it easier to integrate
> with Linux/OSX/Solaris LDAP setups and mount options from LDAP.
>=20
>=20
> > Testing is welcome.  Please start with manual pages, eg.
> > automount(8).
>=20
>=20
> I found one case now doing the aforementioned where when the initial
> mount_nfs fails (e.g., for invalid options), then a later mount did
> not succeed either, with the correct mount options;  I did try to
> run automount -u in between tries, as well as service automountd
> restart, but that did not make a change;  given I was short on time,
> a reboot of my desktop made this go away.   Is there some =E2=80=9Cnegati=
ve
> caching=E2=80=9D in the kernel module possibly that will not retry the mo=
unt
> for another time or something=E2=80=94as in if I were more patient and
> waited 5 minutes, would it maybe just have worked again?
>=20
If I recall it correctly, it retries a mount attempt that fails after
something like 1min (which seems like a long time when you are waiting
for it;-). I think that was done so that clients don't flood a rebooting
server with mount attempts, but that code was written long, long ago.

rick
ps: I just reviewed and thanked Bjoern for the -vers=3D patch.

> Bjoern
>=20
> =E2=80=94
> Bjoern A. Zeeb             "Come on. Learn, goddamn it.", WarGames,
> 1983
>=20
> _______________________________________________
> freebsd-arch@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to
> "freebsd-arch-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1593472917.6916985.1407178271363.JavaMail.root>