【问题标题】:Check if dm multipath paths had previous errors like powerpath检查 dm 多路径路径是否有以前的错误,如 powerpath
【发布时间】:2021-06-07 08:19:52
【问题描述】:

我们最近更换了存储供应商,现在绑定到 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

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

提前谢谢你。

【问题讨论】:

    标签: rhel multipath


    【解决方案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
    ...
    

    【讨论】:

      猜你喜欢
      • 2014-02-20
      • 2011-09-06
      • 1970-01-01
      • 2011-12-26
      • 2021-02-24
      • 2016-08-18
      • 2014-05-05
      • 2014-03-09
      相关资源
      最近更新 更多