BYU UUG Users, I'm having troubles with autofs. I have created /etc/auto.master and /etc/ auto.net, with the following contents:
/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 > #/net -hosts > /net /etc/auto.net > # > # Include central master map if it can be found using > # nsswitch sources. > # > # Note that if there are entries for /net or /misc (as > # above) in the included master map any keys that are the > # same will not be seen as the first read key seen takes > # precedence. > # > +auto.master /etc/auto.net: > fpga1 -rw toast.ee.byu.edu:/fpga1 > fpga2 -rw toast.ee.byu.edu:/fpga2 > #ee2 -rw nfs-ee2.et.byu.edu:/ee2 > When I check the status of autofs, I get the following: [EMAIL PROTECTED]:~] sudo /etc/init.d/autofs status > Configured Mount Points: > ------------------------ > /usr/sbin/automount --timeout=300 /misc file /etc/auto.misc > /usr/sbin/automount --timeout=300 /net file /etc/auto.net > > Active Mount Points: > -------------------- > /usr/sbin/automount --pid-file=/var/run/autofs/_misc.pid --timeout=300 > /misc file /etc/auto.misc > /usr/sbin/automount --pid-file=/var/run/autofs/_net.pid --timeout=300 /net > file /etc/auto.net > > So, it appears to be running. I can see toast, as demonstrated by a simple ping: [EMAIL PROTECTED]:~] ping toast > PING toast.ee.byu.edu (10.8.118.139) 56(84) bytes of data. > 64 bytes from 10.8.118.139: icmp_seq=1 ttl=63 time=0.296 ms > > --- toast.ee.byu.edu ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.296/0.296/0.296/0.000 ms > [EMAIL PROTECTED]:~] ping toast > PING toast.ee.byu.edu (10.8.118.139) 56(84) bytes of data. > 64 bytes from 10.8.118.139: icmp_seq=1 ttl=63 time=0.162 ms > 64 bytes from 10.8.118.139: icmp_seq=2 ttl=63 time=0.172 ms > 64 bytes from 10.8.118.139: icmp_seq=3 ttl=63 time=0.507 ms > 64 bytes from 10.8.118.139: icmp_seq=4 ttl=63 time=0.241 ms > > --- toast.ee.byu.edu ping statistics --- > 4 packets transmitted, 4 received, 0% packet loss, time 15103ms > rtt min/avg/max/mdev = 0.162/0.270/0.507/0.140 ms > However, when I try to access the mount point, I get the following error: > [EMAIL PROTECTED]:~] cd /net/fpga1 > bash: cd: /net/fpga1: No such file or directory > I have read the autofs HOWTO, along with several posts in the Ubuntu Forums. Any idea what I'm doing wrong? All of my coworkers use CentOS and autofs has never been a problem. I am the only Ubuntu user. Thanks for your help, James Carroll Research Assistant Configurable Computing Lab Brigham Young University [EMAIL PROTECTED]
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/mailman/listinfo/uug-list
