• multipath.conf


    # This is a basic configuration file with some examples, for device mapper
    # multipath.
    # For a complete list of the default configuration values, see
    # /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.defaults
    # For a list of configuration options with descriptions, see
    # /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated


    # Blacklist all devices by default. Remove this to enable multipathing
    # on the default devices.
    blacklist {
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
    devnode "^hd[a-z]"
    devnode "^sda$"
    devnode "^sda[0-9]$"
    devnode "^asm/*"
    devnode "ofsctl"
    devnode "^eql"
    }


    ## By default, devices with vendor = "IBM" and product = "S/390.*" are
    ## blacklisted. To enable mulitpathing on these devies, uncomment the
    ## following lines.

    ## Use user friendly names, instead of using WWIDs as names.
    defaults {
    user_friendly_names yes
    polling_interval 30
    }
    ##
    ## Here is an example of how to configure some standard options.
    ##
    #

    ##
    ## The wwid line in the following blacklist section is shown as an example
    ## of how to blacklist devices by wwid. The 2 devnode lines are the
    ## compiled in default blacklist. If you want to blacklist entire types
    ## of devices, such as all scsi devices, you should use a devnode line.
    ## However, if you want to blacklist specific devices, you should use
    ## a wwid line. Since there is no guarantee that a specific device will
    ## not change names on reboot (from /dev/sda to /dev/sdb for example)
    ## devnode lines are not recommended for blacklisting specific devices.
    ##
    multipaths {

    multipath {
    wwid 36861a6dd559848d7367865e873453e79
    alias dsg1
    }
    multipath {
    wwid 36861a6dd559858d0367805e87345eeec
    alias crsdg1
    }
    multipath {
    wwid 36861a6dd559888cb3678a5e77345ae87
    alias crsdg2
    }
    multipath {
    wwid 36861a6dd5598a8da3678c5e87345cef2
    alias dsg2
    }
    multipath {
    wwid 36861a6dd5598b8de3678f5e87345dedf
    alias datadg1
    }
    multipath {
    wwid 36861a6dd5598c8d5367835e873458e1f
    alias dsg3
    }
    multipath {
    wwid 36861a6dd5598d8cd3678d5e773451e4e
    alias crsdg3
    }
    multipath {
    wwid 36861a6dd5598d8d8367895e87345de7e
    alias dsg4
    }
    multipath {
    wwid 36861a6dd5598e8e0367825e97345eefa
    alias datadg2
    }
    }

    # The devices section - used to define per storage array model settings

    devices {
    device {
    vendor "IBM"
    product "2145"
    path_grouping_policy group_by_prio
    features "0"
    prio alua
    path_checker tur
    failback immediate
    no_path_retry "5"
    rr_min_io_rq 1
    # polling_interval 30
    dev_loss_tmo 30
    fast_io_fail_tmo 15
    }
    }

  • 相关阅读:
    Chrome浏览器的下拉选择框option有黑框的问题
    修改input checkbox和radio默认样式
    VsCode安装cssrem插件实现px转rem
    js实现小球的弹性碰撞
    CSS 技巧 -- 不定宽溢出文本适配滚动
    记忆化递归和递推
    DOM事件中target和currentTarget的区别
    TypeScripy + Vue Property Decorator + Vue Router,组件内的导航守卫无效
    行内元素没有内容时设置默认的宽高
    焦点元素,添加半透明遮罩
  • 原文地址:https://www.cnblogs.com/timlong/p/6096276.html
Copyright © 2020-2023  润新知