linux centos7 安装逻辑卷指令来支持lvm2

2018-06-05 11:25:59

报如下错时。

-bash: pvcreate: command not found
-bash: pvscan: command not found
-bash: pvdisplay: command not found
-bash: pvremove: command not found
-bash: vgcreate: command not found
-bash: vgscan: command not found
-bash: vgdisplay: command not found
...
-bash: lvcreate: command not found
-bash: lvscan: command not found
-bash: lvdisplay: command not found
...

则证明我们linux系统上没有安装lvm2这个包,centos等redhat系列运行如下安装即可

yum install lvm2

Debian系列运行

apt-get install lvm2

逻辑卷lvm相关命令的详细用法请参照文章 linux逻辑卷管理员命令-lvm

©著作权归作者所有
收藏
推荐阅读
简介
天降大任于斯人也,必先苦其心志。