考虑到有的系统没有,所以第一步还是要首先要先安装 yum install lvm2
创建PV卷:
[root@server ~]# pvcreate /dev/vda3
Physical volume "/dev/vda3" successfully created.
创建VG卷组
[root@server ~]# vgcreate -s 32M VolGroup01 /dev/vda3
Volume group "VolGroup01" successfully created