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