多路径 on linux

powerpath


# 安装EMC多路径rpm包
rpm -ivh EMCpower.LINUX-5.3.1.02.00-007.rhel.i386.rpm

# 开始安装,并输入注册码
emcpreg -install

# 启动powermt
/etc/init.d/PowerPath start

# 验证是否成功
powermt display dev=all


multipath

yum install device-mapper device-mapper-multipath
multipath -ll
mpathconf --enable
modprobe dm-multipath
modprobe dm-round-robin
service multipathd start/stop/reload
multipath -v2
multipath -F
cat /var/lib/multipath/bindings
cat /etc/multipath/bindings
kpartx -a /dev/mapper/mpathX
dmsetup ls
dmsetup remove_all

multipathd -k

> > show config

> >reconfigure

> >show paths

> >CTRL-D