Questions tagged [autofs]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

How to resolve the delay in mounting NFS export with autofs?

When mounting an NFS mount with autofs, I experience a delay in the mount (between 10 seconds to a minute). How can I avoid this delay while still resolving the server name via DNS? I am using ...
0
votes
0answers
15 views

Cannot access automounted read-only nfs-shares

I am trying to set up automount to access folders on my NAS. I kind of got it working, except I can't access the shares that I have defined read-only permissions to on the NAS. So, for dsbackup, I ...
1
vote
1answer
27 views

Problems with automounting NFS on RHEL8

I've run into some problems when configuring autofs on CentOS and I would really appreciate your help with it ^^ I have to VMs: CentOS Linux release 7.8.2003, IP address: 10.110.163.10 Two NFS ...
0
votes
1answer
16 views

autofs shall mount depending on network/address

when I use my notebook not in my office network, the auto mounter should not try to mount my /etc/auto.share entries. Is there a setting avoiding the mount depending on the network/address? The big ...
0
votes
0answers
10 views

Why nfs show my fs root if I mount nfs hostname from the same hostname?

I use nfs+autofs. Autofs is configured as this grep nfs /etc/auto.master /media/nfs /etc/auto.nfs cat /etc/auto.nfs nas -nfsvers=4,sec=sys,soft,retry=0,retrans=2,timeo=100 nas:/ slack64 -...
1
vote
1answer
23 views

Stopping Autofs when in a mounted folder and the folder stays mounted

I installed autofs and it's mounting a network drive to a folder in my local linux filesystem. I use -fstype=cifs,rw in the mount command in an /etc/auto.smb.shares file. If I cd into the mounted ...
0
votes
0answers
85 views

Problems using autofs to mount an LDAP user's home directory

Goal: When an LDAP user logs in from a remote server, the home user created in the LDAP server is automounted. I need to do this with autofs. OS: Centos 7.7 Setup: The LDAP server, labipa.dthacker....
1
vote
1answer
73 views

Autofs: /sshfs-dir

The solution to having a dynamic /nfs dir proved to be extremely simple: https://unix.stackexchange.com/a/584475/2972 I am wondering if I can do the same for sshfs. Let us assume that I can run: ...
0
votes
1answer
30 views

autofs --force unmounts /proc

Historically I've seen autofs get into situtations where systemctl restart autofs will hang indefinitely due to stale nfs handles. As a result I've employed the --force option to make autofs play a ...
0
votes
1answer
32 views

Autofs: /nfs-dir

At my university we had autofs set up so that you could: cd /nfs/fqdn.of.some.nfs.server/share and it would automount the nfs server+share as if root had done: mount -t nfs fqdn.of.some.nfs.server:...
0
votes
0answers
10 views

Annouce SAMBA share when harddrive is mounted with autofs

I have an external hard drive that is connected via USB to a debian headless server. Using autofs the harddrive is mounted automatically when it is turned on (I don't want the hard drive to be turned ...
1
vote
0answers
30 views

AutoFS doesn't use user's krb5 ticket when in conjunction with sssd

I'm using a default /etc/auto.smb (uploaded to your convenience) and a single-line auto.master (/media /etc/auto.smb --timeout=300 --ghost) on Debian 10. SSSD is set up and working just fine - users ...
1
vote
1answer
526 views

AutoFS - Bash script to check if mount is ALIVE before proceeding or exiting

This is specific to autofs mounts. I've found numerous ways to check a traditional mount, some use the /proc/mounts file. I can see my mount is still in that file even when the mount is not currently ...
0
votes
1answer
196 views

Drive mounts with mount, but not autofs automount

Second day on this, so I'm definitely doing something wrong. Can mount a spare drive to user's home subdirectory mount point, with correct permissions for user to use it. Doing that with just simple ...
0
votes
1answer
69 views

autofs cifs samba

Automounting not working correctly for CIFS shares; weird results Base on the above question, my issue is that my samba/cifs password do have '*' and '&' characters which point me to the lines: ...
0
votes
0answers
97 views

how to gracefully handle rsync failing, sometimes, to correctly read a directory?

Running Ubuntu 16.04 LTS fully updated on remote webserver Running rsync 3.1.1 on remote webserver I have a fairly simple setup where I allow some users to manage a set of publicly accessible files. ...
0
votes
1answer
144 views

How to add fuse filesystems to the mount command?

I have used linux distributions in the past where the "mount" command could auto-detect the filesystem on a drive and mount it without having to use the "-t" parameter. Now, I am building my own ...
2
votes
1answer
662 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=cifs,ro,...
0
votes
1answer
827 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 ...
1
vote
0answers
174 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
202 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 --...
1
vote
1answer
372 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
1k 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 ...
1
vote
1answer
3k 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
1answer
236 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
3k 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
275 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
899 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
1k 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
196 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 ...
2
votes
1answer
1k 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
133 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
412 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
1k 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 ...
11
votes
1answer
6k 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
310 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
4k 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
11k 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 ...
0
votes
1answer
3k 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
10k 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
1k 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 ...
1
vote
2answers
986 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 ...
5
votes
1answer
6k 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
1k 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
136 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
698 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:...
14
votes
1answer
6k 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
1k 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
114 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 ...