0

我们最近切换了存储供应商,现在绑定到 DM Multipath 以进行多路径管理。DM Multipath 是否具有查看任何路径是否在其中一个路径上存在先前错误的功能。

在 PowerPath 中,您可以查看自上次重新启动/清理以来是否有任何路径出现任何错误。有一列显示错误。像这样(输出来自 windows 版本,但与我们使用的 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 port1\path0\tgt1\lun28 c1t0d0    SP B2     active   alive      0      1
   1 port1\path0\tgt0\lun28 c1t1d0    SP A2     active   alive      0      1
   0 port0\path0\tgt1\lun28 c0t1d0    SP B3     active   alive      0      1
   0 port0\path0\tgt0\lun28 c0t0d0    SP A3     active   alive      0      1

多路径是否有类似的输出。还是您需要检查所有系统日志记录?上周我已经在网上搜索了,但似乎没有。

先感谢您。

4

1 回答 1

0

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
...
于 2021-07-29T15:35:07.813 回答