Show Table of Contents
3.2. Logical Volume Creation Overview
The following is a summary of the steps to perform to create an LVM logical volume.
- Initialize the partitions you will use for the LVM volume as physical volumes (this labels them).
- Create a volume group.
- Create a logical volume.
After creating the logical volume you can create and mount the file system. The examples in this document use GFS file systems.
- Create a GFS file system on the logical volume with the
- Create a new mount point with the
mkdircommand. In a clustered system, create the mount point on all nodes in the cluster.
- Mount the file system. You may want to add a line to the
fstabfile for each node in the system.
Alternately, you can create and mount the GFS file system with the LVM GUI.
Creating the LVM volume is machine independent, since the storage area for LVM setup information is on the physical volumes and not the machine where the volume was created. Servers that use the storage have local copies, but can recreate that from what is on the physical volumes. You can attach physical volumes to a different server if the LVM versions are compatible.