Skip to main content

Questions tagged [autofs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
1k views

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....
Trying My Best's user avatar
1 vote
1 answer
1k views

what is proper way to share a ntfs data partition, nfs or samba

On linux desktop, a nfs server on home local network is already running. The same machine also has a secondary data ntfs partition as remnant of dual booting (which may happen again in the future). ...
Lak Sen's user avatar
  • 11
1 vote
0 answers
212 views

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....
jazzman's user avatar
  • 11
0 votes
1 answer
248 views

AutoFs mount failing to reconnect after vpn bounces on macOS Big Sur

I have added back the /net -hosts -nobrowse,hidefromfinder,nosuid line that is commented out by default. I then have a symbolic link in my home directory pointing to /net/<ipAddress>/<...
spapiers's user avatar
0 votes
1 answer
1k views

Same mountpoint for several external drives

I'd like to have 2 eSATA drives, which can be hot swapped, mounted at the same mountpoint. Only one of them will every be mounted at a time. Since they may not be attached when the computer boots, ...
Supernormal's user avatar
0 votes
1 answer
442 views

Not able to write in NFS share with same user and group

I have a local server with shares for the local computers to backup stuff on. The server has a backupuser(1002:1002). The client has the user alex(1000:1000) who is also in the backupuser(1002) group ...
Alex Bergsland's user avatar
1 vote
1 answer
607 views

autofs mounts in parent directory

For many years I have a problem with autofs, now. I thought there was a bug in the autofs version in my repository. Unfortunately, even after several system as well as distribution upgrades covering ...
Chickenmarkus's user avatar
3 votes
0 answers
4k views

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....
ewhac's user avatar
  • 519
1 vote
0 answers
1k views

User causes automount to occur but gets 'permssion denied' for the directory/files

I've been fighting this for days and I'm lucky the windows don't open too wide ;-). I'm putting together a new infra and am trying to get NFS automounts running on Ubuntu working with with FreeIPA, ...
Haxsaw's user avatar
  • 11
4 votes
2 answers
13k views

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 -fstype=cifs,rw,username=...
oxygen's user avatar
  • 629
1 vote
0 answers
815 views

autofs cifs mount(s) hang / become momentarily unreachable

I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network. /etc/auto.master: /home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost /etc/auto.custom: ...
ktopaz's user avatar
  • 11
2 votes
1 answer
8k views

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 ...
user12345's user avatar
  • 121
1 vote
0 answers
455 views

autofsldap mounts /home, but not /share

I am pulling my hair out trying to make a client PC mount a /share folder automatically via autofsldap. Interestingly, mounting the /home directories works perfectly. The syslog contains no attempts ...
knipknap's user avatar
  • 121
2 votes
1 answer
5k views

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. ...
paxamus's user avatar
  • 164
0 votes
1 answer
1k views

Automount using AutoFS and AFP permission issue

I have a FreeNAS server of which I'd like to mount volumes on my Mac. I'm using afp and mounting via Autofs following this tutorial. The folder / mountpoints on which I mount the drives are located ...
Frank's user avatar
  • 113
1 vote
2 answers
10k views

Autofs 770 mount point permission

In /etc/auto.sshfs I write this: -fstype=fuse,uid=worker,gid=workers,rw,allow_other [etc other options] Then it correctly sets the mount point permissions to worker:workers when it mounts ...
user avatar
3 votes
0 answers
2k views

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 ...
RegedUser00x's user avatar
0 votes
1 answer
117 views

Strange transport layer port number during nfs conversation

I use autofs to mount nfs shares, autofses part works well, I can reach the leaf folders, but when I try to access that folder the following packet exchange takes place and my shell stacks, it drops [...
Edik Mkoyan's user avatar
1 vote
1 answer
1k views

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 ...
Praveen M's user avatar
1 vote
0 answers
184 views

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 ...
FabienAndre's user avatar
1 vote
2 answers
2k views

trouble using autofs with ntfs-3g

I try to mount a ntfs disk with a autofs rule. here is the slave file: # cat /etc/autofs/auto.windows # automount second disk which contains windows data /windows -fstype=ntfs-3g,uid=n0t,gid=...
tbennett's user avatar
  • 145
1 vote
2 answers
303 views

I can't seem to comprehend autofs

I have a NFS server on which I export the following: /exports/netapps *.*.*.*/16(ro,async,root_squash,no_subtree_check) This folder has a bunch of sub folders which should all be visible on the ...
user341021's user avatar
1 vote
1 answer
988 views

Mac: Can't convert to real path: Input/output error

I am trying to automatically mount a NFS share on Mavericks. I have the /etc/auto_master and the /etc/auto.myserver files configured as I have on other Macs. I also have the symlinks in the root. ...
RegedUser00x's user avatar
1 vote
1 answer
5k views

How to mount nfs share using autofs

I shared /data directory using nfs This is the content of /etc/exports /data *(rw,sync) I started these two services service rpcbind restart service nfs restart This is my firewall ...
max's user avatar
  • 4,093
15 votes
6 answers
73k views

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. ...
RegedUser00x's user avatar
1 vote
1 answer
3k views

How can I make autofs mount an NFS volume served from localhost?

I have a pair of web servers running GlusterFS 3.3.0 providing a single replicated volume. Clients connect via NFS, and the web servers are also clients. Gluster gets very unhappy if the files it ...
Synchro's user avatar
  • 202
6 votes
4 answers
5k views

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 ...
billyjmc's user avatar
  • 227
2 votes
1 answer
773 views

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 /...
naive231's user avatar
  • 121
2 votes
1 answer
3k views

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 ...
Marvin's user avatar
  • 121
3 votes
0 answers
537 views

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....
desuser's user avatar
  • 31
3 votes
1 answer
7k views

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 [email protected]:/my/data /home/cx42net/...
Cyril N.'s user avatar
  • 416
0 votes
2 answers
2k views

OS X Server - setting up a share for network home directories + fast user switching

I'm nearly finished setting up my Open Directory master to allow users to be managed centrally and logged in on any of the client machines at home. I found discussion suggesting that using an AFP ...
sohocoke's user avatar
23 votes
1 answer
56k views

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. ...
Jens Bannmann's user avatar
0 votes
0 answers
995 views

failed to mount cifs via autofs

I try to tune mounting and give next error in /var/log/messages: Nov 10 10:37:00 cvv automount[3038]: attempting to mount entry /mnt/cifs/acad Nov 10 10:37:01 cvv automount[3333]: >> Usage: ...
user avatar
1 vote
0 answers
755 views

Autofs hang processas

I use CentOS 5.5 with Xen. I created RedHat 5.3 DomU and exported some directories through nfs. In clien side (Dom0) I configured autofs for automatically mounting server's directories. Server side (...
Rodnower's user avatar
  • 2,209
4 votes
1 answer
3k views

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 ...
Jake Wilson's user avatar
  • 4,454