4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

CentOS使用LVM合并两块硬盘

操作流程记录:
硬盘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

1 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: