Autofs and Automounter Flashcards

1
Q

Install all necessary packages for autofs

A

yum install autofs -y

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

Check to see if autofs files are present

A

ls /etc/auto*

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

What does the automounter do?

A

Allows you to create dynamic mounts. When you access NFS mounts for can access them but over a period of time they will umount. Its a way to access mountpoints without the system having to maintain those mounts.

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

Configuration file for timeout

A

/etc/autofs.conf

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

Primary configuration file:

A

/etc/auto.master

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

Start and enable autofs

A

systemctl start autofs
systemctl enable autofs
systemctl status autofs

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

Add nfs mount to the auto.misc

A

esbdata -ro lx00016140p:/app01/esbdata

ls /misc/esbdata

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

Steps to create home directories dynamically in the home directory

A

mkdir /home/ldap

vim /etc/auto.master.d/home.autofs

/home/ldap /etc/auto.home

vim /etc/auto.home

  • mount.cert.com:/home/ldap/&

or

vim /etc/auto.master
/home /etc/home.map

vim /etc/home.map
* -rw server:/home/&

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