Questions tagged [autofs]

125 questions
15
votes
4 answers

Mount CIFS share with autofs

I have a system running RHEL 5.5, and I am trying to mount a Windows share on a server using autofs. (Due to the network not being ready upon startup, I do not want to utilize fstab.) I am able to mount the shares manually, but autofs is just not…
Phanto
  • 851
  • 5
  • 16
  • 24
10
votes
2 answers

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 files in /usr/groups/thing/bar are not: # ls…
Peter Westlake
  • 806
  • 2
  • 6
  • 17
7
votes
2 answers

How to configure autofs5 timeout on per-filesystem basis?

Because of a show-stopping bug in Debian autofs 4, I just upgraded to autofs5. It is not honoring the timeout option in my auto.master file: /var/autofs/removable /etc/auto.removable --timeout=2 I use this map for thumb drives and so on; I don't…
Norman Ramsey
  • 645
  • 2
  • 10
  • 24
7
votes
1 answer

How to prevent autofs from mounting over specific directories?

I have a workstation, on which I have a local user account with a local home directory. I'm also a part of an organization, in which I have a NIS user/home directory. I would like to setup autofs in order to access some shared NFS directories. The…
Nir
  • 173
  • 1
  • 3
6
votes
4 answers

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 has been working and still does for some mounts.…
Steve
  • 121
  • 1
  • 7
6
votes
1 answer

using chained automount to mount home directory

I have set up two directories mounted with automount (via LDAP): in the /home directory automount is configured to mount * -fstype=bind :/network/srv/home/& in the /network directory one entry srv …
Andreas Roth
  • 307
  • 2
  • 9
6
votes
1 answer

Mount to NFS export of autofs mount shows empty contents

I use autofs to mount some iso files in folder /mnt/iso: Fedora-13-x86_64-DVD.iso Fedora-14-x86_64-DVD.iso Fedora-15-x86_64-DVD.iso The autofs is working fine and I can see the contents of iso files: # ls /mnt/iso/fedora.13/ # ls…
Chau Chee Yang
  • 327
  • 1
  • 2
  • 11
5
votes
2 answers

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 /home/ -bash: cd: /home/: No such file or…
surfcode
  • 245
  • 2
  • 5
  • 15
5
votes
2 answers

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 is auto-shutdown due to current price going over…
5
votes
1 answer

Does an NFS export with sec=krb5 *require* that the parent directory also be exported with sec=krb5?

I copied somebody's NFS server/client setup verbatim and am having trouble making sense of what's going on with it. This is the /etc/exports: /export *(rw,fsid=0,crossmnt,insecure,async,no_subtree_check,sec=krb5p:krb5i:krb5) /export/home…
BrianTheLion
  • 165
  • 2
  • 7
4
votes
0 answers

AutoFS wildcard subdirectory

I am trying to automount /home/users//secure for all users using AutoFS. Naturally I would put down this line as a direct map: /home/users/*/secure -fstype=nfs4,rw,sec=krb5p jupiter:/home/users/& However according the documentation: You…
d_inevitable
  • 209
  • 1
  • 6
  • 19
4
votes
1 answer

automount works but autofs wont mount

I know this subject has been discussed so many times that I'm almost ashamed I haven't found the solution to my issue yet. Clearly there is something I quite don't understand and would really appreciate any input or pointer. Backgroud Linux…
JayC
  • 73
  • 1
  • 5
4
votes
0 answers

Open directory, external NFS file shares and automounter

This may be a big one. I've set up Open Directory on Mac OSX 10.8 (Mountain Lion) with users to allow everyone on the network to logon to any client with these centrally stored users. Before this system, we used NIS and mounted home directories with…
Eldamir
  • 179
  • 1
  • 10
3
votes
0 answers

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 (some of the others are a few years old now) and…
whoasked
  • 269
  • 4
  • 12
3
votes
1 answer

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 shares (with automountInformation:…
Hsn723
  • 71
  • 7
1
2 3
8 9