Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autofs]

The tag has no usage guidance.

1
vote
0answers
13 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....
1
vote
0answers
42 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 ...
0
votes
0answers
90 views

CIFS mounts (autofs) with noatime option no longer working

I have a backup script that runs overnight, to backup the files on an NAS. The shares on the NAS are mounted using autofs. Since this is primarily a windows network, the shares are (well, were) ...
1
vote
0answers
121 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 ...
0
votes
0answers
99 views

How to put “remount” option in Linux autofs configuration?

As I am setting up a chroot environment, users can only read some drives. I need to remount some mount point as read-only partition. "remount" is necessary to make the already mounted partition as ...
1
vote
0answers
17 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 ...
0
votes
1answer
94 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 ...
1
vote
1answer
455 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\#...
2
votes
0answers
100 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 /...
0
votes
1answer
2k 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 ...
0
votes
1answer
355 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 ...
1
vote
0answers
123 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:...
2
votes
0answers
1k 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 ...
-1
votes
1answer
103 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
1k 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 ...
2
votes
1answer
915 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 ...
3
votes
0answers
1k 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 ...
1
vote
1answer
131 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
687 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 ...
0
votes
1answer
424 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 ...
1
vote
1answer
181 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 ...
1
vote
0answers
46 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(...
-1
votes
1answer
95 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
795 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 ...
1
vote
0answers
311 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 ...
5
votes
2answers
12k 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 /...
0
votes
0answers
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 "...
1
vote
1answer
1k 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 ...
1
vote
2answers
2k 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 ://...
0
votes
1answer
408 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 ...
0
votes
1answer
207 views

Oracle Database with autofs

We run our oracle databases (11 & 12) on NFS on Redhat 6. We do not use ASM. Is it acceptable to use autofs for all of the various oracle files? Thanks, Al
0
votes
2answers
2k views

Auto mount usb keys on a static point?

I want to create a script to backup data for casuals. They have to insert a usb key and just have to click on a script to backup data on it. Unfortunately, in Centos 6.6 auto mount change the mount ...
2
votes
1answer
3k views

How to mount a smb drive with different credentials (user name and password) on Linux?

Ok, I have here a laptop on which runs Linux (CentOS 7). The laptop will be used from different user's (which have all different login's on the laptop). We have in our network a Samba server. All ...
0
votes
1answer
209 views

RHEL6 autofs maps with subdirectories and LDAP

All the documentation I see shows, even for file based, mounts that will show up on the client computer like /test/mymount and you can have as many /test/mymount2 /test/mymountN as you want. What I ...
0
votes
2answers
3k views

Autofs and Samba not mounting on RHEL 7

I have a samba share entitles "scrolls" set up. Listing the samba share works just fine: [root@rhel7-client ~]# smbclient -L 192.168.1.2 Enter root's password: Domain=[WORKGROUP] OS=[Unix] Server=[...
0
votes
1answer
831 views

/etc/auto.master vs /usr/lib/systemd/system/*.automount in centos7

What's the difference/dependency between autofs and systemd automount and declarations in /etc/auto.master versus /usr/lib/systemd/system/*.automount in CentOS 7 ? Do they do exactly the same? If ...
7
votes
1answer
6k views

Why do some host volumes in Docker containers give the error “too many levels of symbolic links”?

I'm running docker with a host directory mounted: $ docker run -v /usr/groups/thing -ti imagename /bin/bash Files in /usr/groups/thing/foo are accessible: # ls /usr/groups/thing/foo a b c But ...
0
votes
1answer
71 views

NFS permissions on a directory

I feel stupid not knowing this, but alas, I need to ask. I have a few directories being automounted via NFS on my CentOS boxes. Source is a Dell NAS or Openfiler (which we are working on migrating ...
2
votes
0answers
861 views

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 14.04 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). ...
2
votes
3answers
274 views

Autofs mount problems

I need a suggestion how to configure autofs to mount a windows share automatically to CentOS. I can successfully mount the share, but I can't seem to enter parameters into auto.master corectly. ...
1
vote
0answers
279 views

How to prevent autofs from stalling system when nfs share is not available

This problem has been there in OpenSuSE 10.1-12.3 and (K)Ubuntu 10.04-14.04 and I'd like to get rid of it now: We have a common software directory on an NFS share. Client-side autofs setup # /etc/...
1
vote
1answer
1k views

LDAP + NFS + automount home directories permissions issue

When an LDAP user logs into the system they have incorrect permissions to their home directory. LDAP and NFS services exist on the same server. The directory shows the correct ownership / ...
5
votes
2answers
3k views

Keeping user's filesystem persistent across AWS EC2 spot instances

I noticed that, after a new Amazon AWS EC2 spot instance is auto-launched (I have that option turned on), the state of filesystem is not current (represent the last state before previous spot instance ...
1
vote
2answers
4k views

Static NFS mounts vs autofs direct map mounts

We are in the process of re-designing our NFS service and are at a point where we can choose either to mount our NFS shares statically from /etc/fstab at boot or as autofs direct maps. In our new ...
4
votes
4answers
4k views

What is the correct escaping for autofs mount credentials files?

I have configured autofs on CentOS using /etc/auto.mymount. Something like this: mymount -fstype=cifs,rw,noperm,credentials=/etc/auto.creds.svc_account ://winserver.domain.local/SharedFolder This ...
0
votes
1answer
1k views

nfs autofs automount of exported filesystems is empty on nfs server

I am having issues with empty nfs automounts on the nfs server itself. I'm running RHEL5.7 64bit exporting 4 directories as follows: /export/site/server13 *(fsid=0,rw,sync,crossmnt) /export/site/...
1
vote
1answer
2k views

autofs and NFS failover - can autofs remount?

I have this scenario: 2 NFS servers with /usr/share/man as exports (just as example, it can be anything), let say server A and server B (not replicas, just 2 independent servers on the same subnet ...