[CentOS] more questions on setting up autofs on C7

Fred Smith fredex at fcshome.stoneham.ma.us
Wed Aug 23 21:31:34 UTC 2017


On Wed, Aug 23, 2017 at 01:59:23PM -0700, Gordon Messmer wrote:
> On 08/23/2017 01:06 PM, Fred Smith wrote:
> >so, the two lines saying: Key "syno-fredex" or key "syno-public"
> >appear whenever I try to access one of those two filesystems. I AM NOT
> >USING AUTOFS TO MANAGE THEM.
> 
> 
> You're using autofs to manage /mnt, so any time that *any* process
> attempts to access /mnt/syno-fredex or /mnt/syno-public, you'll get
> those errors.  That's how autofs works: access attempts in an autofs
> managed directory get passed to autofs, which looks at its maps to
> determine how to mount the path being accessed. The error you see is
> autofs telling you that something is trying to access "syno-fredex"
> under /mnt, but it doesn't have a map indicating how to mount a
> filesystem in a directory of that name.

yeah, that's what I figured.

so I created /mounts and moved those two mounts to that directory.
the restarted autofs, but the errors still come when accessing
those two mounts.

do I need to reboot or something to get autofs to forget about them
being in /mnt?

Thanks again!

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------



More information about the CentOS mailing list