Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
1answer
20 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
55 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
38 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
126 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
265 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
36 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
143 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
36 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 ...
0
votes
0answers
28 views

autofs and nfs, why cannot list the “top” dir?

I use nfs with autofs. Server is linux slackware,clients are linux slackware too,nfs-utils is 2.3.1(the latest) This is /etc/exports on server /export 192.168.0.0/24(rw,...
0
votes
0answers
140 views

How to automout USB-Drive via autofs and udev? Magic Mismatch Error

I'm trying to automount USB-drives that are being attached to a Raspberry Pi on either port to the same directory each time. For now I'm ignoring the fact that a second USB-drive might cause issues, ...
2
votes
0answers
200 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, ...
0
votes
0answers
276 views

cifs,autofs and acl

I had setup a cifs share,works fine Smbclient works smbclient \\\\NAS\\Video -U user%pass I want to restrict access using posix acl(on kernel I have support for smb acl configured) so on server NAS ...
1
vote
1answer
505 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 ...
4
votes
1answer
2k 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....
0
votes
0answers
80 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
1k 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
1k 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
5k 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
749 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
4k 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
537 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
375 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 ...
3
votes
1answer
543 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
81 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
404 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:...
11
votes
1answer
2k 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
477 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
78 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
0answers
859 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
76 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
621 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
514 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
816 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 -...
1
vote
1answer
498 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:...
3
votes
1answer
148 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
352 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
8k 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
709 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
6k 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
434 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
167 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 ...
1
vote
0answers
259 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
221 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
201 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 ...
1
vote
1answer
35 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
1answer
1k 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
538 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,...