Questions tagged [autofs]
The autofs tag has no usage guidance.
36
questions
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....
1
vote
1
answer
926
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).
...
1
vote
0
answers
192
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....
0
votes
1
answer
247
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>/<...
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, ...
0
votes
1
answer
428
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 ...
1
vote
1
answer
597
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 ...
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....
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, ...
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=...
1
vote
0
answers
794
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:
...
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 ...
1
vote
0
answers
451
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 ...
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.
...
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 ...