I've never used autofs and am trying to get it setup.

Following the debian wiki and an Ubuntu howto.

I've installed the pkg:

  aptitude search ^autofs|grep ^i
  i   autofs                          - kernel-based automounter for  Linux


  created mount point: mkdir /projects-nfs

I've edited /etc/auto.master by adding this line:

  /projects-nfs     /etc/auto.master.d/prj-nfs.autofs     --timeout=180

Created the directory `mkdir /etc/auto.master.d' and spec'ed in
`/etc/auto.master'.

created /etc/auto.master.d/prj-nfs.autofs like so (as spec'ed in auto.master):

  d0     --fstype=nfs4,rw,soft,intr    191.168.1.42:/projects/d0
  dv     --fstype=nfs4,rw,soft,intr    191.168.1.42:/projects/dv

Those directories on that host are available.

They reside a solaris (x86) host and set to be available by nfs.

They can be mounted manually{to different dir than above}:
  mount -t nfs 2x:/projects/dv /nfs/dv

Checking /nfs/dv... I find it is mounted.



Reply via email to