码迷,mamicode.com
首页 > 系统相关 > 详细

linux 多路径配置

时间:2016-01-26 18:52:10      阅读:292      评论:0      收藏:0      [点我收藏+]

标签:linux

blacklist {
    devnode "^sdk"
}

defaults {
    user_friendly_names no
}

multipaths {
    multipath {
    wwid 360080e50002c8e94000014a356a18b17
    alias mpath0
    }
    multipath {
    wwid 360080e50002c8e940000137355e20951
    alias mpath1
    }

    multipath {
    wwid 360080e50002c90ec0000132955e20707
    alias mpath2
    }
    multipath {
    wwid 360080e50002c8e940000137555e2096b
    alias mpath3
    }
   
    multipath {
    wwid 360080e50002c90ec0000132b55e20743
    alias mpath4
    }

}

devices {
    device {
    vendor "IBM"
    product "DS5020"
    path_grouping_policy multibus
    getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
    path_checker readsector0
    path_selector "round-robin 0"
    }
}



[root@foldb2 ~]# /sbin/scsi_id -g -u  /dev/sdi
360080e50002c90ec0000132b55e20743

linux 多路径配置

标签:linux

原文地址:http://7642644.blog.51cto.com/7632644/1738572

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!