Questions tagged [autofs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
182 views

Why does Autofs create a new folder when mounting?

autofs mounts my CIFS shares like this: /mnt/server1/server1 /mnt/server2/server2 While I want it to be just: /mnt/server1 /mnt/server2 I have in auto.master: /mnt/server1 /etc/auto.server1 --...
user avatar
0 votes
1 answer
214 views

auto.home from AutoFS Maps from Active Directory not working

I am trying to use auto.home which is stored on AD, but not having much luck. I have followed https://care.qumulo.com/hc/en-us/articles/115014470007-Serving-AutoFS-Maps-from-Active-Directory-AD-to-AD-...
user avatar
0 votes
0 answers
78 views

autofs mounts not disconnecting after inactive

I have autofs installed on ubuntu clients that are connecting to the central NFS server for the users /home directories. It works great when mounting the directories on login, but the mounts never ...
user avatar
  • 43
2 votes
0 answers
69 views

cachefilesd vs NIS automounter

I want to cache NFS mounts My NFS mounts are handled by the automounter which is governed by NIS I need to add the mount option, fsc, to the mounts to enable the cache => Where do I add this option?...
user avatar
  • 31
0 votes
0 answers
64 views

autofs mounts all shares instead of only the accessed one

I set up autofs with sshfs to mount my shares when I access them. However, if I access one of them, all of them get mounted which I would like to avoid. Am I doing something wrong? Here's my config /...
user avatar
1 vote
1 answer
275 views

Containers loses its volumes which are autofs sshfs mounted from a remote server to the host. How can I autorecover when the mount is down

I use autofs to mount a remote folder via sshfs to my local machine. On the local machine I have a docker container running which uses the same mount as a volume. If for whatever reason the mount is ...
user avatar
  • 51
1 vote
0 answers
322 views

Using autofs to mount /dev/mmcblk0p1 to /media/autousb

I am trying to automount an internal sd card reader when the sd card is inserted into a laptop. I have already been able to get external SD card readers to automount once the card is inserted, and an ...
user avatar
0 votes
0 answers
31 views

automount process starts 5 minutes after system boots

New to ubuntu, and I have been looking every place I can find to fix this issue. I really need my automount process to start when the system starts, not 5 minutes after. I have a program that starts ...
user avatar
0 votes
0 answers
1k views

mount.cifs: silencing the "No dialect specified on mount" message

I am using autofs to mount CIFS shares automatically as described in the German Ubuntu users wiki. This works perfectly fine, except that every time a share is mounted, a warning message is logged to /...
user avatar
  • 3,081
0 votes
1 answer
781 views

Autofs does not show files of Samba dir in Ubuntu 18.04

I've been trying to have AutoFS mount a location in my home network //content/projects locally in /mnt/content but there are no files when navigating there. If I mount via fstab, there is no problem, ...
user avatar
  • 25
0 votes
0 answers
365 views

What causes loss of autofs CIFS share to hang Ubuntu 19.04?

On 19.04, I use autofs to automount windows shares. It works great until I shut down the windows machine. Doing so hangs my 19.04 machine. My nemo-desktop becomes unusable, and I cannot restart gnome. ...
user avatar
  • 599
1 vote
0 answers
1k views

SSHFS recognised SSH Key, still asks for password

I had no problem using sshfs and autofs and my server was doing OK. I am mounting my backup server as a drive on my actual server. But suddenly I noticed it is no longer mounting the backup drive. ...
user avatar
  • 111
1 vote
1 answer
4k views

Mounting CIFS Share per User using AutoFS

Each user should be able to access a cifs group share using his own credentials when navigation to a specific folder ~/groupdrive inside his home folder. The credentials are stored in a ~/....
user avatar
  • 11
1 vote
0 answers
488 views

NFS mount shows root directory after some time

I have some NFS4 shares mounted via autofs. E.g. /mnt/autofs/MyPictures When I navigate in this directory, e.g., going to /mnt/autofs/MyPictures/2017-01/partyWithHugh, after some time, Nautilus shows ...
user avatar
  • 3,484
1 vote
0 answers
746 views

AutoFS with Kerberos passing root UID instead of user UID at login, fails to mount

On a Ubuntu 16.04 test VM, I can automount my homedir (as CIFS in this example, NFSv4 behaves similarly), but only after I have already logged in. Apparently, autofs is passing UID=0 instead of my ...
user avatar
0 votes
1 answer
677 views

Help with AutoFS

AutoFS has been kicking my butt the last few times I have tried it. I have it installed and running, edited the auto.master and an auto.network file under /etc, but can't get it to mount my NFS ...
user avatar
2 votes
1 answer
5k views

autofs and WebDAV - how to make them work together?

I am using placeholders for real server names and folders, however, I have tried to make them as representative of the real names as possible, so please do pay attention to my capitalization and ...
user avatar
  • 241
2 votes
1 answer
1k views

How to mount a partition from a remote computer without sudo rights

I want that users of my group who don't have sudo rights can mount a partition that is on a remote computer. Imagine a user has an account on several computers but a big chunk of data is lying on the ...
user avatar
  • 2,579
3 votes
0 answers
2k views

Automouting NFS share inside NAT'd LXC container fails

I have 2x Ubuntu 14.04 LXC setups One is on bare metal hardware and containers are assigned IP adresses directly from the network The other one is on an ESXi virtual machine and using NAT via the ...
user avatar
  • 66
2 votes
1 answer
4k views

autofs not working after update to Ubuntu 15.10

I use autofs to mount the drives of our server (cifs), which worked fine in the past. After updating Ubuntu from 15.04 (Vivid) to 15.10 (Wily), these mountpoints regularly hangup. ls /mnt/serverdrive/{...
user avatar
  • 23
0 votes
1 answer
1k views

autofs is not able to mount the remote folder

Hi I am trying to automount remote file system using autofs. For this I installed autofs % sudo apt-get install cifs-utils autofs Then I edited /etc/auto.master to have the following line: /ufs /...
user avatar
3 votes
2 answers
15k views

How to mount a sambashare with autofs and cifs

I'm trying to automount a sambashare as CIFS, as documented here: https://help.ubuntu.com/community/Autofs#CIFS This seems so simple, I'm running out of things to google. It's probably something very ...
user avatar
  • 3,524
1 vote
0 answers
175 views

confused with autofs example

I am exploring the autofs with ubuntu, and I got it working, but something doesn't quite make sense to me. this is what I got: $ pwd /nfs/nfs/mnt/nfs_export $ ls kvm_the_1st.img lost+found ...
user avatar
  • 3,269
3 votes
2 answers
5k views

How do I automount a unionfs-fuse filesystem?

I can run the shell command: unionfs-fuse /changedata=RW:/immutedata=RO -o cow /data This mounts the filesystem exactly how I want to. Now I need to incorporate it into the automounter so that it's ...
user avatar
1 vote
2 answers
7k views

How to disable a specific mount, when using automount over LDAP

I am using Ubuntu 11.04, on which NFS paths are automounted using AutoFS/LDAP. For example, /path1 and /path2 are auto mounted, but I want to disable automount for /path1, because I want to use a ...
user avatar
2 votes
1 answer
635 views

Should media files (HTPC) using NFS mount using fstab/static or autofs?

I'm using Ubuntu 12.04 with XBMC and am streaming media files from my fileserver (mounted using NFS). Right now I have fstab configured to mount my NFS share like this: 192.168.0.99:/tank/media /...
user avatar
  • 259
0 votes
2 answers
1k views

NFS users getting a laggy GUI expierence

I am setting up a system (ubuntu 12.04) that uses ldap, pam, and autofs to load users and their home folders from a remote server. One of the options for login is sitting down at the machine and ...
user avatar
  • 101
1 vote
2 answers
5k views

Mount NFS share as a shortcut

I recently purchased a Netgear ReadyNas and have a question about mounting an NFS volume. Firstly I know how to mount the share in fstab. There is a lot of information around that describes how to do ...
user avatar
  • 145
7 votes
1 answer
3k views

How to set an NFS network?

I want to merge information found here and there in order to record in one answer all steps to set my NFS network between my two Ubuntu PCs This is useful time to time, for example when switching to ...
user avatar
  • 4,744
1 vote
1 answer
3k views

Using autofs with sshfs: "no such file or directory" error

After following instructions on https://help.ubuntu.com/community/Autofs, I am able to mount directory via sshfs as root, however, autofs doesn't work for me. My auto.master contains /media/sshfs /...
user avatar
1 vote
1 answer
695 views

Can I set a time-out for auto-mounted shares that are unavailable?

I am using autofs to mount an NFS remote share at boot so it's mounted when I'm logged in. If the remote share is down, I can't login to Ubuntu, it hangs after entering my password. Any way to set a ...
user avatar
  • 3,257