pvresize failes with "Assertion failed: can't _pv_write non-orphan PV "
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
