Sponsored Content
Top Forums UNIX for Advanced & Expert Users Autofs, doesn't mount anything Post 302343187 by Gunther on Wednesday 12th of August 2009 01:05:50 AM
Old 08-12-2009
Autofs, doesn't mount anything

Hi,

I know that this is probably quite a tiresome issue, but I can't get autofs to work.

I'm using udev rules to create symbolic links below /dev, that always point to the same devices regardless of which port they're plugged in. So, autofs's config files look like this for me:

/etc/auto.master:
Quote:
/media/auto /etc/auto.misc --timeout=60
and /etc/auto.misc:
Quote:
usb-stick -fstype=vfat,users,uid=1000,gid=1000,umask=007 :/dev/usb-stick
ext-fp1 -fstype=ntfs-3g,users,uid=1000,gid=100,umask=007 :/dev/ext-fp1
ext-fp2 -fstype=ntfs-3g,users,uid=1000,gid=100,umask=007 :/dev/ext-fp2
The both ext-fp? are my external hard drives.


Running "service autofs start ; service autofs status" does start the service (I can tell by looking at "service --status-all"), but in the second command's output there are no entries under "Active Mount Points".
Trying to access the directories where my drives are supposed to be mounted gives me an error message:
Quote:
Transport endpoint is not connected
Can anybody help me out?

PS: As a thank-you, I would summarize my experience in a small guide about making device access (also with the NTFS file system) more comfortable under Linux. Guess that still is pretty common problem.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

CDROM Doesn't Auto Mount - Solaris 9

On Sun Fire V240, cdrom doesn't automount. I can manually mount the cdrom, however it pretty annoying. I have checked the vold demon and its seems to be running. Here is the output from /etc/inetd.conf pg inetd.conf daytime stream tcp6 nowait root internal daytime dgram udp6 ... (2 Replies)
Discussion started by: mshafi
2 Replies

2. AIX

Autofs

Hi Guys, Autofs works fine on AIX 5.2, but the same thing is not getting mounted automatically on AIX 5.3.. Is there ant difference for autofs confiiguration between 5.2 and 5.3 Thanks & Regards Manu (0 Replies)
Discussion started by: b_manu78
0 Replies

3. UNIX for Advanced & Expert Users

solaris 10 autofs - how to mount /net (hosts)

Hello Everyone, I am working with Solaris 10 autofs feature. On the server (and client) in /etc/auto_master I have this entry: /net -hosts -nosuid,nobrowse On the server, I have shared out /var/tmp, started the nfs server and issued the shareall command. When I issue share I can... (1 Reply)
Discussion started by: anies rahman
1 Replies

4. Solaris

autofs

hi tell me difference between direct automount and indirect automount. thanks you (1 Reply)
Discussion started by: sijocg
1 Replies

5. Solaris

Autofs

what are all the advantages of direct map and indirect map in 'AUTOFS' and which one is better for our usage (2 Replies)
Discussion started by: dinu
2 Replies

6. Solaris

Mount command doesn't work on Solaris System

Hi All, I am using a solaris Sun-Fire-V440 server. The OS is solaris. My problem is whenever I run the command mount | grep "^/ " | sed -e 's,^.*dsk/\(*\).*$,\1,' it should return a disk value as "d30" as it does on each of my other servers.But on this server I am not getting any o/p from... (3 Replies)
Discussion started by: vivek.goel.piet
3 Replies

7. OS X (Apple)

Creating a hidden partition that doesn't mount automatically

I have a drive full of diagnostic images (ASD), and I also use it for storage, installers, etc. When I plug it in to a booted system, it has to mount every single volume (about 25) which can take some time. I would like to keep all the ASD partitions from mounting when plugged in/at boot. I know... (0 Replies)
Discussion started by: nextyoyoma
0 Replies

8. Red Hat

How to mount NFS using automounter(autofs)?

I have an nfs at 192.168.1.10:/home/vm1/Desktop/nfs and will like to mount locally to /home/vm1/Desktop/nfs-mount using automounter...need help doing do What i did $cat /etc/auto.master /home/vm1/Desktop /etc/auto.nfs $cat /etc/auto.nfs nfs-bind -fstype=nfs ... (3 Replies)
Discussion started by: nokia3310
3 Replies

9. UNIX for Dummies Questions & Answers

Why ls doesn't show catalog contents after mount (needed "cd .")?

Before I did mount /dev/sdc1 /mnt/ll xsi ll # ls xsi ll # cd . xsi ll # ls NEWGAME.GM2 install md5sum.txt syslinux.cfg ubnkern .... (1 Reply)
Discussion started by: Xcislav
1 Replies

10. Solaris

Autofs not mount

Hi all, Please help! After my solaris 10 is rebooted, I found my autofs seems not mounting the file systems. I restart autofs service : #svcadm -v restart svc:/system/filesystem/autofs:default Action restart set for svc:/system/filesystem/autofs:default. But still... (1 Reply)
Discussion started by: Zaiwen Gong
1 Replies
AUTOFS(8)						      System Manager's Manual							 AUTOFS(8)

NAME
/etc/init.d/autofs - Control Script for automounter SYNOPSIS
/etc/init.d/autofs start|stop|restart|reload|status DESCRIPTION
autofs control the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with the start parameter and at shutdown time with the stop parameter. The autofs script can also manually be invoked by the system administra- tor to shut down, restart or reload the automounters. OPERATION
autofs will consult a configuration file /etc/auto.master (see auto.master(5)) by default to find mount points on the system. For each of those mount points automount(8) will mount and start a thread, with the appropriate parameters, to manage the mount point. /etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have changed and then start daemons for new or changed entries. If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be rerun to activate the changes. /etc/init.d/autofs status will display the status of, automount(8), running or not. SEE ALSO
automount(8), autofs(5), auto.master(5). autofs_ldap_auth.conf(5) AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by H. Peter Anvin <hpa@transmeta.com>. 9 Sep 1997 AUTOFS(8)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy