Automount Network-Attached Storage Flashcards
1
Q
What command is used to install the autofs package?
A
dnf install autofs
2
Q
What content goes inside a <master>.autofs file?</master>
A
/- /etc/auto.direct
3
Q
What content goes inside the direct map file?
A
/external -rw,sync,fstype=nfs4 serverb.lab.example.com:/shares/direct/external
4
Q
Where does the indirect map file go?
A
/etc/auto.master.d/
5
Q
Where does the direct map file go?
A
/etc/auto.direct
6
Q
What command is used to enable autofs?
A
systemctl enable –now autofs
7
Q
What command do you use to enter a user session?
A
su - <user></user>
8
Q
What command do you use to list contents of the external mountpoint?
A
ls -l /<external></external>