I have this line in auto.master :
/- /etc/auto.misc --timeout=30
and in auto.misc :
/media/autofs/winlinux -fstype=auto :/dev/sdb1
/media/autofs/BACKUP -fstype=auto :/dev/sdc1
/media/autofs/NAS -fstype=cifs,user=xxxxxxxx,password=xxxxxxxxxx,iocharset=utf8,workgroup=workgroup ://192.168.1.253/volume_1-1
Each time I browse /media/autofs, ALL entries in auto.misc are mounted
(crosspost from SF, where I wasn't getting much joy)
I have a CentOS 6.2 box up and running and have configured autofs to automount Windows shares under a /mydomain folder, using various howtos on the internet.
I have had a good read through the wiki and tried some autofs configs but I cannot seem to get what I want to work.I have an NFS server ( 192.168.0.10 ) with an exported directory ( /mnt/Files ) that I would like to automount on my local machine under /mnt/Files and to be mountable by any userI have edited /etc/autofs/auto.master to look like this:# Sample auto.master file
# Format of this file:
#
Goal
I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid
I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER)
Question
What is the best way to do this using autofs?
Current Attempt
/etc/auto.master:
+auto.master
/localam auto.linux
/[another mount] [auto.othermount] --timeout=5 -- ghost
/MOUNT_FOLDER auto.ext-usb --timeout=5
/ -
11.2 issues keep piling up...
I had an NFS server on my desktop and used autofs to mount it on my laptop using openSUSE 11.1 on both. Now I installed 11.2 on both, made exactly identical settings and configurations, copied the same config files, even gone further and turned off the firewall - CAN'T mount!
Desktop:
User: linuxoid
UID: 1000
Is it possible to auto-mount a remote FS using sshfs upon instantiating a proper VPN connection?
Allow me to explain the scenario, I'm working remotely, to do that it helps if I can mount my home dir from a server in the office. To do that I need to vpn in. So within network manager I select the relevant VPN and connect.
I'm trying to mount my local hard disk automatically with autofs ...
I have modified the files auto.master and auto.misc in accordance with the instructions and restarted the autofs, but nothing changes ...
see below the modified auto.master and auto.misc:
/etc/auto.master
Code:
#
# Sample auto.master file
I recently moved to a new box and haven't been able to get the remote mount to work outside home.
SSH works both inside and outside the router. I can run ssh for user@mydomain.homedns.org be prompted for my password and find a terminal.
Whenever I boot up I get this message in my /var/log/messages:
2011-01-20T02:08:05.416551-06:00 localhost automount[1994]: lookup(file): failed to read included master map auto.master.
I don't understand why because the auto.master is there:
Code:
localhost three # cat /etc/auto.master
#
# Sample auto.master file
# This is an automounter map and it has the following format