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)