1753809 Members
9029 Online
108805 Solutions
New Discussion юеВ

autofs not working..

 
nobleboi
Advisor

autofs not working..

hi
any idea why do i get below error ?

# more /etc/auto_master
/net -hosts -nosuid,soft,nobrowse /etc/auto_direct
# more /etc/auto_direct
/sapmnt/KPP -nosuid 10.200.66.32:/export/sapmnt/KPP
/usr/sap/trans -nosuid 10.200.66.32:/export/sapmnt/trans
# /sbin/init.d/autofs stop
killing automountd
# /sbin/init.d/autofs start
Starting AutoFS subsystem

Starting up the automountd daemon
/usr/sbin/automountd -L
Running automount
/usr/sbin/automount: option requires an argument -- f
automount: Usage: automount [ -v ] [ -t duration ] [ -f master-file ]
FAILURE CODE: 1
#
3 REPLIES 3
Viktor Balogh
Honored Contributor

Re: autofs not working..

AFAIK /usr/sbin/automoun is a script. maybe somethig was changed there. It might worth to run an "swverify \*"
****
Unix operates with beer.
RickT_1
Valued Contributor

Re: autofs not working..

Hello nobleboi,

From the manual it says that the order of the data in the auto_master file should be mount-point map-name options. For you I would try /net /etc/auto_direct -hosts -nosuid,soft,nobrowse. The auto_direct file looks good.

Rick

Ismail Azad
Esteemed Contributor

Re: autofs not working..

Hi,

Try.. vi /etc/auto_master
/net -hosts -nosuid,soft,nobrowse
/- /etc/auto_direct

Check /etc/auto_direct and do an automount....

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....