/data Directory is shared from the server1.example.com server. Mount the shared directory that:
Suggested Answer: A
Get Premium EX200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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.
28 comments · newest first
EN
Enola
18 hours ago
I think A is straightforward. Auto-mounting is common.
YO
Yolande
6 days ago
This question is tricky!
SH
Shawn
11 days ago
I’d go with `timeout=50` in the `autofs` settings. Seems efficient!
MA
Malcolm
16 days ago
True, but it helps with resource management. We can always adjust the timeout if needed.
GI
Gianna
21 days ago
I feel like the 50 seconds is a bit short. What if someone needs more time?
DO
Doretha
27 days ago
Yes! And for the unmounting part, we can set a timeout in the config.
TA
Tamra
1 month ago
I think using `autofs` for auto-mounting is the way to go.
RU
Rueben
1 month ago
This question is tricky! Auto-mounting is straightforward, but unmounting after inactivity?
LO
Louis
1 month ago
I feel confident about this, just need to remember the commands.
ES
Esteban
2 months ago
Automatic unmounting is a cool feature!
AL
Alease
2 months ago
I like C, easy to remember the path.
SI
Silva
2 months ago
B seems complicated, 50 seconds?
JA
Jacqueline
2 months ago
I think A is straightforward.
LY
Lyda
2 months ago
This question is tricky!
DE
Dean
2 months ago
Just use the /etc/auto.master file for configuration.
VA
Van
3 months ago
Wait, it unmounts automatically? That’s new to me!
CA
Caren
3 months ago
Totally agree, 50 seconds is a bit short though.
JE
Jeffrey
3 months ago
Sounds good, but how do you set the timeout?
EL
Eladia
3 months ago
You can use autofs for automatic mounting.
LE
Leota
3 months ago
What if someone is using the directory when it tries to unmount?
MA
Mari
3 months ago
Just set the timeout in the autofs config, easy peasy!
HE
Herman
4 months ago
Wait, does it really unmount after 50 seconds? Sounds tricky.
AN
Andra
4 months ago
Totally agree, autofs is the way to go!
TI
Tien
4 months ago
You can use autofs for automatic mounting.
MA
Ma
4 months 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.
LA
Laurena
4 months ago
I believe we might need to use `autofs` for the automatic mounting and unmounting, but I'm not entirely confident about the syntax.
IE
Iesha
5 months 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.
TI
Tijuana
6 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.