Unable to remove multipath devices on hypervisors after removing a LUN because there are still Logical Volumes active

Solution Verified - Updated -

Issue

  • After removing a LUN, removing the multipath device fails on all hypervisors except for the one where the LUN / Storage Domain is removed (SPM)
  • Steps to remove the LUN / Storage Domain
    • Data Centers -> xxxx -> Storage -> xxxx
    • Maintenance
    • Detach
    • Remove storage domain in RHV, format = yes
    • On each hypervisor do:
      • multipath -l "WWN". Note down /dev/sd devices in use by all the paths.
      • multipath -f "WWN".
      • for i in sdA sdB sdAA sdAB.....; do echo 1 > /sys/block/$i/device/delete; done
    • Unexport VV (VLUN) on 3PAR
    • Delete VV on 3PAR

Environment

  • Red Hat Virtualization (RHV) 4.1

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