Questions tagged [autofs]

125 questions
2
votes
0 answers

Samba server: Script before allowing opening a share

I have a small home server running Ubuntu 12.04 with an external hard drive attached to it. The external hard drive is mounted with autofs. Autofs basically unmounts a hard drive if it isn't used for a specified amount of time and automatically…
TheHippo
  • 237
  • 3
  • 9
2
votes
0 answers

Using autofs to mount under each users' home directory

I have a CentOS 6.2 box up and running and have configured autofs to automount Windows shares under a /mydomain folder, using various howtos on the internet. Specifically, I have three files: /etc/auto.master # ... /mydomain /etc/auto.mydomain…
jimbobmcgee
  • 2,645
  • 4
  • 24
  • 40
2
votes
0 answers

automount stops working due to hanging mount.nfs processes that leave /etc/mtab~ lock file

I've got many automount entries in LDAP for mounting ~200 nodes between each other. Often, the automounter stops working. After debugging, I figured out that it can be fixed by running rm -f /etc/mtab~* restart autofs which makes me think, that…
aszorro
  • 21
  • 1
  • 4
2
votes
0 answers

Autofs always uses uid 0 when mounting

We have some Ubuntu clients here which shall mount kerberos protected NFS homes. The server works nicely with the existing clients, so we can assume that ldap and kerberos are ok. We managed to configure ldap on the ubuntu clients and kinit is able…
jan bernlöhr
  • 1,473
  • 3
  • 12
  • 16
2
votes
2 answers

Ubuntu mount of NFS home directories with AutoFS results in /etc/skel not being used

I am wanting a custom look for my Ubuntu 10.04 users, so things like the shutdown menu are not displayed and just having one panel at the bottom of the screen. Also removing some of the default folders that get created like Music and Videos. I made…
kaptk2
  • 366
  • 2
  • 11
2
votes
3 answers

How do I tell autofs to mount a home directory other than that described by LDAP?

I'm using CentOS 5.3 to connect to use Kerberos for authentication and LDAP for user information. Unfortunately, the home directory for all users as stored in LDAP is "/". Very bright! So, that doesn't work. Without having any access to LDAP, I…
hourback
  • 288
  • 1
  • 5
  • 16
2
votes
1 answer

Autofs mount nfs issues

I'm having some issues getting autofs to work properly on a new Centos 5.5 installation. Please find Exports from my storage servers: /san/files *(rw,sync,no_subtree_check,no_root_squash) /san/mail *(rw,sync,no_subtree_check,no_root_squash) On…
davidcollom
  • 277
  • 5
  • 13
2
votes
2 answers

How to mount Windows share on boot using mount.cifs and autofs/automount?

I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master: /mnt/mountpoint /etc/auto.servername I then created the file /etc/auto.servername with the following contents: server-ip…
Rob
  • 262
  • 3
  • 8
  • 23
2
votes
1 answer

Unable to access files through autofs on first attempt, only afterwards

I'm having a rather strange issue with autofs in CentOS 5.1. Essentially I'm trying to access a file using automount, but the first time I try to access the file it isn't found. It's only on subsequent attempts that the mount becomes accessible…
rpetti
  • 130
  • 5
2
votes
1 answer

autofs fails to mount nfs mounts on Ubuntu Lucid Lynx (10.04)

When booting, the system fails to mount nfs mounts due to statd not being started. After manually starting statd, nfs mounts are automatically mounted by autofs. Even though /etc/init/statd.conf specifies "mounting TYPE=nfs" in the "start on" line,…
Francisco Canedo
  • 151
  • 1
  • 3
  • 6
2
votes
1 answer

How to ensure nfs home directory is mounted before login

I have a machine (with mythtv installed) which automatically login a user, whose home directory is located on a server accessed by NFS4. In about 6 of 10 times it works like a charm, but sometimes the login stops because the home directory is not…
Andreas Roth
  • 307
  • 2
  • 9
1
vote
0 answers

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.mymount file: /mnt/backup …
Grashopper
  • 141
  • 1
  • 7
1
vote
0 answers

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 restarting autofs conditionally if certain mountpoints are…
azzid
  • 133
  • 1
  • 7
1
vote
0 answers

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 kernel-ml at version 4.16.6,…
datakid
  • 349
  • 4
  • 17
1
vote
0 answers

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 causing the query to run afoul of the ldap server's…
84104
  • 12,698
  • 6
  • 43
  • 75
1 2
3
8 9