LVM分区中查看PV时,出现如下错误:

# pvscan
Couldn't find device with uuid .........
PV   /dev/sda2                  VG  VolGroup00    lvm2 [17.99GB/0  free]
PV   unknown device        VG  VolGroup00    lvm2[2.21GB/2.21GB]

解决方法:从VG中去除PV unknown device
采用 vgreduce –removemissing /dev/VolGroup00 命令去除未知或已丢失的VG

从VG中去除特定的PV:

vgreduce VolGroup00 /dev/sdb1

删除PV:

vremove /dev/sdb1
文档更新时间: 2020-01-10 03:30   作者:月影鹏鹏