CentOS使用LVM合并两块硬盘steemCreated with Sketch.

in lvm •  7 years ago 

操作流程记录:
硬盘1 /dev/sdc
硬盘2 /dev/sde

创建pv
pvcreate /dev/sdc
pvcreate /dev/sde
pvscan

创建vg
vgcreate novo /dev/sdc
vgcan
扩展vg
vgextend novo /dev/sde

创建lv
lvcreate -L 800G -n data3 novo
lvscan

格式化
mkfs.ext3 /dev/novo/data3

挂载分区
mount /dev/novo/data3 /data3

开机加载
/etc/fstab 中添加
/dev/novo/data3 /data3 ext3 defaults 0 0

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!