Logical Volume 생성 관련 명령어
1) pvcreate
2) pvscan
3) vgcreate
4) vgscan
5) lvcreate
6) lvscan
root@cnode25-m:~# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created
root@cnode25-m:~# pvscan
PV /dev/sdb1 lvm2 [465.25 GiB]
Total: 1 [465.25 GiB] / in use: 0 [0 ] / in no VG: 1 [465.25 GiB]
root@cnode25-m:~# vgcreate DataVG /dev/sdb1
Volume group "DataVG" successfully created
root@cnode25-m:~# vgscan
Reading all physical volumes. This may take a while...
Found volume group "DataVG" using metadata type lvm2
root@cnode25-m:~# lvcreate -L 10GB -n ReplicaLV DataVG
Logical volume "ReplicaLV" created
root@cnode25-m:~# lvscan
ACTIVE '/dev/DataVG/ReplicaLV' [10.00 GiB] inherit
root@cnode25-m:~# ls /dev/mapper/
control DataVG-ReplicaLV
root@cnode25-m:~#