![]() You do not need to create a directory named share on the client. Note: Only /mnt needs to exist on the client. In this example, since we want ///share mounted to /mnt/share on the client, the root of the mount point is just /mnt. In the /etc/auto.master configuration file, specify the root directory on the client that the share will be mounted on. In this example, AutoFS will mount ///share to /mnt/myShare on the client. The network path to the share is ///share. In this example, the hostname of the file server is, and directory /mnt/share is being shared. If your system is using init, use the chkconfig and service commands to start and enable autofs. If your system is using systemd, use the systemctl command to start and enable autofs. If PID 1 is systemd, then you will use the systemctl command. If PID 1 is init, then you will use the service command. The ps command can be used to determine if your system is using init or systemd. Then, use the umount command to unmount the share. ![]() dnf install autofsīefore setting up AutoFS, ensure you can manually mount the share using the mount command. On a Red Hat distribution (CentOS, Fedora, Red Hat), dnf or yum can be used to install the NFS utilties and AutoFS packages. ![]() Refer to install and configure AutoFS with CIFS for the steps on how to setup AutoFS to mount an CIFS share. This article describes the process to setup AutoFS to mount an NFS share. Typically, AutoFS is used to automatically mount a CIFS (Common Internet File System) or NFS (Network File System) share, or both. ![]() By Jeremy Canfield | Updated: Septem| AutoFS articles ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |