Questions tagged [autofs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Direct mapping works in autofs but indirect mapping does not

I have an NFS server where the /etc/exports file contains: /shared *(rw,no_root_squash) I want to use autofs in another machine (Rocky Linux 8) to mount that folder but only the direct mapping method ...
user avatar
0 votes
0 answers
40 views

autofs:: how to make the mountpoint --make-shared?

I have a complex setup (multiple autofs shared that could call each other) and i get errors like "Too many levels of symbolic links" and i think that i need to run "mount --make-shared&...
user avatar
0 votes
1 answer
54 views

Add additional option on all automounts brought in from +auto.master

I am looking for a way to enable cachefilesd across all automounts that we inherit via +master.conf. To do this, I need to be able to add -o fsc to the mount options. Is there a way to override the ...
user avatar
  • 533
1 vote
0 answers
271 views

How should we automount home directories stored at different NFS paths at /home/$USER?

We're currently transitioning to storing all of our organization's user information in Red Hat IDM (FreeIPA). We have several thousand users, and mount user home directories over NFS from a NetApp ...
user avatar
1 vote
0 answers
105 views

Modify folder permissions of parent directory that were automatically created by autofs

I am currently following this guide to setup CentOS 8 to automount samba shares. I am aware that we can change autofs auto mounted folders permissions using uid=...,gid=...,file_mode=0770,dir_mode=...
user avatar
3 votes
2 answers
3k views

Why directories mounted with autofs are not visible in filesystem, but are accessible once full path is provided?

This is my first nfs / autofs configuration, so I probably configured something wrong. When I navigate to directory, which I added to /etc/auto.master I can't see any mount points, but when I issue cd ...
user avatar
0 votes
1 answer
573 views

Use autofs on host with Docker

I'm mounting CIFS share on a host to /mnt/nas using autofs. On the host I'm running a PHP Docker container. I can mount the /mnt/nas to this container using volumes inside a docker-compose.yml. The ...
user avatar
  • 143
1 vote
2 answers
1k views

Using LDAP: how to log in with SSH, mounting the Samba home directory with autofs?

I have spent some time setting up LDAP-based authentication in my MacOS, iOS and Linux network, taking account of the special quirks of MacOS and Synology (my NAS). SSH login (SSH keys etc.) works and ...
user avatar
1 vote
0 answers
222 views

autofs is not mounting sshfs point while sshfs and mount -t fuse does

folks. Recently I came over autofs and now trying to make my everyday life easier. I have a remote server that I use as I file share with a help of sshfs for years. So, I found some tutorials how to ...
user avatar
0 votes
1 answer
112 views

auto mount several SD cards (one after the other) to the same directory

I have several SD cards with contents of type cont_A that I would like to mount to /mnt/cont_A if one of them is plugged into the computer. I have as well several SD cards with contents of type cont_B ...
user avatar
0 votes
0 answers
138 views

NFS mount on housing user home shares not mounting on Ubuntu 16.04

The issue I am trying to resolve is a bit of a head-scratcher. I say that because the issue is consistently inconsistent and not happening on all of the Ubuntu 16.04 VMs that are hosted in our ESXi ...
user avatar
0 votes
1 answer
419 views

systemd based automount never umounts when idle

The setup (not autofs, but systemd based automount): # grep automount /etc/fstab 1.2.3.4:/vol/homedirs /home/roaming nfs x-systemd.automount,x-systemd.idle-timeout=30 and: # systemctl daemon-reload ...
user avatar
0 votes
1 answer
425 views

Disabling IP caching in samba or dealing with dynamic IP

We want to mount external storage that has been provided to us. We use something like the following in our /etc/fstab file on Ubuntu 18.04. //external/storage /mounting/point cifs noperm,cred=/home/...
user avatar
1 vote
0 answers
103 views

Autofs and udev rules to restrict usb permissions to groups

I need some help trying to figure out how to restrict the reading and writing access of usb devices. There are two groups on my system: usbreaders: only should have rights to access and read the usb ...
user avatar
  • 25
1 vote
1 answer
2k views

autofs with samba, sssd, openldap, kerberos

I want to mount a samba share with autofs. srv.xxxxxxx.net is the samba server (proxmox container, Debian 10) ldap2.xxxxxxx.net is the openldap (proxmox container, Debian 10) gui.xxxxxxx.net is the ...
user avatar
3 votes
0 answers
2k views

SSHFS: Transport endpoint not connected

There are a number of posts across the Stack Exchange sites relating to the issue in the title, but none seem to offer that great a solution. This post I guess is a shameless attempt to bump the issue ...
user avatar
  • 269
2 votes
1 answer
205 views

Install packages that create home directory on automounted Linux servers

When installing certain packages, for example gitlab-runner, a directory needs to be created in /home/. If the home directories are automounted on NFS, then installation will fail. $ sudo apt ...
user avatar
  • 1,367
2 votes
0 answers
115 views

nfs mounts over wrong subnet when another mount happens first

I have a weird issue with an NFS server and clients that are connected over two separate private subnets. The private subnets are 10.1.0.0/255.255.0.0 and 10.2.0.0/255.255.0.0 addressed as .local and ...
user avatar
0 votes
1 answer
2k views

Ubuntu cannot mount CIFS share from autofs and KRB5

I've inherited an Ubuntu 14 Fileserver... VERSION="14.04.5 LTS, Trusty Tahr" Client machine is a fresh install of Ubuntu 18 VERSION="18.04.2 LTS (Bionic Beaver)"<br> autofs/bionic-updates,...
user avatar
1 vote
0 answers
99 views

autofs ssh fuse and permissions issue

I have a mounted remote backup space on a Centos 6 to perform remote backups..which are doing fine.. without issues My /etc/auto.master file: /- /etc/auto.mymount uid=0,gid=0,--ghost My /etc/auto....
user avatar
1 vote
0 answers
348 views

Autofs is forgetting mount points

I have a set of mount points which I use autofs to access. They have been around for quite some time, and in systems I've inherited running CentOS6 admins before me have implemented cronjobs ...
user avatar
  • 133
1 vote
0 answers
257 views

Monitoring NFS mounts for existence

The issue we are seeing is that some of our NFS mounted directories are disappearing. Literally just disappearing. They continue to exist at the server end. At the client (CentOS 7.4, using el-repo's ...
user avatar
  • 339
1 vote
0 answers
51 views

Why does sssd query for all automountkeys when looking for a specific one?

I am attempting to convert autofs from using ldap maps to using sss maps. However, it appears that sssd wishes to query for all automount keys rather than just the specific one it needs. This is ...
user avatar
  • 12.6k
0 votes
1 answer
399 views

Mount multiple NFS-Servers

I have multiple nfs-servers running in my network. What is the best way to mount all servers on my ubuntu? While researching I came across multiple possible solutions: autofs, fstab, automount. Any ...
user avatar
2 votes
1 answer
1k views

autofs can't mount a remote dir with sshfs on the host with deprecated key algorithm

Here is my configuration: /etc/auto.master /mnt/10 /etc/auto.10 uid=0,gid=0,--ghost /etc/auto.10 root -fstype=fuse,allow_other,follow_symlinks,ssh_command=/etc/ssh/sshpass.10.sh :sshfs\#...
user avatar
  • 185
2 votes
0 answers
208 views

Linux - Active Directory - autofs service

We integrated our Linux environment into our AD 2016. Now an additional request is to add autofs service, via AD, to provide to the admins (Linux-admins, DB-admins, Application-admins) their personal /...
user avatar
0 votes
2 answers
4k views

"Too many levels of symbolic links" in NFS via automount resolved by restarting Docker

This is bizarre and while I have a workaround, I'd prefer a permanent fix. I have a small group of GPU machines running Ubuntu 14.04 which I am using as workers for a cloud service that's effected ...
user avatar
  • 182
0 votes
1 answer
638 views

CentOS 7 nfs server makes autofs nfs clients running macOS 10.11+ crash

I'm trying to figure out why macOS clients reboots when accessing files on a NFS home directory automounted from a CentOS 7 server. The exact same configuration works very well with CentOS 6 NFS ...
user avatar
  • 101
1 vote
0 answers
226 views

Ubuntu/OpenLDAP/Autofs : local user instead of LDAP user

I mount home directories for my LDAP users trhough autofs. It works like a charm except with one computer. On LDAP logs, I have : ldap rpc.mountd[975]: authenticated mount request from 192.168.0.XX:...
user avatar
1 vote
0 answers
2k views

Autofs + Kerberos + NFSv4 works on RHEL, but not Ubuntu

We have our /home directories stored on a NetApp SVN, and are automounting them as NFSv4 with Kerberos. This seems to work flawlessly on RHEL7.x, however it will not work in Ubuntu 14.04 or 16.04 no ...
user avatar
-1 votes
1 answer
147 views

Autofs mounted /home/<user> not included in backup [closed]

I have autofs mounted shared /home directories setup on server and it is working perfectly, when i need dir, it is mounted automaticly, when i dont, it is not present. But now i am working on backup ...
user avatar
  • 123
1 vote
1 answer
4k views

How to autocreate home directories in automounted NFS directory?

I have a NFS server at nfs.example.com:/users. I have a normal server at client.example.com. When I do su - user, I want it not only to automount /users/user, but I also want to create /users/user if ...
user avatar
0 votes
1 answer
3k views

Failing to prevent autofs from mounting over local home directory

In a previous question, the original poster asks how to prevent autofs to mount over a local home directory: How to prevent autofs from mounting over specific directories? I am facing a similar ...
user avatar
3 votes
1 answer
2k views

Password prompt when accessing samba share through autofs

We have a file server on Ubuntu Server 16.04 using Samba which uses an external LDAP server for authentication. Additionally, the LDAP server has an automount definition for the file server's Samba ...
user avatar
  • 71
3 votes
0 answers
2k views

Mount CIFS-share with users Kerberos-Ticket

we want to mount shares through autofs. Nothing special we thought. But: this must be done in some complex active directory circumstances. What we have: integrated Ubuntu 14.04 workstations on which ...
user avatar
  • 41
1 vote
1 answer
245 views

any autofs experts? how to get autofs and webdav to work together?

First off let me say that this is a repost of a question I posted in AskUbuntu. If this is against the rules then please remove this. Honestly, after further consideration of the topic I realized ...
user avatar
  • 1,574
1 vote
1 answer
4k views

Automatically create home directory on NFS after LDAP login

My current situation is that I can successfully authenticate using ldap and pam, I also succeeded to use pam_mkdir to autocreate home directories in the /home filesystem. What now I'm trying to ...
user avatar
  • 164
1 vote
1 answer
1k views

How do I mount a home catalog using cifs and autofs with Active Directory authentication on CentOS7?

I'm trying to integrate a CentOS7 client with Active Directy authentication and automatically mounting the user homedirs with cifs. I would prefer to use autofs, but I've so far been unable to make ...
user avatar
  • 41
0 votes
1 answer
695 views

AutoFS/Automount doesnt mount ext4 imagefile on sshfs mount

I'm trying to automount an ext4 sparse imagefile on an sshfs mount but it doenst work like its supposed to be :/ I also mount the sshfs mount via autofs and this works like a charm but when I try to ...
user avatar
1 vote
1 answer
388 views

Autofs with multiple path parameters

autofs has a auto.master configuration file that assignes maps files to paths, and in these maps files we can define how to mount subdirectories of the paths from auto.master. These subdirectories can ...
user avatar
  • 115
1 vote
0 answers
59 views

linux auto.nfs config gets updated periodically

I' have little experience with linux autofs. I can't help but keep noticing that files in /etc/ timestamps change periodically. From documentation, my understanding is fstab is supposedly fixed(...
user avatar
  • 111
-1 votes
1 answer
165 views

autofs mounting without passwords

I have an existing autofs Centos-Centos mount. I forgot how I set those up without having to require a password. # /etc/auto.folder folder -fstype=nfs,rw 10.10.10.1:/folder Now, I'm trying to setup ...
user avatar
1 vote
1 answer
7k views

ldap_add: Invalid DN syntax (34)

I am configuring my LDAP for roaming profiles using autofs, but when I run this command ldapadd -x -D "cn=admin,dc=example,dc=com" -W -f automount.ldif I get this error message ldap_add: Invalid DN ...
user avatar
0 votes
1 answer
2k views

CentOS 7 autofs wildcard mount not working

I've got a couple of CentOS 7 client machines authenticating against OpenLDAP right now. The next step is to get autofs working. Which I have, but my map loads all users at once. I'd like to avoid ...
user avatar
1 vote
0 answers
496 views

NFS with autofs: mounting /run/lock gives permissions error

I'm running Ubuntu server 14.04 as an NFS server to another 14.04 machine (one's a mail server the other a web server where I'd like to run the MailMan admin GUI). I'm using autofs to mount the ...
user avatar
5 votes
2 answers
19k views

Centos 7 autofs mount doesn't work right after reboot

I've setup autofs on Centos 7. However, it seems like after reboot, it took some time to mount /home/ directory, even when I 'cd' into it. It only succeeds after 3 tries: [root@localhost ~] cd /...
user avatar
  • 245
0 votes
0 answers
3k views

How to mount a Mac OS X 10.10 shared volume with Ubuntu Server 14.04

I'm attempting to mount a Mac OS X 10.10 shared volume via Ubuntu Server 14.04.1. I've set this up successfully between two Macs but I'm having a problem Ubuntu to Mac. I've setup the shared volume "...
user avatar
1 vote
1 answer
3k views

Correct use of autofs "hosts" map option?

Using Ubuntu 14.04 LTS, I have an NFS server set up to export some directories. The client machine (also Ubuntu 14.04) is using autofs with the following in /etc/auto.master: /net -hosts suid But ...
user avatar
2 votes
2 answers
5k views

AutoFS mount multiple CIFS Shares to same directory

As long as I had only one mount everything was fine. file: /etc/auto.master /mnt /etc/auto.srv1_share1 file: /etc/auto.srv1_share1 sh1 -fstype=cifs,rw,user=jdoe,domain=srv1,noexec,password=xxx ://...
user avatar
0 votes
1 answer
678 views

Wrong ldap user and group IDs on nfs

we have users authentication driven by ldap and home directories shared on nfs server mounted by autofs. We recently installed Ubuntu 15.04 on three new machines and added them to our infrastructure ...
user avatar
  • 163