You are not logged in.

#1 2007-01-15 20:03:57

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

autofs fails

autofs was set as shown in the wiki for my laptop's cd /dvd drive (/dev/hdc) my usb cd drive (/dev/scd0) and my usb pen (/dev/sda). None is being automounted since last upgrade:

# /etc/rc.d/autofs restart
:: Stopping automounter                                                                                                                   [FAIL] 
:: Starting automounter                                                                                                                   [BUSY]  /media                                                                                                                                   [DONE]

If no error is reported when the daemon starts why is there an error when it stops? I assume it never started in the first place.
I've checked all posts around that mention autofs problems but none got me anywhere.
I feel a bit lost  sad
Could this be related to some udev issue?

Offline

#2 2007-01-15 21:09:32

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: autofs fails

It would help if you post your conf.d/autofs, autofs.media and ls -l /media output here.


to live is to die

Offline

#3 2007-01-16 10:56:39

Alexo
Member
From: near a cup of coffee
Registered: 2005-06-27
Posts: 90

Re: autofs fails

/etc/conf.d/autofs:

localoptions=''
daemonoptions='-g'

/etc/autofs/auto.media:

cd0  -fstype=iso9660,rw,nodev,nosuid            :/dev/hdc
cd1  -fstype=iso9660,rw,nodev,nosuid            :/dev/scd0
usb  -fstype=auto,async,nodev,nosuid,umask=000  :/dev/sda

/etc/autofs/auto.master:

/media /etc/autofs/auto.media --timeout 3

now this:

]$ ls -l /media
ls: /media: No such file or directory

/media disappears after boot. weird.
I had the same configs before upgrade and it was working fine.
Tried to reinstall autofs but didn't work.
Nevertheless I'm able to mount the devices manually.

Offline

#4 2009-09-04 14:26:23

TomB17
Member
Registered: 2009-09-02
Posts: 102

Re: autofs fails

This is really old but I'm going to post here, in case someone else stumbles across this same post looking for a solution to not being able to start autofs.

Make sure you are running the autofs4 module

modprobe autofs4

Edit /etc/rc.conf to add "autofs4" to the "MODULES=" line

Offline

Board footer

Powered by FluxBB