Multipath: remove multipath device unpresented to host

From wikieduonline
Revision as of 14:20, 16 December 2019 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search

multipath: https://linux.die.net/man/8/multipath


mpath10 (350002ac01bde0e96)
[size=50 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [enabled]
 \_ 0:0:1:2 sdf  8:80   [failed][faulty]
 \_ 0:0:2:2 sdk  8:160  [failed][faulty]
 \_ 1:0:0:2 sdp  8:240  [failed][faulty]
 \_ 1:0:2:2 sdx  65:112 [failed][faulty]
  • multipath -f mpath10 or multipath -F to flush all unused multipath device maps
multipath -f 3600a09803831416c592b4f566453774e
Jan 16 08:59:52 | 3600a09803831416c592b4f566453774e: map in use
* multipath -w 3600a09803831417a5a244f5665797a48
wwid '3600a09803831417a5a244f5665797a48' removed
  • echo 1 > /sys/block/sdf/device/delete
  • echo 1 > /sys/block/sdk/device/delete
  • echo 1 > /sys/block/sdp/device/delete
  • echo 1 > /sys/block/sdx/device/delete


See also

Advertising: