Creating an LVM volume group using physical disks
Use the following instructions to create an LVM volume group on the block storage node or nodes.
Before you begin
Note: Not supported for the HA controller +n compute topology.
About this task
- Identify the block devices that you want to use on the block storage node. This can be an entire disk (for example, /dev/sdb) or a partition (for example, /dev/sdba). You can use tools like df and pvs to identify devices that are used by existing mounted file system or LVM volume groups.
- Create an LVM physical volume over each block device using the pvcreate command.
To create an LVM physical volume for /dev/sdb,
use this command:
# pvcreate /dev/sdb - Create a "cinder-volumes" LVM volume group using the physical
volume or volumes you previously created:
# vgcreate cinder-volumes /dev/sdb [additional devices]