Editing Multipath: remove multipath device unpresented to host

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 12: Line 12:
 
  \_ 1:0:2:2 sdx  65:112 [failed][faulty]
 
  \_ 1:0:2:2 sdx  65:112 [failed][faulty]
 
</pre>
 
</pre>
 
 
* <code>multipath -f mpath10</code> or <code>multipath -F</code> to flush all unused multipath device maps
 
* <code>multipath -f mpath10</code> or <code>multipath -F</code> to flush all unused multipath device maps
  
<pre>
+
<code>
 
  multipath -f 3600a09803831416c592b4f566453774e
 
  multipath -f 3600a09803831416c592b4f566453774e
 
  Jan 16 08:59:52 | 3600a09803831416c592b4f566453774e: map in use
 
  Jan 16 08:59:52 | 3600a09803831416c592b4f566453774e: map in use
</pre>
 
Try to remove PV: [[pvremove]]
 
  
 +
Try to remove PV: [[pvremove]]
 +
</code>
  
  
  
<pre>
+
<code>
 
  multipath -w 3600a09803831417a5a244f5665797a48
 
  multipath -w 3600a09803831417a5a244f5665797a48
  wwid '3600a09803831417a5a244f5665797a48' removed
+
  [[wwid]] '3600a09803831417a5a244f5665797a48' removed
</pre>
+
</code>
 
 
 
 
 
 
 
 
<code>multipath -W </code>
 
: -W    Reset  the  WWIDs  file  to  only  include  the  current multipath devices.
 
 
 
  
echo .../... or <code>[[rescan-scsi-bus.sh|rescan-scsi-bus.sh --remove]]</code>
 
 
* <code>echo 1 > /sys/block/sdf/device/delete</code>
 
* <code>echo 1 > /sys/block/sdf/device/delete</code>
 
* <code>echo 1 > /sys/block/sdk/device/delete</code>
 
* <code>echo 1 > /sys/block/sdk/device/delete</code>
Line 45: Line 36:
 
Related commands: <code>[[rescan-scsi-bus.sh|rescan-scsi-bus.sh --remove]]</code> <code>[[vgremove]]</code>
 
Related commands: <code>[[rescan-scsi-bus.sh|rescan-scsi-bus.sh --remove]]</code> <code>[[vgremove]]</code>
  
== Related activities ==
 
* [[Resize size of your LUN and check operating systems messages]]
 
  
 
== See also ==
 
== See also ==
* <code>[[pvcreate]]</code> <code>[[LUN]]</code>
+
* <code>[[pvcreate]]</code>
 
* {{multipath}}
 
* {{multipath}}
 
* {{scsi}}
 
* {{scsi}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: