How to mount more than /home?

I have the following in my /etc/auto.master /project yp auto.project -soft,intr,nosuid /home yp auto.home -soft,intr,nosuid /nobackup yp auto.nobackup -soft,intr,nosuid When a user logs in, his home directory is mounted using NIS. What I would like, is that the users /project and /nobackup are also mounted when he logs in. Does anyone knows how to do … Read more

autofs mounting without passwords

I have an existing autofs Centos-Centos mount. I forgot how I set those up without having to require a password. # /etc/auto.folder folder -fstype=nfs,rw 10.10.10.1:/folder Now, I’m trying to setup another mount but I get access denied. # /etc/auto.folder folder -fstype=nfs,rw 10.10.10.1:/folder anotherfolder -fstype=nfs,rw 10.10.10.2:/anotherfolder Manual mount of anotherfolder expects a password while folder doesn’t. … Read more

Autofs mounted /home/ not included in backup [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 4 years ago. Improve this question I have autofs mounted shared /home directories setup on server and it is working perfectly, when i need dir, it is mounted automaticly, … Read more

“Too many levels of symbolic links” in NFS via automount resolved by restarting Docker

This is bizarre and while I have a workaround, I’d prefer a permanent fix. I have a small group of GPU machines running Ubuntu 14.04 which I am using as workers for a cloud service that’s effected via Docker images. I have nvidia-docker installed on all the worker machines, so that docker has access to … Read more

Is AutoFS necessary?

In Solaris 11, if I have a single system (NAS), with no other users other than myself, can I delete autofs mappings? To me it seems confusing to have things in two separate folders (/export/home & /home). But what I really want to know if it will break anything important. Thanks! Answer No, it’s not … Read more

Where to define sshfs options when using autofs?

I have used the following guide: http://www.tjansson.dk/?p=84 to mount an SSHFS using Automount. The implementation works great. However, I need to add an option to SSHFS as defined here: http://liquidat.wordpress.com/2008/08/10/short-tip-moving-files-on-sshfs-mounts/ When you use SSHFS in a non-automount way, it’s easy to simply add a -o option flag into the command. But with the autofs setup, … Read more

NFS permissions on a directory

I feel stupid not knowing this, but alas, I need to ask. I have a few directories being automounted via NFS on my CentOS boxes. Source is a Dell NAS or Openfiler (which we are working on migrating from). The default owner.group is root.root with 755 perms. I want to modify default group and the … Read more

/etc/auto.master vs /usr/lib/systemd/system/*.automount in centos7

What’s the difference/dependency between autofs and systemd automount and declarations in /etc/auto.master versus /usr/lib/systemd/system/*.automount in CentOS 7 ? Do they do exactly the same? If not what are the differences? Do they depend on each other or are they completely unrelated? Answer It helped me: http://searchdatacenter.techtarget.com/tip/Mount-file-system-Linux-systemds-way Forget about /etc/fstab and autofs. There’s a new Linux … Read more