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

Be the First to Comment!

Notify of
wpDiscuz

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create a XFS file system of 100MB. Mount it under /mnt. Then, increase its size by 50MB.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria and back up the database with mysqldump.

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...

Recent Comments