multipath failing I/Os even though queue_if_no_path is specified

219 篇文章 2 订阅

https://access.redhat.com/solutions/432153

 SOLUTION UNVERIFIED - 已更新 2015年二月27日15:08 - 

English 

环境

  • Redhat Enterprise Linux

问题

Errors seen in the system log:

Raw

Jul  2 09:56:06 host1 kernel: Buffer I/O error on device dm-9, logical block 668626947
Jul  2 09:56:06 host1 kernel: lost page write due to I/O error on dm-9
Jul  2 09:56:06 host1 kernel: Buffer I/O error on device dm-9, logical block 668626948
Jul  2 09:56:07 host1 kernel: lost page write due to I/O error on dm-9
Jul  2 09:56:07 host1 kernel: Buffer I/O error on device dm-9, logical block 668626947
Jul  2 09:56:07 host1 kernel: lost page write due to I/O error on dm-9

The multipath configuration shows the queue_if_no_path feature is enabled.

Raw

mpatho (3600508b400105c430002000000170000) dm-9 HP,HSV210
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 0:0:4:1 sdp  8:240  active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
  `- 1:0:3:1 sdaj 66:48  active ready running

决议

Remove the 'no_path_retry' option or change it's value to 'queue'.

根源

The source of the filesystem failures is due to the 'no_path_retry' option having a value other than queue. The no_path_retry setting takes various arguments; fail (or 0) to fail I/Os immediately, queue to behave like the queue_if_no_path setting or a number N (in this case 5) to retry N times before failing. This setting is overriding the previously specified queue_if_no_path feature setting.

诊断步骤

Checking the multipath configuration file shows the no_path_retry option uses a numerical argument.

Raw

defaults {
        user_friendly_names yes
        polling_interval  30
    }
devices {
    device {
        vendor  "IBM"
        product     "2145"
        path_grouping_policy    group_by_prio
        getuid_callout  "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
        features    "1 queue_if_no_path"
        prio    alua
        path_checker    tur
        failback    immediate
        no_path_retry   "5"
        rr_min_io   1
        dev_loss_tmo    120
        }
    }
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值