Adding local disk to lvm devices file reports "WARNING: adding device /dev/sdXX that is excluded: device is a multipath component"

Solution Verified - Updated -

Issue

  • Unable to boot RHEL 9.X system as the LVM PV created from local disk is not part of lvm devices file.
  • lvmdevices --adddev command reports below WARNING and it fails.
# lvmdevices --adddev /dev/sda2
WARNING: adding device /dev/sda2 that is excluded: device is a multipath component
  • pvs does not list the PV used for root VG

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • LVM , DM Multipath

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