Automount Network-Attached Storage Flashcards

1
Q

What command is used to install the autofs package?

A

dnf install autofs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What content goes inside a <master>.autofs file?</master>

A

/- /etc/auto.direct

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What content goes inside the direct map file?

A

/external -rw,sync,fstype=nfs4 serverb.lab.example.com:/shares/direct/external

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where does the indirect map file go?

A

/etc/auto.master.d/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where does the direct map file go?

A

/etc/auto.direct

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command is used to enable autofs?

A

systemctl enable –now autofs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command do you use to enter a user session?

A

su - <user></user>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What command do you use to list contents of the external mountpoint?

A

ls -l /<external></external>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly