Questions tagged [autofs]

36 questions
8
votes
1 answer

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 a new Ubuntu version, I need to reset…
Boris
  • 5,012
4
votes
2 answers

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 obvious. Let me speak in commands: sudo apt-get…
Redsandro
  • 3,764
3
votes
0 answers

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 host interface. My problem is that automount doesn't…
inckie
  • 66
  • 5
3
votes
2 answers

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 remounted upon demand. What I tried in…
3
votes
1 answer

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 ~/.cifs_credentials file. I implemented this using pam_mount…
Fab
  • 31
2
votes
1 answer

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 timeout on the remote share so it forgets about…
nLinked
  • 3,387
2
votes
1 answer

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 punctuation just in case that has anything to do with…
Daniel
  • 251
  • 1
  • 3
  • 8
2
votes
1 answer

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 hdd of a particular computer. Is there a way…
mcExchange
  • 3,398
2
votes
1 answer

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/{mountpoint} will not give any results, but…
PaDe
  • 23
2
votes
1 answer

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 /mnt/media nfs4 _netdev,auto 0 0 However,…
SofaKng
  • 259
2
votes
0 answers

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? auto.master is essentially empty because NIS is…
sasa
  • 41
2
votes
2 answers

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 lost, the container is not able to see the volume,…
Ian B
  • 61
  • 1
  • 3
1
vote
0 answers

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 again the root folder…
kerner1000
  • 4,530
1
vote
0 answers

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 correct UID, thus is unable to obtain the service…
1
vote
0 answers

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 success as you can see it mounts successfully. My…
D.Zou
  • 3,791
1
2 3