Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 2 Question 127 Discussion

/data Directory is shared from the server1.example.com server. Mount the shared directory that:
A) when user try to access, automatically should mount
B) when user doesn't use mounted directory should unmount automatically after 50 seconds.
C) shared directory should mount on /mnt/data on your machine.

RedHat EX200 Exam - Topic 2 Question 127 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 127
Topic #: 2
[All EX200 Questions]

/data Directory is shared from the server1.example.com server. Mount the shared directory that:

Show Suggested Answer Hide Answer
Suggested Answer: A

1. vi /etc/auto.master

/mnt /etc /auto.misc --timeout=50

vi /etc/auto.misc

data -rw,soft,intr server1.example.com:/data

service autofs restart

chkconfig autofs on

When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain seconds, when user unaccess the mounted directory, automatically unmount the filesystem.

/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.


Contribute your Thoughts:

0/2000 characters
Tien
5 hours ago
You can use autofs for automatic mounting.
upvoted 0 times
...
Ma
5 days ago
I vaguely remember that we discussed using `systemd` for managing mounts, but I’m not clear on how to implement the 50-second timeout.
upvoted 0 times
...
Laurena
11 days ago
I believe we might need to use `autofs` for the automatic mounting and unmounting, but I'm not entirely confident about the syntax.
upvoted 0 times
...
Iesha
16 days ago
I think we practiced a similar question where we had to mount a directory, but I can't recall the exact commands for the auto-unmount feature.
upvoted 0 times
...
Tijuana
2 months ago
I remember something about using the `fstab` file to set up automatic mounting, but I'm not sure how to configure the timeout for unmounting.
upvoted 0 times
...

Save Cancel