Questions tagged [autofs]

35 questions
23
votes
1 answer

OS X: How to avoid having to re-connect to network share after NAS was turned off?

I use Mac OS 10.6 to connect to a NAS drive using the afp protocol (Finder -> Go -> Connect To Server). I have set up the NAS to automatically power off during the day, and power on in the evening. Now what happens is this: each time the NAS powers…
Jens Bannmann
  • 489
  • 2
  • 7
  • 14
13
votes
6 answers

mount.nfs: rpc.statd is not running but is required for remote locking

I am trying to mount a disk from a remote computer but I get this error: root@sidibalkan:~# mount -t nfs rat:/develop /mnt mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local,…
RegedUser00x
  • 491
  • 2
  • 7
  • 22
5
votes
4 answers

Running sshfs as user via autofs

My situation: There are several servers on my LAN which I do not administer I access them using SSH for sshfs, shells, and remote X11 apps I have set ControlMaster auto in my ~/.ssh/config file so I don't experience authentication lag I use…
billyjmc
  • 217
  • 2
  • 11
4
votes
1 answer

Ubuntu Automount by Label?

Ubuntu Server 9.10 I know that using the mount command, you can use -L to mount by label like so: mount -L thelabel /media/themount Is there any similar way to setup Automount / Autofs to mount by label name?
Jake Wilson
  • 4,314
  • 10
  • 38
  • 39
4
votes
2 answers

How to force autofs cifs (samba) to use smb version >= 2.0

I'm using autofs mounting of a samba share from a Windows 10 (Creators edition). Microsoft patched its OS to no longer accept smb version 1.0 sometimes in 2017. SomeFolder…
oxygen
  • 619
  • 1
  • 6
  • 17
3
votes
0 answers

RequiresMountsFor not working on Debian 8

I am trying to set up a systemd service on Debian 8 to run a program from the network on startup but it does not work - the service starts before mounting NFS disks have completed. I have the following setup: # cat /etc/auto.master | grep -v…
RegedUser00x
  • 491
  • 2
  • 7
  • 22
3
votes
0 answers

How do I configure fuse-hdfs with autofs?

I am trying to setup autofs so it will automatically mount hdfs. From /etc/fstab if I have: /fs1/fuse_dfs.wrapper.sh#dfs://namenode:9000 /hdfs fuse this works. Now I am trying to setup /etc/auto.master with this: hdfs…
desuser
  • 31
  • 1
3
votes
1 answer

Why auto mounting sshfs using autofs fails?

I'm desperetely trying to auto mount my distant folder using autofs & sshfs, but I can't make it work. (I'm under Fedora 16) This works : sshfs cx42net@xxx.xxx.xxx.xxx:/my/data /home/cx42net/data-distant -o uid=1000 -o gid=1000 So I defined a RSA…
Cyril N.
  • 406
  • 1
  • 8
  • 23
3
votes
0 answers

Mounting a Samba/CIFS Share on Linux "Correctly"

The problem is that I can't get files on the CIFS share to show correct permissions on the Linux client without forcing vers=1.0 in the mount options. The server is a FreeNAS system running Samba 4.7.0. It is basically running in…
ewhac
  • 519
  • 4
  • 13
2
votes
1 answer

Why autofs can't mount my usbstick?

I've installed autofs package, and I know /etc/auto.master and /etc/auto.misc . I set only one monitored path in /etc/auto.master: /root/media /etc/auto.misc Then I set usb sub-directory setting in /etc/auto.misc: usb…
naive231
  • 121
  • 1
2
votes
1 answer

autofs fails to mount a remote drive using sshfs - fuse

I am currently developping an application for the purpose of which I need to retrieve some files from a remote location, that I can only access through ssh. Since I need to automount that repo, I tried to set up an autofs about it (can't put it in…
Marvin
  • 121
  • 7
2
votes
1 answer

How to Identify automount mount path

I need to know all the mount points monitored by autofs/automount. I came across "automount -m" to dumpmaps and "/etc/init.d/autofs status" in the older versions. But these commands doesn't work across all the automount versions and not available in…
user12345
  • 121
  • 1
  • 2
2
votes
1 answer

Is autofs designed to automatically dismount nfs after user leave directory?

I have autofs configured to automatically mount a directory using nfs on Ubuntu 14.04. After the user has left the directory (or exited the shell entirely); I would like that directory to dismount. verbose output from automount -vvvf -d: mounted…
paxamus
  • 164
  • 1
  • 4
1
vote
1 answer

autofs NFS mount directory hung

I have a problem when executing "df -h" command it hungs, I know since there is a unreachable/not responding NFS path this is causing the hung. All my scripts dependent of df -h is also piling up because of this. The only way is to manually lazy…
Praveen M
  • 11
  • 3
1
vote
0 answers

Swap [autofs] configuration files according network

I would like to setup a laptop on Linux to use two different autofs config according to the network it is plugged. I have the two working autofs files (see below) and I would like to swap automatically between them. I have considered tinkering with…
1
2 3