You can run the pvcreate command on the partition to initialize partitions rather than whole disks.
The following command initializes the partition /dev/sda1 and /dev/sdb1 as LVM physical volumes.
# pvcreate /dev/sda1 /dev/sdb1
root@ubuntu-PC:~# pvcreate /dev/sda1 /dev/sdb1
Physical volume "/dev/sda1" successfully created.
Physical volume "/dev/sdb1" successfully created.
Post a Comment