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]

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

2
votes
1answer
18 views

AutoFS not working as expected with CIFS shares

I have this setup Client: Centos 7.6.1810 up to date Server: Windows 7 pro AutoFS Configuration # tail -1 /etc/auto.master /srv/xray /etc/auto.xray # cat /etc/auto.xray cdm8240 -fstype=...
0
votes
1answer
57 views

Kerberos key fails with AutoFS

Our Kubuntu computers are configured to automatically connect to their network drive via AutoFS. When we upgrade machines to Kubuntu 18.04 LTS this AutoFS connection no longer works. It is still ...
0
votes
0answers
21 views

Allow all users full read/write access to CIFS share with automount/autofs

How can I configure autofs/automount so that every single user has full access to an auto-mounted CIFS share? More information This is what I currently have configured: /etc/auto.master /mnt /...
2
votes
1answer
30 views

Understanding Autofs mounting

So my auto.master looks like this, the server I am concerned with is server4-vn01.cifs. /- /etc/server.cifs --timeout=400 --ghost /- /etc/server2.cifs --timeout=400 --ghost /- /etc/server3.cifs --...
0
votes
1answer
30 views

Fuse not Loaded When Trying to Mount

I'm trying to execute this command in terminal: sudo mount -t cvmfs <repository> /mnt/cvmfs and I keep getting Fuse not loaded returned to me. I'm not quite familiar with what this fuse in ...
1
vote
0answers
137 views

Alternative to autofs to mount CIFS folders in user home folders in multi-user environment

My use case seems very simple. I want to automount CIFS folder CIFS1 and CIFS2 which exist for all users on my fileserver in each user home during login on this multi-user 18.04 Ubuntu machine. So ...
0
votes
0answers
119 views

AutoFS with nfs does not show files in mount point

I tried to practice on autofs and something do not work as excepted. I have the following Scenario : Debian NFS SERVER : 192.168.1.32 Centos7 nfs Client: 192.168.1.99 /etc/exports on NFS SERVER : ...
0
votes
1answer
309 views

AutoFS for mouting Samba share with Kerberos Ticket

I've setup a Samba AD on Debian Stretch. Another stretch client node is able to authenticate using AD credentials. The domain user has limited rights on the client node, meaning he can't mount ...
0
votes
0answers
43 views

How to make autofs mountpoints browsable?

This question has been asked a couple of times before, but the suggested answers haven't worked for me. I'm running Ubuntu 16.04.05. If I cd to autofs-mounted /m/foo/bar and ls, I wish to be able ...
0
votes
1answer
80 views

Centos 7.5 autofs posix acl support

On centos 7.5 I have mounted NFS share(from isilon server) via autofs service. Now when I run setfacl -d -m g::rwx /path/to/share/location it gives error setfacl: /path/to/share/location Operation ...
2
votes
0answers
601 views

Idle timeout for NFS share mounted with systemd automount

What I want to do? I want to configure my /etc/fstab so that my NFS share was: mounted automatically when accessed (auto-mount on-demand), unmounted automatically after specified idle timeout (x-...
1
vote
1answer
107 views

Can autofs be used for a computation cluster? [closed]

I am planning to build a small computation cluster at home. I need share /usr/local and /opt directory on server machine to several computation nodes. There are compiled computation programs and ...
0
votes
1answer
403 views

autofs indirect mount in CentOS 7

I am using CentOS7. I have tried to test "autofs". I have created 2 centos servers as cent_ldap and cent_client. I have configured cent_client to use ldap authentication successfully. In cent_ldap I ...
1
vote
1answer
928 views

Automatically remount boostfs drive

I'm working with the DataDomain server in our Commvault solutions. Anytime this server is rebooted the network disk in use for the solution does not remount. Right now this means we need to stop some ...
1
vote
0answers
127 views

sshfs with automount failing silently

I am attempting to "permanently" mount a network drive (CentOS 7.4) on my local machine (macOS 10.12 Sierra) using sshfs and automount First off, is this actually the most appropriate tool to use ...
1
vote
1answer
383 views

How can I resolve autofs mount delays related to host probing?

I have an infrastructure of CentOS 6 and CentOS 7 client machines that rely on autofs to automount various NFS filesystems exported by a service elsewhere in my organization. Recently, the clients ...
1
vote
0answers
77 views

autofs mount all devices from specific type

I want to mount ALL USB devices with one autofs entry. I can't mount the device by it's ID, Label or something like that. I need to duplicate it and don't know every single usb device on every single ...
2
votes
0answers
276 views

How to automount SSHFS shares for a user upon login?

My question is how to mount SSHFS shares as the user (not root) upon demand or upon user login using only tools that are in my distro's core repos. I'm using Arch. I don't mind writing a small script, ...
1
vote
1answer
657 views

How do I automount a hard drive to samba using autofs?

I have a Raspberry Pi with samba installed. I've looked into autofs and saw the potential of automounting an external harddrive upon accessing it over the network by my windows machine. Appearantly ...
3
votes
1answer
3k views

How to deal with freezes caused by autofs after network disconnect

I mount four servers (3 via cifs, 1 via sshfs) using autofs. auto.master /- /etc/auto.all --timeout=60 --ghost auto.all /mnt \ /server1 -fstype=cifs,rw,credentials=/etc/.smbcredentials....
1
vote
0answers
109 views

New files created through sshfs date from 1970

I wish to mount a remote Linux directory to my local laptop using sshfs. I do this by using autofs. In /etc/autofs/, I therefore have in the auto.ssh file (I used the Arch wiki to guide me for the ...
1
vote
1answer
2k views

Issues with autofs “problem reading master map, maximum wait exceeded”

I am trying to mount a cifs partition using autofs. After a lot of trial and errors, I finally manage to get it mounted (the main issue I ran into is that in the instructions, here, this line in the ...
2
votes
1answer
2k views

Mac OS Sierra 10.12 autofs mounts only the first specified NFS volume

I am having an issue with the Mac OS Sierra. I have added a NFS config in a auto_nfs for 2 NFS shares and the autofs picks only the first one. Here's my auto_master: # # Automounter master map # +...
1
vote
1answer
7k views

Autofs Issues Mounting NFS Home Directories (CentOS 7.4) [closed]

I am having issues getting autofs to mount user's home directories via NFS. I have an NFS client (client.home) and an NFS server (server.home). Both systems are CentOS 7.4. SELinux is running in ...
-1
votes
1answer
1k views

Autofs won't mount a mount that Automount -f -v will

I had an issue today that dinged my sanity pretty hard, so I'm posting it so some poor bastard who follows in my idiotic footsteps will maybe find solace. Running Autofs on RHEL7. Basic CIF mount. ...
2
votes
2answers
5k views

AutoFS fails to mount Samba CIFS share

I have a CentOS 7 server named server1.example.com using Samba to share /srv/samba/share. //server1.example.com/share is the path to the share. I am not able to get CentOS clients to mount //server1....
1
vote
0answers
671 views

automount sshfs with autofs and sshpass

I want to mount partitions from a remote NAS that doesn't support login with a certificate. I created or edited the following files: /etc/ssh/sshpass.232 with ssh password /etc/ssh/sshpass.232.sh ...
0
votes
1answer
511 views

autofs : dynamic mounting rule for s3 bucket

I successfully implement autofs to automatically mount s3 bucket to the server which running ubuntu server 14.04.5 by following this tutorials. but the number of bucket (that needs to automatically ...
2
votes
1answer
3k views

Need example use of autofs.master.d/

I'm trying to setup autofs 5 on Debian 9 (Stretch). I want to mount nfsserver:/top/dir/tools to my /top/dir/tools Read only is fine in this case and I'm not worried about uid mapping. auto.master ...
2
votes
1answer
668 views

autofs ~/.hidden: No such file or directory

I am mounting home drives using autofs from a file server: auto.master /home /etc/auto.home auto.home * tyrell:/nfshome/ This seems to work great, but on the file server, tyrell I'm ...
2
votes
1answer
95 views

How to configure autofs on mobile system

I am using a laptop to access files on a remote research cluster. Originally I used a static mount with fuse and sshfs configured in /etc/fstab. This worked reasonably well on a workstation with ...
4
votes
0answers
515 views

Mount Google storage bucket with autofs

I'm trying to mount GCS buckets on demand with autofs. Closest they have instructions for is SSHFS like this: mntpoint -fstype=fuse,allow_other :sshfs\#user@example.com\: Following that example I do:...
12
votes
1answer
3k views

systemd: How do I automount a USB filesystem using /etc/fstab?

I want my USB filesystems to automount when I connect the device. How do I setup automount with systemd via /etc/fstab?
2
votes
1answer
587 views

systemd: autofs containing autofs does not unmount

I'm trying to set up two directories, each automounted: /mnt/dir /mnt/dir/subdir In my case, these are: /mnt/btrfs-vol/rootfs (read only) /mnt/btrfs-vol/rootfs/btrbk-snap (RW for taking snapshots ...
1
vote
0answers
94 views

autofs core dumps after configuring /etc/autofs/autofs_ldap_auth.conf

Some quick system information: I'm running Arch linux with all the latest software, LDAP is configured and (more or less) working. The autofs maps are stored on an LDAP server and these maps are used ...
0
votes
1answer
1k views

autofs on centos 6.8 to mount windows share: How to debug?

I am following the "even better method" documented here: https://wiki.centos.org/TipsAndTricks/WindowsShares I am unable to get it to work. I follow all the steps, but end up with no access to the ...
1
vote
0answers
85 views

File contents scrambled on mounted NFS file system

I have a setup with one server and two clients, all running Debian. The server has several exported file systems which are mounted on the clients using autofs and NFS. Until a few days ago this worked ...
2
votes
0answers
734 views

Trouble with multiple autofs mounts

So, I am trying to mount folders from server1 and server2 on server0. I can't seem to get the second folder mounted. Here is what I did: Created a folders /nfs/home and /nfs/programs on server0 . I ...
1
vote
1answer
568 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
841 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 -...
2
votes
1answer
636 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 this:...
2
votes
1answer
177 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
444 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: /...
2
votes
2answers
10k 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 /...
1
vote
1answer
852 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 ...
5
votes
2answers
7k 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
495 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
217 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 ...
4
votes
1answer
6k 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
1k 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 ...