重庆思庄Oracle、Redhat认证学习论坛

标题: pvdisplay出现多条"Device for PV *** not found or rejected by a filter" [打印本页]

作者: 刘泽宇    时间: 2023-11-19 17:36
标题: pvdisplay出现多条"Device for PV *** not found or rejected by a filter"
pvdisplay出现多条"Device for PV *** not found or rejected by a filter"警告

1.fdisk -l
找出做完raid后的物理磁盘,这里是/dev/sdb,/dev/sdc
2.pvs
查看pv信息,这里显示/dev/sdb已经分配到datavg了,而/dev/sdc没有这条信息
3.删除默认创建的datavg
vgremove datavg --force

4.创建PV/dev/sdc
pvcreate /dev/sdc

5.创建vg卷组
vgcreate vg_data /dev/sdb /dev/sdc

6.创建lv
lvcreate -n lv_data01  -i 2 -I 8M -L 10T vg_data

7.格式化逻辑lv
mkfs.xfs /dev/vg_data01/data01

8.挂载/dev/vg_data01/data01到指定目录

9.永久挂载







欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2