分区在查看PV时提示以下错误: Couldn't find device with uuid XXXX

分区在查看PV时提示以下错误: Couldn't find device with uuid XXXX

1、 pvscan  ---确定删除的组名

  PV /dev/xvda2       VG VolGroup      lvm2 [7.88 GB / 0    free]

  PV /dev/xvda3       VG VolGroup      lvm2 [1.97 GB / 0    free]

  PV unknown device   VG VolGroup      lvm2 [9.97 GB / 9.97 GB free]

2、VG中去除PV unknown device: vgreduce --removemissing /dev/VolGroup

 Couldn't find device with uuid XxXX

  Wrote out consistent volume group VolGroup

3、从VG中去除特定PV:1vgreduce VolGroup   /dev/xvdb1

4、删除PV:1pvremove  /dev/xvdb1

5、重新创建PV

你可能感兴趣的:(分区在查看PV时提示以下错误: Couldn't find device with uuid XXXX)