Translated message

A translation of this page exists in English.

LVM 命令无法找到或显示 RHEL 中预期的卷

Solution In Progress - Updated -

Issue

  • lvm 命令没有再显示我的物理卷、卷组或逻辑卷。
  • 当运行 pvscan 时,在正在运行的配置中作为一个物理卷的设备显示 "unknown device"。
      PV unknown device   VG VolGroup13      lvm2 [656.00 GB / 6.00 GB free]
  • lvm 命令显示 "volume group does not exist",即使它应该存在。
  • 在更改了多路径配置后,OS 不再能看到 lvm 卷。
  • 数据被写入所有物理卷磁盘的第一个兆字节或头位置。
  • LVM 元数据似乎在 2 个磁盘的 LVM 中的其中一个磁盘中丢失。
  • 当从系统中 unpresent 存储设备后,某些卷组会抛出 "Couldn't find device" 错误,且不会被激活:

    Couldn't find device with uuid paH2Cp-w92t-lIz2-WznV-ihDJ-dg8M-oFUpMa.
       There are 1 physical volumes missing.
     PV             VG     Fmt  Attr PSize  PFree
     /dev/sda2      rootvg lvm2 a-    9.69G    0 
     /dev/sdb1      appsvg lvm2 a-   79.97G    0 
     /dev/sdd1      rootvg lvm2 a-    4.97G 1.97G
     unknown device appsvg lvm2 a-   79.97G    0 
    
  • 在删除了冗余的多路径设备后,现在系统没有显示任何 LV。

Environment

  • Red Hat Enteprise Linux (RHEL)
  • 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