Translated message

A translation of this page exists in English.

部分模式下的 LVM2 卷组,其中物理卷被标记为丢失,即使它们在 RHEL 中可用

Solution In Progress - Updated -

Issue

  • LVM 命令中的 Couldn't find device with uuid aaaaaa-aaaa-aaaa-aaaa-aaaa-aaaa-aaaaaaThere are 1 physical volumes missing 消息,即使当提到的 UUID 的 PV 可用。
  • 由于丢失的设备实际没有丢失,因此尝试修改卷组或逻辑卷会失败:

    # lvextend -l+100%PVS /dev/myvg/lv02 /dev/mapper/mpath80
      WARNING: Inconsistent metadata found for VG myvg - updating to use version 89
      Missing device /dev/mapper/mpath73 reappeared, updating metadata for VG myvg to version 89.
      Device still marked missing because of alocated data on it, remove volumes and consider vgreduce --removemissing.
    
  • 任何更改 VG 或 LV 的尝试都声明 PV 丢失:

      Cannot change VG myvg while PVs are missing.
      Consider vgreduce --removemissing.
    
  • LVM 物理卷在 pvs 输出中被标记为丢失(m)标记,即使它们是健康且可用的:

    # pvs
      PV          VG            Fmt  Attr PSize    PFree   DevSize
      /dev/dev_a  vg_name       lvm2 a--  1019.75g  30.88g 1019.75g
      /dev/dev_b  vg_name       lvm2 a-m   299.92g 189.92g  299.92g <===
    
  • 卷组被标记为"partial",并导致 lvm 命令失败:

      VG      #PV #LV #SN Attr   VSize VFree  
      myvg     42  10   0 wz-pn- 2.31T 777.11G
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5、6、7 和 8
  • lvm2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content