Creating and Configuring File System Options: Andrew Mallett
Creating and Configuring File System Options: Andrew Mallett
Andrew Mallett
@theurbanpenguin | www.theurbanpenguin.com
Objective 203.3
Creating and Configuring File System Options
Lab Setup
To demonstrate we will use CentOS 7. The
system is virtualized and has an additional
disk with a single partition as yet
unformatted /dev/sde1. This will be used as
an encrypted LUKS partition.
auto.corp
auto.master
yum install autofs Configure target
Configure /corp
shares /corp/pdf
/etc/auto.master
The autofs service is a client utility used to auto-mount remote shares
pdf -fstype=nfs 192.168.0.53:/pdf
/etc/auto.corp
These shares are defined in the auto.* file. Here the /corp/pdf directory will be auto-
created and mounted to the remote share
$ sudo systemctl enable autofs
$ sudo systemctl restart autofs
/etc/crypttab
Instruction for cryptsetup can be added to the /etc/crypttab file
Demo: Disk Encryption
Creating and Configuring File System Options