我们最近更换了存储供应商,现在绑定到DM Multipath进行多路径管理。DM Multipath是否有一个功能可以查看是否有任何路径在其中一条路径上有以前的错误。
在PowerPath中,您可以查看自上次重新启动/清理以来是否有任何路径出现错误。有一列显示错误。就像这样(输出来自windows verson,但与我们使用的rhel版本没有区别(:
Pseudo name=harddisk1
Unity ID=CK0000000000001 [HOST1]
Logical device ID=123ABC123ABC123 [HOST1]
state=alive; policy=CLAROpt; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 4
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 port1path0tgt1lun28 c1t0d0 SP B2 active alive 0 1
1 port1path0tgt0lun28 c1t1d0 SP A2 active alive 0 1
0 port0path0tgt1lun28 c0t1d0 SP B3 active alive 0 1
0 port0path0tgt0lun28 c0t0d0 SP A3 active alive 0 1
多路径是否有类似的输出。或者你需要完成所有的系统日志记录吗?上周我已经在网上搜索了,但似乎没有。
提前谢谢。
multipath -ll
给出类似的输出:
# multipath -ll
eui.006a1354d146f94124a9376b00011010 dm-2 NVME, NoName Vendor
size=11G features='3 queue_if_no_path queue_mode mq' hwhandler='0' wp=rw
`-+- policy='queue-length 0' prio=50 status=active
|- 0:2:2:69648 nvme0n2 259:3 active ready running
|- 1:5:2:69648 nvme1n2 259:12 active ready running
|- 10:4:2:69648 nvme10n2 259:4 active ready running
|- 11:1:2:69648 nvme11n2 259:13 active ready running
...