Questions tagged [autofs]

36 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…
15
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
  • 511
  • 3
  • 7
  • 23
6
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
  • 227
6
votes
2 answers

How to recover files deleted / removed by autofs?

I wanted to automatically mount a directory in my home directory, so I attempted to use autofs for this resulting in autofs removing everything in my home directory. The setup was something like auto.master: /home/my-user…
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,584
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
  • 629
  • 1
  • 7
  • 18
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
  • 511
  • 3
  • 7
  • 23
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.
  • 416
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
3
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
  • 174
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
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
2
votes
0 answers

OverlayFS hangs when an underlying CIFS lowerdir has network issues

I have an example setup: overlay /data/all overlay noauto,x-systemd.automount,lowerdir=/data/local:/data/remote 0 0 //myhomeserver/data /data/remote cifs iocharset=utf8,ro,credentials=/data/remote.credentials 0 0 Now, problems arise when…
jazzman
  • 21
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 3