3.To ensure that the file system is automatically mounted at system startup, add the appropriate entry to the file system table in the file /etc/fstab. When adding the entry, note that the device name in the first column corresponds to the device file that you retrieved in the previous step:
/var/opt/fse | ext3 defaults | 1 2 |
4.Manually mount the corresponding file system for the directory /var/opt/fse. You must use the device (logical volume) name from your actual LVM configuration:
#
5.Create the four remaining directories:
#mkdir /var/opt/fse/part
#mkdir /var/opt/fse/fri
#mkdir /var/opt/fse/log
#mkdir
FileSystemMountPoint should be a unique subdirectory name.
6.Invoke the following commands to retrieve the names of the device files. Use the symbolic links from the step 1 of section ”Creating file systems on top of LVM logical volumes”:
# ls
lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsepart
# ls
lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsefri
# ls
lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fselog
# ls
lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsediskbuf
7.Add the appropriate entries to the file system table in the file /etc/fstab. When adding the entries, note that the device names in the first column correspond to the device files that you retrieved in the previous step:
/var/opt/fse/part | ext3 data=journal | 1 | 2 | ||||
/var/opt/fse/fri | ext3 | defaults |
| 1 | 2 | ||
/var/opt/fse/log | ext3 | defaults |
| 1 | 2 | ||
/var/opt/fse/diskbuf/FileSystemMountPoint \ | |||||||
| ext3 defaults | 1 | 2 |
|
|
NOTE: The keyword data=journal must be specified in the fourth column in /etc/fstab for correctly mounting the file system on the /var/opt/fse/part directory. This improves file system stability and performance.
Note that all parameter entries must be entered in the proposed order.
NOTE: If you created an Ext2 file system for the FSE disk buffer, modify the fstab entry in the above example accordingly.
32 Preparing file systems for FSE