AutoFS is a software application that allows file systems to be automatically mounted and unmounted on demand.

learn more… | top users | synonyms

1
vote
0answers
23 views

Automount with autofs, encfs and keyring access

I have build myself a nice setup: I have encrypted encfs folders that are mountable with autofs, i.e. when I enter the folders they will be automatically decrypted. I have the encfs password added to ...
1
vote
0answers
217 views

Can Ubuntu 16.04 setup autofs to automount /media/autousb with read and write permissions if am user frank?

I spent 6 hours yesterday testing @Ingo Blackman's answer to the Unix and Linux Stack Exchange article, [Automounting USB sticks on Debian When I use a udev rule ACTION=="add" and RUN+="/bin/ln -...
0
votes
0answers
34 views

help identifying autofs error codes

I am quite new in linux and need help to identify what my autofs errors are saying. I tried to google it but I can't find the problem. May 23 01:25:06 delta-0-12 automount[18796]: ...
1
vote
1answer
24 views

Nested directories managed by autofs?

Is it ok to have nested directories managed by autofs? e.g. /nfs/zfs /nfs On my Debian 8 machine, I have /etc/auto.zfs like this: repo -fstype=nfs,rw 192.168.0.2:/repo and /etc/auto.nfs like ...
3
votes
0answers
31 views

Is it bad to have thousands of autofs rules?

My company literally has thousands of NFS volumes, which we need to mount on a few of our servers. However, we never mount all of them at the same time; typically we mount about 12 at a time. Most of ...
2
votes
0answers
30 views

Autofs: I'm able to mount one folder but not the other

I'd like to use autofs to mount two directories from my laptop to my lan-server. The problem is, that autofs mounts one directory but not the other... This is how my laptop exports the directories: /...
1
vote
1answer
71 views

Autofs with remote and local home directories at same folder

I have a NFS server exporting home directories for remote users and the workstations have local and remote users. I want to configure autofs to mount a remote user home directory as a subdirectory of /...
0
votes
0answers
26 views

Autofs : Multi LDAP

I prepare the migration NIS to LDAP maps. I use autofs for mount nfs directory. ( User home & /usr/local/xxx ) To work with 1 ldap server but i would set to backup server. I test this : cat /...
0
votes
0answers
69 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
3
votes
2answers
339 views

NFS mount with fstab vs autofs

What method is best to use for mounting a NFS share from another machine? Mount using /etc/fstab entry or Mount using autofs? what is the difference between them?
1
vote
0answers
84 views

FUSE hangs trying to mount network filesystem on login

I am using Fedora 23 and I have autofs set to automount some s3fs FUSE filesystems when directories under /mnt/s3 are accessed. Since I set this up, I always experience an additional delay upon ...
1
vote
1answer
37 views

autofs: how to check if a given directory is a mount trap, from userspace?

Mount traps are core elements of the implementation of autofs in Linux, and "any directory provided by a filesystem can be designated as a trap" (per autofs4.txt); from kernel space, one'd check if "a ...
0
votes
0answers
577 views

Debian Jessie start rpcbind and nfs-common at boot with systemd

On my Raspbian (based on Debian Jessie), I need to start at boot rpcbind and nfs-common services because I need them to start autofs at boot for a NFS mount. Since Debian Jessie now has moved to ...
0
votes
2answers
264 views

NFS mount at boot with autofs on Raspbian Jessie

I'm trying to configure my RPi with Raspbian Jessie to use autofs to mount at boot a NFS share from my QNAP NAS. The manual mount with mount -v -t nfs server://share /mnt/share works and also the ...
0
votes
0answers
166 views

AutoMount A Windows CIFS Share to CentOS 7 Using Active Directory In A Single SignOn Scenario

I have a CentOS 7 machine I setup which is integrated into a Windows 2k8r2 Active Directory domain using SSSD and RealmD. I am using AD Security Groups to restrict domain user access to the Cent ...
1
vote
0answers
51 views

How to mount to subdirectory of autofs

I have follong problem - I'd like to use autfs in one place to mount to subdirectory of autofs. I.e. I'd like to have something like: foo -fs=... bar/baz -fs=... The problem is that (according to ...
2
votes
1answer
37 views

Mount a large squashfs in a way that allows random writes (to a separate filesystem)?

I just received a few-dozen-gigabyte squashfs that contains a PostgreSQL database. In order to be able to conveniently query it, I need to have a write access, which makes it complicated. Is there a ...
1
vote
0answers
44 views

AutoFS special map does not work

I'm trying to use an AutoFS special map as referenced here. Surprisingly, I've found little information about that on the Web. (This might be because the reference above seems to be the only one ...
0
votes
0answers
61 views

Debian autofs: why this syntax doesn't work?

I have setup nis server,and automount maps i want every user which login mount home from nfs server. This is auto.master +auto.master +auto.home /home /etc/auto.home This is auto.home * ...
1
vote
1answer
21 views

What does automount do when no maptype is specified?

I have inherited a server with an entry in /etc/auto.master of /home auto.home. In the manual on this server (and on another more recent server) it's clear that map-type is optional. What I can't ...
1
vote
0answers
178 views

NFS Share on Centos 7 Fails to automount

I have a fresh install of Centos 7. I cannot seem to auto mount an NFS share located on 192.168.254.105:/srv/nfsshare from the Centos client. Mounting the share manually however, works perfectly. /...
0
votes
0answers
58 views

auto.master: “/net -hosts” make default vers=3

The built-in autofs map -hosts is very handy, but it mounts nfs with that stupid vers=4 option, which maps all numeric uids to nobody by default. I'd like to change the default mount options to vers=...
0
votes
0answers
149 views

Not able to automount NFS share

I am using RHEL 6 and not able to mount NFS Share via automount . My Config files are as follows :- #cat /etc/auto.master /mnt auto.mnt #cat /etc/auto.mnt /nfsshare -fstype=nfs,no_root_squash,rw,...
4
votes
1answer
308 views

Debian stretch asks for root password in order to mount usb disks after upgrade

After apt-get upgrade && apt-get dist-upgrade, Debian Stretch started to ask for root password for external usb disks. Creating a /etc/polkit-1/localauthority/50-local.d/55-usb-mount.pkla ...
1
vote
1answer
458 views

autofs shares not updated after reload

What's the best way to make autofs aware of any changes to its map files (e.g. changes in auto.home below) without the need to stop the service on RHEL 6.7? According to autofs man page If a map ...
1
vote
0answers
96 views

Debian Jessie, copy file on NFS share (autofs) at shutdown

I'm on Jessie 8.1 so I use systemd to launch a service at shutdown. My service uses a script to copy a file on a NFS share (mounted by autofs). It doesn't work, I know the script can copy a file on ...
0
votes
2answers
479 views

autofs 'failed to mount autofs path' as service but not manually (selinux)

I'm on CentOS 6.6 and I'm having a strange problem with autofs. I'm trying to mount an smb share on /var/www/html/mysite/docfolder, so I created a docfolder inside the mysite folder, ran chmod 777 on ...
4
votes
1answer
187 views

Passing automount options in FreeBSD

I seem to be unable to automount nfsv4 shares in FreeBSD 10.1. All of my mounting information is stored in an LDAP database and the shares are on a NFSv4 server. I've gotten the mapping right so ...
0
votes
1answer
2k views

how to disable autofs4 [closed]

this line is from the output of dmesg -e on Ubuntu 15.04 using systemd and UEFI: [ +14.874691] systemd[1]: Inserted module 'autofs4' as it shows it takes 14 seconds to load. To my knowledge, ...
2
votes
1answer
2k views

What's wrong with my NFS setup?

I had previously been able to configure an NFS server on a computer running CentOS 6.6, and to mount the file system in a Virtual Machine with the same OS and using autofs. Last week I did a fresh ...
2
votes
1answer
334 views

Automounts: All mounting and will not umount on its own [closed]

I have a few SLES 11.2 servers. They do something really strange with automount. We have nearly 500 possible automounts our users and their codes may need, including automount entries for each user'...
0
votes
1answer
354 views

automount ext4 external hdd partition for owned by specific user

I'm trying to figure how to mount an ext4 formatted external HD with permissions for a specific user using autofs, but I'm only able to mount it as owned by root. I have read that ext4 mount points ...
2
votes
1answer
1k views

SSSD and autofs

I am trying to set up SSSD to get automount maps from Active Directory. I think my settings are correct but it uses the wrong username to query AD. It takes whatever that is set as "mapname" (behind ...
1
vote
0answers
600 views

Using autofs to mount a NFS share

I am trying to setup a RHEL 7 machine with an autofs NFS mount (the NFS mount is a Windows 2012 R2 server running Services for NFS). Here are the contents of /etc/auto.master: /nfs /etc/auto.nfs ...
1
vote
1answer
245 views

SELinux disabled, net.ipv4.tcp_syncookies and nfs

OS is RHEL 6.2. I appear to be having an issue with SELinux. I've disabled it in /etc/sysconfig/selinux, however, when my host starts the command sestatus show that I'm in permissive mode. Searches ...
6
votes
3answers
2k views

How can I see automount points in Linux?

We use autofs at work and I'm having trouble remembering some mount points. With autofs, you can only see currently or recently mounted volumes on a particular machine. How can I see the rest?
4
votes
2answers
692 views

Wildcard automounts with systemd

I’m running jessie/sid with systemd 208 and try to convert the following wildcard autofs configuration to either an /etc/fstab or .mount/.automount definition. $ cat /etc/auto.master /home/* -fstype=...
2
votes
2answers
690 views

Autofs home directories with passwordless logins

I want a setup where a user home directory is mounted on login (autofs). This is working with password based authentication. However, I want passwordless authentication, by generating public keys. ...
4
votes
2answers
5k views

Linux: difference between using autofs with NFS and just using fstab

What is the difference between using auto.master and having autofs automount your NFS mountpoints versus just putting the info in fstab? Linux Red-Hat 5/6
2
votes
1answer
47 views

The importance of the order in domain controler names for setting an LDAP server, is there any reason?

I wonder if there is any reason to speficically put the domain controlers in the proper order, when configurung a LDAP server using autofs. For example if specify on a RedHat/CentOS the dc domain ...
3
votes
1answer
5k views

autofs error - “No such file or directory”

I am trying to link a remote RHEL machine to our network. I can now ssh between the machines using fixed NAT addresses. I have copied the /etc/auto.misc, /etc/auto.master and /etc/exports files from ...
2
votes
1answer
944 views

Cannot stop autofs on FC19

I'd like to temporarily disable autofs on my fedora 19 x86 install. I would like to insert USB drives without them auto-mounting. Typing: service autofs stop Returns: Redirecting to /bin/systemctl ...
2
votes
0answers
243 views

Issues accessing CIFS share directories

Disclaimer 1: Crossposted from Serverfault because there was no activity over there. Disclaimer 2: This question is similar to Automounting not working correctly for CIFS shares; weird results but ...
5
votes
3answers
4k views

What process is accessing a mounted filesystem sporadically?

I have a Solaris 10 server with autofs-mounted home dirs. On one server they are not unmounted after the 10 min timeout period. We've got AUTOMOUNT_TIMEOUT=600 in /etc/default/autofs, I ran automount -...
2
votes
1answer
401 views

Can AutoFS keep a share permanently mounted on Solaris?

I have a share mounted on an Oracle Solaris application server that read/writes data onto the share periodically. I have automounted it with a timeout of over several minutes but is there a way to ...
2
votes
1answer
217 views

In what situation would it be more beneficial to use AutoFS over vfstab for shares dedicated to just one server?

Consider an environment of three Solaris servers (Server1-3): Where Server1-3 all share a mount nas-server.company.com:/vol/appls-backup, for storing backups and recovery related files at periodic ...
1
vote
2answers
3k views

wheezy: nis/autofs doesn't work

I have a few computers with debian lenny on them. One of them has a nis server: 193.167.1.75 I can automount my home directory when I log in: >ssh 193.167.1.80 -l myuser >pwd /home/nis/myuser ...
0
votes
2answers
640 views

Autofs home folders from solaris 11

I'm having trouble since 2 days with autofs. I have a Solaris 11 Server. There I share the folder /export/home with the following command: share -o rw -d „Freigabe von /export/home“ /export/home My ...
7
votes
1answer
9k views

autofs mounts not disconnecting after inactive

I have autofs installed on several linux servers that are connecting to central NFS server for the users /home directories. It works great when mounting the directories on login, but the mounts never ...
4
votes
2answers
12k views

Using autofs to mount under each users' home directory

(crosspost from SF, where I wasn't getting much joy) 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 ...