autofs for idiots

Craig White craig at tobyhouse.com
Wed Nov 21 23:43:54 UTC 2007


On Thu, 2007-11-22 at 07:52 +0900, John Summerfield wrote:
> Craig White wrote:
> > Trying to get my head around plain autofs before I attempt ldap
> > 
> > I can nfs mount via /etc/fstab...
> > #srv1:/home/storage/users  /home/storage/users  nfs  user,suid,dev,exec
> > 0  0
> > 
> > It's commented out and not presently mounted
> > 
> > why doesn't this work? (comments removed)
> > 
> > # cat auto.master
> > /net    /etc/auto.net
> > /home/storage/users     /etc/auto.misc
> > 
> > # cat auto.misc
> > cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
> > /home/storage/users -fstype=nfs srv1:/home/storage/users
> > 
> > # service autofs restart
> > Stopping automount:                                        [  OK  ]
> > Starting automount:                                        [  OK  ]
> > 
> > # ls -l /home/storage/users
> > total 0
> > 
> > it should show all user files
> > 
> > Why doesn't this work?  I've been through every man page, etc.
> 
> Read /var/log/messages hither and thither.
----
doesn't log - would if it did...it's not as if I didn't check

thanks - I got it working now...have moved on to bigger knives...trying
to duplicate it all out of ldap

Craig




More information about the fedora-list mailing list