From: James Pearson <james-p@moving-picture.com>
To: autofs@linux.kernel.org
Subject: Odd NIS map failure with mount point creation time in the future?
Date: Fri, 17 Jun 2011 15:12:17 +0100 [thread overview]
Message-ID: <4DFB60C1.4080801@moving-picture.com> (raw)
I using CentOS 5 on a large number of boxes with a NIS indirect
automount map.
I've been using the following syntax in /etc/auto.master:
/mntpoint yp:custom.map
And this has worked fine for ages
Recently, I wanted to provide some custom local overrides to mount
points in the NIS map, so I've changed /etc/auto.master to be:
/mntpoint custom.map
and created a file called /etc/custom.map which contains something like:
host1 host:/disk1
+custom.map
i.e. include the NIS map after any local mount point settings
On most machines, this works fine - but on a number of machines, after a
reboot, the mounts from the NIS map fail to mount - although the other
mounts from /etc/custom.map mount fine.
One thing I noticed in common on all the machines with this problem is
that datestamp on the automount mount point (/mntpoint) was in the
future - by an hour or two. I guess the hardware clock is an hour or two
ahead of the real time.
ntp runs on all these boxes - but starts after autofs - however if I
change ntp to startup before autofs, then autofs works fine after a
reboot ...
Any idea why autofs fails to read entries from the included NIS map when
the creation date of the map mount point is in the future? - but works
fine when the same NIS map is referenced directly from /etc/auto.master?
James Pearson
next reply other threads:[~2011-06-17 14:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 14:12 James Pearson [this message]
2011-06-18 10:18 ` Odd NIS map failure with mount point creation time in the future? Ian Kent
2011-06-18 15:59 ` James Pearson
[not found] ` <4DFD05CE.4060905@moving-picture.com>
2011-06-19 3:18 ` Ian Kent
2011-06-20 10:45 ` James Pearson
2011-06-20 13:40 ` Ian Kent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFB60C1.4080801@moving-picture.com \
--to=james-p@moving-picture.com \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.