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
1
vote
0answers
12 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 ...
0
votes
0answers
50 views

Trying to automatically mount a backup device on plugin and run a script

I am currently trying to automate backups for my laptop and while doing so fell down some rabbit holes by using old and no longer working solutions. Now I'd like to ask for some advice to improve upon ...
1
vote
1answer
66 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
107 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
25 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
50 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
98 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
403 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
408 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
63 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
132 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
201 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
758 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
1k 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
172 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
2k 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
204 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
672 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
182 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
908 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
120 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
342 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
906 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 ...
7
votes
1answer
5k 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
216 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
3k 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
10k 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
2k 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
8k 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
980 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
775 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 ...
4
votes
1answer
5k 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
822 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
116 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
648 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
4k 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
833 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
103 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
2k 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
94 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
995 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
697 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
855 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 -...
3
votes
1answer
848 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
213 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
517 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
13k 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 /...
2
votes
1answer
1k 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 ...