5.2.1. Creating the Physical Volumes

5.2.1. Creating the Physical Volumes

5.2.1. Creating the Physical Volumes

Label the disks you will use in the volume groups 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