多路径multipath配置文件RedHat7

  环境描述RedHat Enterprise Linux7 multipath配置文件详解:

vi /etc/multipath.conf
defaults {
        polling_interval  30
}

devices {  
        device {
                vendor "NETAPP"
                product "LUN.*"
                path_grouping_policy "group_by_prio"
                path_checker "tur"
                features "3 queue_if_no_path pg_init_retries 50"
                hardware_handler "1 alua"
                prio "alua"
                failback "immediate"
                rr_weight "uniform"
                rr_min_io 128
                dev_loss_tmo "infinity"
                retain_attached_hw_handler "yes"
                detect_prio "yes"
                path_selector  "round-robin 0"
                no_path_retry  18
                user_friendly_names yes               
        }
}
 
systemctl status multipathd.servic
systemctl start multipathd.servic
systemctl enable multipathd.servic
systemctl list-unit-files  | grep multipathd

 

 

参考链接:https://access.redhat.com/solutions/1337273

DM-Multipath could not set user friendly names for SAN devices

We have enabled user_friendly_names yes option in /etc/multipath.conf file, but still dm-multipath creates the multipath device maps using WWID instead of user friendly names (e.g. mpathn):

 

$ less /etc/multipath.conf
[...]
defaults {
    user_friendly_names yes
    find_multipaths yes
}

$ multipath -v2
$ multipath -ll
360a98000572d5765636f65646544784e dm-3 NETAPP  ,LUN             
size=10G features='4 queue_if_no_path pg_init_retries 50 retain_attached_hw_handle' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=0 status=active
  |- 18:0:0:0 sdc 8:32 active undef running
  `- 19:0:0:0 sdb 8:16 active undef running


  

 

转载于:https://www.cnblogs.com/azyb/p/10809613.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值