サーバーの再起動、scsi バスの再スキャン、または multipathd を再起動せずに、マルチパスデバイスを削除する方法
Issue
- サーバーから LUN のマッピングを解除したあと、マルチパスデバイスを削除することはできません。
-
"multipath -f" または "multipath -F" を使用したマルチパスマップをフラッシュしようとすると、"map in use" となります。
# multipath -f mpath7 mpath7: map in use
-
multipath コマンドは、以下のようにマップされていない LUN へのパスを使用して、マルチパスデバイスを表示します。
# multipath -ll mpath7 mpath7 (36090a01870982994dcb8d4405ed03cbf) dm-7 , [size=4.4T][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=0][enabled] \_ #:#:#:#- #:# [failed][faulty]
Environment
- Red Hat Enterprise Linux 5 および 6
- デバイスマッパーのマルチパス
- SAN に接続したストレージ
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.