2009/8/3 James Pifer
Here it is. I changed the mount directory just to make sure nothing was funky with the directory I was trying to use before.
# cat auto.master # # 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 # # NOTE: mounts done from a hosts map will be mounted with the # "nosuid" and "nodev" options unless the "suid" and "dev" # options are explicitly given. # #/net -hosts # # 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
/tmpmnt /etc/auto.shares
# cat auto.shares storage -tcp,rw,hard,intr,rsize=32768,wsize=32768 192.168.0.22:/storage mythtv -tcp,rw,hard,intr,rsize=32768,wsize=32768 192.168.0.16:/mythtv
If you're using TABs to separate each column, the configuration should be fine storage <TAB> -tcp,rw,hard,intr,rsize=32768,wsize=32768 <TAB> 192.168.0.22:/storage
# service autofs start Starting automount done
I assume the service was down.
# ls /tmpmnt/ mythtv storage
From what I remember, there shouldn't be any file/directory in /tmpmnt until you try to access the tokens defined in auto.shares, maybe that changed recently.
# ls /tmpmnt/mythtv ls: cannot open directory /tmpmnt/mythtv: No such file or directory
When I start autofs I can see the two mount points get created under /tmpmnt when I look at it using xfe. if I click on one of them it acts like it's doing something, then I get nothing mounted.
I get nothing in /var/log/messages.
Set DEFAULT_LOGGING="debug" in /etc/sysconfig/autofs and restart the service.
Thanks, James
-- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org