Translated message

A translation of this page exists in English.

无法在 RHEL7 中设置自定义 'dev_loss_tmo' 值

Solution In Progress - Updated -

Issue

  • dev_loss_tmo 的值被设置为 20,但在以下命令的输出中仍为 50

    $ less /etc/multipath.conf
    [...]
    defaults {
            user_friendly_names     yes
            fast_io_fail_tmo        10
            dev_loss_tmo            20   ###
    }
    [...]
    
    $ for f in /sys/class/fc_remote_ports/rport-*/dev_loss_tmo; do d=$(dirname $f); echo $(basename $d):$(cat $d/node_name):$(cat $f); done
    rport-7:0-2:0x50020e8020144afa:50   <---
    rport-7:0-3:0x50020e8020144af2:50   <---
    rport-8:0-2:0x50020e8020144afb:50   <---
    rport-8:0-3:0x50020e8020144af3:50   <---
    
  • dev_loss_tmo 的值在 RHEL 7 中是如何计算的?

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content