Some LVM commands falsely report missing PVs even though the corresponding disks are present, have correct metadata and they are not marked with the "MISSING" flag.

Solution Verified - Updated -

Issue

  • Some types of LVM commands report one or more PVs as missing. As an example, lvs reports the missing PVs, while pvs does not.

  • These PVs exist on the system, they are not flagged as MISSING in LVM metadata and their on-disk metadata is correct. A sample of an lvs command reporting the missing PVs is:

    # lvs
      WARNING: Couldn't find device with uuid kkkkkk-kkkk-kkkk-kkkk-kkkk-kkkk-kkkkkk.
      WARNING: VG vgtest is missing PV kkkkkk-kkkk-kkkk-kkkk-kkkk-kkkk-kkkkkk (last written to /dev/sdk1).
      WARNING: Couldn't find all devices for LV vgtest/pool_meta_rimage_1 while checking used and assumed devices.
      WARNING: Couldn't find all devices for LV vgtest/pool_meta_rmeta_1 while checking used and assumed devices.
      WARNING: Couldn't find all devices for LV vgtest/pool_rimage_1 while checking used and assumed devices.
    ...
    

Environment

  • Red Hat Enterprise Linux 8

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