# yum install device-mapper-multipath -y
# cp /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf /etc/
# modprobe dm-multipath
# modprobe dm-round-robin
# vi /etc/multipath.conf
defaults {
polling_interval 10
max_fds 8192
}
devices {
device {
vendor "3PARdata"
product "VV"
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
features "0"
hardware_handler "0"
path_selector "round-robin 0"
path_grouping_policy multibus
rr_weight uniform
rr_min_io 1000
path_checker directio
prio const
}
}
# /etc/init.d/multipathd start
chkconfig multipathd on
# multipath -ll
360002ac00000000000000006000045a7 dm-5 3PARdata,VV
size=300G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:1 sdb 8:16 active ready running
|- 2:0:1:1 sde 8:64 active ready running
|- 2:0:2:1 sdh 8:112 active ready running
|- 2:0:3:1 sdk 8:160 active ready running
|- 2:0:5:1 sdq 65:0 active ready running
|- 2:0:4:1 sdn 8:208 active ready running
|- 3:0:0:1 sdu 65:64 active ready running
|- 3:0:1:1 sdx 65:112 active ready running
|- 3:0:2:1 sdaa 65:160 active ready running
|- 3:0:3:1 sdad 65:208 active ready running
|- 3:0:4:1 sdag 66:0 active ready running
`- 3:0:5:1 sdaj 66:48 active ready running
360002ac00000000000000007000045a7 dm-4 3PARdata,VV
size=300G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:2 sdc 8:32 active ready running
|- 2:0:1:2 sdf 8:80 active ready running
|- 2:0:3:2 sdl 8:176 active ready running
|- 2:0:4:2 sdo 8:224 active ready running
|- 2:0:5:2 sdr 65:16 active ready running
|- 2:0:2:2 sdi 8:128 active ready running
|- 3:0:0:2 sdv 65:80 active ready running
|- 3:0:1:2 sdy 65:128 active ready running
|- 3:0:2:2 sdab 65:176 active ready running
|- 3:0:3:2 sdae 65:224 active ready running
|- 3:0:4:2 sdah 66:16 active ready running
`- 3:0:5:2 sdak 66:64 active ready running
360002ac00000000000000005000045a7 dm-3 3PARdata,VV
size=300G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:0:0 sda 8:0 active ready running
|- 2:0:1:0 sdd 8:48 active ready running
|- 2:0:3:0 sdj 8:144 active ready running
|- 2:0:4:0 sdm 8:192 active ready running
|- 2:0:2:0 sdg 8:96 active ready running
|- 2:0:5:0 sdp 8:240 active ready running
|- 3:0:0:0 sdt 65:48 active ready running
|- 3:0:1:0 sdw 65:96 active ready running
|- 3:0:2:0 sdz 65:144 active ready running
|- 3:0:3:0 sdac 65:192 active ready running
|- 3:0:4:0 sdaf 65:240 active ready running
`- 3:0:5:0 sdai 66:32 active ready running