Installation Manual
50 Installing FSE software
2. Add the following line to the /etc/fstab file:
CAUTION: You must use the values in the third
1
, fourth
2
, fifth, and sixth column as specified
above. You may use different values in the first and second column according to your actual LVM
volume configuration.
3. If necessary, repeat the steps 1 and 2 for all other local HSM file systems that you plan to use.
4. Comment out each line that you added in step 2.
For the above example, the commented out line would look as follows:
After the corresponding FSE partitions are configured, you will need to remove the commenting characters
from the file /etc/fstab. This will enable automatic mounting of the local HSM file systems after
subsequent restarts of the locally running FSE processes.
The automation of mounting completes the software installation phase. To find out how to configure FSE
resources such as disk media, tape libraries, FSE partitions, and how to perform other configuration tasks,
see the FSE user guide, chapter ”Configuring FSE”.
The next section describes how to configure the post-start and pre-stop scripts.
Configuring the post-start and pre-stop helper scripts
You can set up two helper scripts to automatically perform various tasks at startup and shut-down of the
local FSE processes. These scripts are called post-start and pre-stop scripts, and are plain text files
containing lists of commands to be run sequentially.
Both scripts are executed by the fse command. If they are not present, their execution is simply skipped.
NOTE: The commands that you specify in the post-start and pre-stop scripts should not block the execution
of the fse command. Therefore, they must conform to the following rules:
• They must not require interactive input.
• They must finish in a reasonable time and return the control to the script afterwards.
The post-start script
The post-start script is executed by the fse --start command after all local FSE processes have been
started and, if the local system hosts HSM file systems, all HSM file systems with an entry in the
/etc/fstab file have been mounted. The script therefore, runs the specified commands directly after this
particular component of the FSE implementation is put into its fully operational state.
The post-start script must be named post_start.sh. It has to be located on the local system in the
/opt/fse/sbin directory. The script must have execute permissions.
The following are examples of the post-start script.
/dev/mapper/vg_fsefs-fsefs_01 /fse/fsefs_01 hsmfs noauto 0 2
1. The keyword hsmfs in the third column refers to the type of file system. This is an HSM file system.
2. The keyword noauto refers to the file system mounting option. An HSM file system cannot be automatically mounted at system
startup when the local FSE processes are not running yet.
# /dev/mapper/vg_fsefs-fsefs_01 /fse/fsefs_01 hsmfs noauto 0 2