[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Autofs help



I have read the docs and done some googling and I think I have everything set up right. My problem is that although everything looks right I can not access the mount point. Here are my docs as I have them. Can anyone offer some insight as to what I am doing wrong. Note that I can manually mount the nfs share and access it, but autofs is not working.
 
14-series:~# cat /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/smb   /etc/auto.smb
#/misc  /etc/auto.misc
#/net   /etc/auto.net
/opt/epace-storage      /etc/auto.epace-storage --timeout=300
14-series:~# cat /etc/auto.epace-storage
#/opt/epace 192.168.1.67(rw,no_root_squash,sync)
 
#/opt/epace-storage     -fstype=nsf,rw,no_root_squash,sync
#192.168.1.66:/opt/epace /opt/epace-storage nfs rw,hard,intr 0 0
#/opt/epace-storage      -fstype=nsf,rw,hard,intr   192.168.2.131:/opt/epace
*       -fstype=nsf,rw,hard,intr,tcp   192.168.2.131:/opt/epace
 
14-series:~# mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/sda5 on /home type ext3 (rw)
/dev/sda9 on /opt type ext3 (rw)
/dev/sda6 on /tmp type ext3 (rw)
/dev/sda7 on /usr type ext3 (rw)
/dev/sda8 on /var type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
automount(pid2141) on /opt/epace-storage type autofs (rw,fd=4,pgrp=2141,minproto=2,maxproto=4)
14-series:~# ls /opt/epace-storage/vault
ls: /opt/epace-storage/vault: No such file or directory

14-series:~# mount -v -t nfs 192.168.2.131:/opt/epace /opt/epace-storage/
192.168.2.131:/opt/epace on /opt/epace-storage type nfs (rw,addr=192.168.2.131)

14-series:~# ls /opt/epace-storage/vault
test-file.txt
 
 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
theal@pace2020.com
 
 

Reply to: