pvresize failes with "Assertion failed: can't _pv_write non-orphan PV "

Solution Verified - Updated -

Issue

  • Running pvresize on underlying paths after extending the physical volume fails with the following error.
        [root@test]# pvresize /dev/sdet
         get_pv_from_vg_by_id: vg_read_internal failed to read VG testvg
         Assertion failed: can't _pv_write non-orphan PV (in VG testvg)
         Failed to store physical volume "/dev/mpath/mpath67"
         0 physical volume(s) resized / 1 physical volume(s) not resized


* Running pvresize on underlying paths when multipath is disabled. PV VG Fmt Attr PSize PFree DevSize PV UUID /dev/sdl VolGroup lvm2 a- 60.00G 0 70.00G RntfEQ-leQJ-8dIO-2PFO-gXjc-eXm8-aOs0u8 # pvresize /dev/sdl get_pv_from_vg_by_id: vg_read_internal failed to read VG testvg Assertion failed: can't _pv_write non-orphan PV (in VG testvg) Failed to store physical volume "/dev/sdg" 0 physical volume(s) resized / 1 physical volume(s) not resized

Environment

  • Red Hat Enterprise Linux
  • device-mapper-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