1.安装vlm2 sudo apt update sudo apt install lvm2 2.创建物理卷 pvcreate /dev/sdb pvcreate /dev/sdc 3.创建卷组 vgcreate myvg /dev/sdb /dev/sdc 4.创建逻辑卷 lvcreate -L 10G -n mylv myvg 5.格式化逻辑卷 mkfs.ext4 /dev/myvg/mylv 6.挂载逻辑卷 mkdir /mnt/mylv mount /dev/myvg/mylv /mnt/mylv |
|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )
GMT+8, 2024-12-23 04:21
Powered by Discuz! X3.4
© 2001-2013 Comsenz Inc.