Installation Manual
28 Preparing file systems for FSE
NOTE: Commands for managing LVM physical volumes begin with the letters pv (physical volume) and
are located in the /sbin directory.
In the example below, the first partition of the first SCSI disk and the first partition on the second SCSI disk
are initialized as LVM physical volumes and are dedicated to the LVM volumes. Use values according to
your actual disk configuration:
Step 3: Create and initialize LVM logical volume groups
LVM logical volume groups are a layer on top of the LVM physical volumes. One LVM logical volume group
can occupy one or more LVM physical volumes.
NOTE: Commands for managing LVM logical volume groups begin with the letters vg (volume group)
and are located in the /sbin directory.
CAUTION: HP recommends to separate the FSE databases and system files from the user data on the
HSM file systems by putting them on two separate LVM volume groups, as shown in the following
examples. This helps increasing data safety.
In the following example, the newly created LVM physical volume /dev/cciss/c0d_p1 is assigned to
the LVM volume group vg_fse, and the LVM physical volume /dev/cciss/c0d_p2 is assigned to the
LVM volume group vg_fsesfs. The volume group vg_fse will store FSE databases and system files, and
the volume group vg_fsefs will store the HSM file systems with user files and directories.
When creating the LVM volume groups, use names and values according to your preferences and your
actual LVM physical volume configuration.
To create the volume groups using the default physical extent size, invoke the following commands:
NOTE: If you intend to create LVM logical volumes larger than 256 GB, you must use the option -s
(--physicalextentsize) with vgcreate, and specify a physical extent larger than 4 MB.
For example: a physical extent of 4 MB enables LVM to address up to 256 GB and a physical extent of
32 MB allows addressing 2 TB of disk space. Note that the recommended physical extent size for the FSE
file system and disk media (if under LVM) volume groups is 32 MB.
For details on using the vgcreate command, see the vgcreate man page (man vgcreate).
To create the volume groups using the physical extent size of 32 MB, invoke the following commands:
Step 4: Create and initialize LVM logical volumes
LVM logical volumes are virtual partitions and can be mounted like ordinary partitions once file systems
are created on them.
# pvcreate /dev/cciss/c0d_p1
# pvcreate /dev/cciss/c0d_p2
# vgcreate vg_fse /dev/cciss/c0d_p1
# vgcreate vg_fsefs /dev/cciss/c0d_p2
# vgcreate -s 32M vg_fse /dev/cciss/c0d_p1
# vgcreate -s 32M vg_fsefs /dev/cciss/c0d_p2