PV unknown device VG处理

marksugar
2017-08-30 / 0 评论 / 10,347 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2017年08月30日,已超过1509天没有更新,若内容或图片失效,请留言反馈。

如:

WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter
PV unknown device   VG MKVG   lvm2 [100.00 GiB / 100.00 GiB free]
[root@linuxea-Node49 ~]# vgscan -P
  PARTIAL MODE. Incomplete logical volumes will be processed.
  Reading all physical volumes.  This may take a while...
  WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter.
  WARNING: Device for PV L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld not found or rejected by a filter.
  WARNING: Device for PV W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE not found or rejected by a filter.
  Found volume group "MKVG" using metadata type lvm2

查看

[root@linuxea-Node49 ~]# pvscan -P
  PARTIAL MODE. Incomplete logical volumes will be processed.
  WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter.
  WARNING: Device for PV L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld not found or rejected by a filter.
  WARNING: Device for PV W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE not found or rejected by a filter.
  WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter.
  WARNING: Device for PV L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld not found or rejected by a filter.
  WARNING: Device for PV W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE not found or rejected by a filter.
  PV /dev/xvda2       VG MKVG   lvm2 [14.50 GiB / 0    free]
  PV unknown device   VG MKVG   lvm2 [100.00 GiB / 100.00 GiB free]
  PV unknown device   VG MKVG   lvm2 [20.01 GiB / 20.01 GiB free]
  PV unknown device   VG MKVG   lvm2 [20.01 GiB / 20.01 GiB free]
  Total: 4 [154.51 GiB] / in use: 4 [154.51 GiB] / in no VG: 0 [0   ]

直接--removemissing

[root@linuxea-Node49 ~]# vgreduce --removemissing -v MKVG
    Finding volume group "MKVG"
  WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter.
  WARNING: Device for PV L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld not found or rejected by a filter.
  WARNING: Device for PV W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE not found or rejected by a filter.
    There are 3 physical volumes missing.
    There are 3 physical volumes missing.
    Trying to open VG MKVG for recovery...
    Found same device /dev/xvda2 with same pvid jIyyxh6U9R3ev3PcOApJognXuKPlWkWQ
  WARNING: Device for PV ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi not found or rejected by a filter.
  WARNING: Device for PV L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld not found or rejected by a filter.
  WARNING: Device for PV W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE not found or rejected by a filter.
    There are 3 physical volumes missing.
    There are 3 physical volumes missing.
    Archiving volume group "MKVG" metadata (seqno 8).
    Removing PV with UUID ZKBljh-qpd7-IhOp-9pSg-1270-kOe0-HZOuYi from VG MKVG
    Removing PV with UUID L1x9c0-sItt-Wk79-NfGN-dkE8-fl4T-46oJld from VG MKVG
    Removing PV with UUID W8c11Z-bZiH-NzYf-edTw-fghk-uhiK-oKmRXE from VG MKVG
    Creating volume group backup "/etc/lvm/backup/MKVG" (seqno 9).
  Wrote out consistent volume group MKVG

在查看

[root@linuxea-Node49 ~]# vgscan -P
  PARTIAL MODE. Incomplete logical volumes will be processed.
  Reading all physical volumes.  This may take a while...
  Found volume group "MKVG" using metadata type lvm2
0

评论 (0)

取消