$ sudo systemctl restart autofs.service Dynamically connect via GUI. To mount NFS shares dynamically without configuring them is also possible. The idea is to enter the URL to the NFS share directly into the file explorer and get connected similar to mounting samba (CIFS) shares. This can also be achieved using the autofs utility.
Mar 04, 2009 Automount Home Directories Over NFS in RHEL7/CentOS7 Jan 25, 2016 Active Directory AutoFS maps to AD bound Linux clients
mount.cifs: silencing the "No dialect specified on mount
Apr 24, 2020
autofs is a program for automatically mounting directories on an as-needed basis. Auto-mounts are mounted only as they are accessed, and are unmounted after a period of inactivity. Because of this, automounting NFS/Samba shares conserves bandwidth and offers better overall performance compared to static mounts via fstab
redhat - Mount CIFS share with autofs - Server Fault There should be an /etc/auto.smb already, use that, and add the following line to /etc/auto.master: /cifs /etc/auto.smb --timeout=60 Now all cifs shares will show up under /cifs: ls /cifs/