|
源文档地址:https://www.2daygeek.com/create-lvm-storage-logical-volume-manager-in-linux/
- 1. 创建PV
- 创建前/dev/sdb不能分区,如果已经分区,使用fdisk /dev/sdb 删除分区
复制代码 [code] [root@O-Friday ~]# pvcreate /dev/sdb /dev/sdc WARNING: dos signature detected on /dev/sdb at offset 510. Wipe it? [y/n]: y Wiping dos signature on /dev/sdb. WARNING: dos signature detected on /dev/sdc at offset 510. Wipe it? [y/n]: y Wiping dos signature on /dev/sdc. Physical volume "/dev/sdb" successfully created. Physical volume "/dev/sdc" successfully created. [root@O-Friday ~]# pvdisplay --- Physical volume --- PV Name /dev/sda2 VG Name openeuler PV Size |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|