Nope, that completely takes over '/mnt' and everything else that's
in there
becomes invisible. However, I do believe you're on to something here.
Looking back at the other, working setup, I do realize now that I did the
same, where the path was '/mnt/<something>' and the autofs mounts
are
within that, so they became '/mnt/<something>/<mount-point>'
- so thanks
for that hint. I'll go fiddle with it.
On Wed, Jun 17, 2015 at 11:54 AM, Akemi Yagi <amyagi at gmail.com> wrote:
> On Wed, Jun 17, 2015 at 10:33 AM, Ashley M. Kirchner <ashley at
pcraft.com>
> wrote:
> > I need a second pair of eyes here, please. I have a CentOS 6.6 server
> > (let's call it 'S1") that has a Samba share on it that is
currently
> > working. We can mount that drive on our Windows work stations and
> > transfer/delete from it just fine. It's setup as a
"guest" config so no
> > user specific passwords or any other restrictions like that.
> >
> > I'm trying to setup another server ("S2"), also CentOS
6.6 with autofs to
> > mount that same share when it needs to. For some reason I can't
seem to
> get
> > it to work. I get no error message anywhere, no indication of a
failure,
> > nothing.
> >
> > So on S2 I have:
> > $ cat /etc/auto.master
> > /misc /etc/auto.misc
> > /mnt/trex /etc/auto.trex
> > /net -hosts
> >
> > $ cat /etc/auto.trex
> > trex
-fstype=cifs,rw,noperm,credentials=/etc/cifs-credentials-trex
> > ://bigrip/TREX
>
> If I've read the files correctly, you might need to use /mnt/trex/trex
> for autofs to work. Can you try:
>
> /mnt /etc/auto.trex
>
> and see if that works as you intended?
>
> Akemi
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>