How to replace a failed or missing PV in lvm raid?

Solution Verified - Updated -

Issue

  • How to replace a failed or missing PV in lvm raid with new disk?
  • How to re-add a missing PV which went offline state for a while and resync lvm raid volume?

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • lvm2 with a RAID1 volume (mirroring) handled by lvm

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