SYS: Configure systems to mount ext4, LUKS-encrypted, and network file systems automatically.

Share this link

To mount and unmount NFS network file systems with the Automounter, you need to set up a NFS server.

Install the NFS client package:

# yum install -y nfs-utils

Start the rpcbind daemon:

# service rpcbind start

Install the Automounter package:

# yum install -y autofs

Let’s assume that the /home/tools directory is exported by the nfsserver server.
Add an entry in the /etc/hosts file with the nfsserver name and its IP address.

Edit the /etc/auto.master file and, at the beginning, add the following line:

/- /etc/auto.tools

Create the /etc/auto.tools file and add the following line:

/home/tools -rw,soft,intr nfsserver.example.com:/home/tools

Start the Automounter daemon:

# service autofs start

Test the configuration:

# cd /home/tools
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

Upcoming Events (Local Time)

There are no events.

Follow me on Twitter

Archives