Installation Manual

HP StorageWorks File System Extender Software installation guide for Linux 29
NOTE: Commands for managing LVM logical volumes begin with the letters lv (logical volume) and are
located in the /sbin directory.
In the following example, LVM logical volumes are created on the LVM volume group vg_fse for the
important directories that FSE uses, namely:
/var/opt/fse/
/var/opt/fse/part/
/var/opt/fse/fri/
/var/opt/fse/log/
/var/opt/fse/diskbuf/FileSystemMountPoint
Optional additional file systems assigned to FSE disk buffer will use mount points conforming to the
following scheme, where NewFileSystemMountPoint is a unique subdirectory name:
/var/opt/fse/diskbuf/NewFileSystemMountPoint
You should use logical volume names according to your preferences and sizes that correspond to your
actual LVM volume group configuration:
In case of additional file systems assigned to the FSE disk buffer, you should use the following command for
creation of the LVM logical volume for each of them:
NOTE: You need to leave some free space for optional LVM snapshot volumes on the LVM volume group,
which are created during backup of the FSE implementation. The size of the reserved space should be
approximately 15-20 % of the whole LVM volume group size, as recommended by the LVM developers.
The exact value depends on the actual load of the LVM volumes: it should be increased if frequent changes
to the HSM file systems are expected during the FSE backup or if the FSE backup process is expected to
last longer.
The /var/opt/fse/log/debug directory is not as critical as others, and can be placed on an ordinary
file system. For more details on configuration, see chapter ”Introduction and preparation basics”, section
Estimating the size of file systems”, subsection ”Storage space for FSE debug files”.
Step 5: Create LVM logical volumes for HSM file systems
To create the LVM logical volume for a single HSM file system that will actually contain user files, use the
lvcreate command. Use a logical volume name according to your preferences, and a size that
corresponds to your actual LVM volume group configuration:
Repeat the procedure to create the LVM logical volumes for each additional HSM file system you are going
to use.
# lvcreate -L 6G -n fsevar vg_fse
# lvcreate -L 6G -n fsepart vg_fse
# lvcreate -L 6G -n fsefri vg_fse
# lvcreate -L 6G -n fselog vg_fse
# lvcreate -L 20G -n fsediskbuf vg_fse
# lvcreate -L 20G -n fsediskbufNumber vg_fse
# lvcreate -L 400G -n fsefs_01 vg_fsefs