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.
Issue
-
Some types of LVM commands report one or more PVs as missing. As an example,
lvsreports the missing PVs, whilepvsdoes 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.