E02-Couldn't find device with uuid

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:
pvremove /dev/sdb1ui

相关文章
相关标签/搜索