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
Sample Output:
root@ubuntu-PC:~# pvcreate /dev/sda1 /dev/sdb1
Physical volume "/dev/sda1" successfully created.
Physical volume "/dev/sdb1" successfully created.
0 comments:
Post a Comment