5.1.1. Creating the Physical Volumes

5.1.1. Creating the Physical Volumes

5.1.1. Creating the Physical Volumes

To use disks in a volume group, you label them as LVM physical volumes.

Caution

This command destroys any data on /dev/sda1, /dev/sdb1, and /dev/sdc1.

[root@tng3-1 ~]# pvcreate /dev/sda1 /dev/sdb1 /dev/sdc1
  Physical volume "/dev/sda1" successfully created
  Physical volume "/dev/sdb1" successfully created
  Physical volume "/dev/sdc1" successfully created