Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176565

Re: autofs config

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: autofs config
Date 2017-01-10 19:40 +0100
Message-ID <sY9uV-4ME-9@gated-at.bofh.it> (permalink)
References (2 earlier) <sXI1I-4H4-29@gated-at.bofh.it> <sXNkJ-7O3-1@gated-at.bofh.it> <sXRRn-26v-3@gated-at.bofh.it> <sY14m-80P-27@gated-at.bofh.it> <sY8Se-4kI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Tue, 10 Jan 2017 12:50:44 -0500
Harry Putnam <reader@newsguy.com> wrote:

> I finally got around to trying the auto.net file you mentioned in your
> first reply in this thread.
> 
> I still cannot read it and understand what it does but I may have some
> good news to report.

The idea is that auto.net takes top-level directory (/prj in your case)
as a place to mount. Then it takes second-level directory as server
name and invokes 'showmount -e' on that server. Third-level (and lower)
directory should be a share name on that server.

So,

> Still unable to mount the shares I'm after `d0' and `dv' but, those
> fail still with auto.master like:
>    /prj     /etc/auto.net   --timeout=90

That part of configuration is correct.

> ls /prj/d0 or ls /prj/dv both fail.  However another share on that
> same setup on the solaris host `gv' and 2x comes up as expected.

You lost me here. If 'd0' and 'dv' are share names, you should use
auto.net like this:

cd /prj/<server_name>/d0
cd /prj/<server_name>/dv

If d0 and dv are host names - poke them with 'showmount -e' first, and
use them like this:

cd /prj/d0/<share_name>
cd /prj/dv/<share_name>

 
> So ls /prj/gv  after a pause shows /prj/gv/merb/<many file here>

Therefore 'gv' is a host name and 'merb' is a share on that host.
Assuming you're using stock auto.net.
Debug autofs output confirms this:

update_offset_entry: parse(sun): updated multi-mount offset /merb ->
-fstype=nfs4,soft,intr,nodev,nosuid,async gv:/merb

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

autofs config Harry Putnam <reader@newsguy.com> - 2017-01-08 20:10 +0100
  Re: autofs config Reco <recoverym4n@gmail.com> - 2017-01-08 20:30 +0100
    Re: autofs config Sven Hartge <sven@svenhartge.de> - 2017-01-08 21:30 +0100
    Re: autofs config Harry Putnam <reader@newsguy.com> - 2017-01-09 14:20 +0100
      Re: autofs config Reco <recoverym4n@gmail.com> - 2017-01-09 20:00 +0100
        Re: autofs config Harry Putnam <reader@newsguy.com> - 2017-01-10 00:50 +0100
          Re: autofs config Reco <recoverym4n@gmail.com> - 2017-01-10 10:40 +0100
            Re: autofs config Harry Putnam <reader@newsguy.com> - 2017-01-10 16:20 +0100
              Re: autofs config Reco <recoverym4n@gmail.com> - 2017-01-10 16:40 +0100
            Re: autofs config Harry Putnam <reader@newsguy.com> - 2017-01-10 19:00 +0100
              Re: autofs config Reco <recoverym4n@gmail.com> - 2017-01-10 19:40 +0100
                Re: autofs config Harry Putnam <reader@newsguy.com> - 2017-01-11 01:40 +0100
                Re: autofs config [SOLVED] Reco <recoverym4n@gmail.com> - 2017-01-11 07:50 +0100

csiph-web