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:

/dev/mapper/vg_fse-fsevar

/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:

#mount /dev/mapper/vg_fse-fsevar

5.Create the four remaining directories:

#mkdir /var/opt/fse/part

#mkdir /var/opt/fse/fri

#mkdir /var/opt/fse/log

#mkdir -p /var/opt/fse/diskbuf/FileSystemMountPoint

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 -la /dev/vg_fse/fsepart

lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsepart -> /dev/mapper/vg_fse-fsepart

# ls -la /dev/vg_fse/fsefri

lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsefri -> /dev/mapper/vg_fse-fsefri

# ls -la /dev/vg_fse/fselog

lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fselog -> /dev/mapper/vg_fse-fselog

# ls -la /dev/vg_fse/fsediskbuf

lrwxrwxrwx 1 root root 25 Aug 17 09:12 /dev/vg_fse/fsediskbuf -> /dev/mapper/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:

/dev/mapper/vg_fse-fsepart

/var/opt/fse/part

ext3 data=journal

1

2

/dev/mapper/vg_fse-fsefri

/var/opt/fse/fri

ext3

defaults

 

1

2

/dev/mapper/vg_fse-fselog

/var/opt/fse/log

ext3

defaults

 

1

2

/dev/mapper/vg_fse-fsediskbuf

/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