PV unknown device VG处理

2023年 7月 15日 54.2k 0

如:

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

相关文章

服务器端口转发,带你了解服务器端口转发
服务器开放端口,服务器开放端口的步骤
产品推荐:7月受欢迎AI容器镜像来了,有Qwen系列大模型镜像
如何使用 WinGet 下载 Microsoft Store 应用
百度搜索:蓝易云 – 熟悉ubuntu apt-get命令详解
百度搜索:蓝易云 – 域名解析成功但ping不通解决方案

发布评论