Is it possible to flush a multipath map when multipath -f reports that the map is in use?

Solution Verified - Updated -

Issue

  • Unable to remove a multipath device in order to proceed with unmapping the LUN from the server.
  • Attempting to flush a multipath map with "multipath -f" or "multipath -F" results in "map in use":

         # multipath -f mpath7
         mpath7: map in use
    
  • Unable to remove the multipath device, even after unmapping the LUN from the server.

Environment

  • Red Hat Enterprise Linux 5 and later
  • Device mapper multipath
  • SAN connected storage

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