1. Install RPM device-mapper-1.02.79-8.el6.x86_64.rpm device-mapper-event-1.02.79-8.el6.x86_64.rpm device-mapper-multipath-0.4.9-72.el6.x86_64.rpm RPM-IVH device-mapper-multipath-libs-0.4.9-72.el6.x86_64.rpm RPM- IVH device-mapper-1.02.79-8.el6.x86_64.rpm RPM-IVH device-mapper-event-1.02.79-8.el6.x86_64.rpm RPM-IVH device-mapper-multipath-libs-0.4.9-72.el6.x86_64.rpm RPM-IVH device-mapper-multipath-0.4.9-72.el6.x86_64.rpm 2. Set boot up and check that the installation package is normal [Root@lmsin ~]# chkconfig multipathd on [root@lmsin ~]# service MULTIPATHD start starting Multipathd Dae Mon: [OK] [Root@lmsin ~]# lsmod | grep dm_multipath dm_multipath 17724 0 dm_mod 84209-dm_multipath,dm_mirror,dm_log 3. Configure Mul Tipath make it work, edit/etc/multipath.conf, and open the following: [Root@lmsin ~]# Find/-name multipath.conf/usr/share/doc/ device-mapper-multipath-0.4.9/multipath.conf [Root@lmsin ~]# cp/usr/share/doc/device-mapper-multipath-0.4.9/ Multipath.conf/etc/vi/etc/multipath.conf deFaults { User_friendly_names yes} blacklist { devnode "^ (RAM|RAW|LOOP|FD|MD|DM-|SR|SCD|ST|SDA) [0-9]*" Devnode "^hd[a-z]"} 4. After completing the following command to discover Multipath multipath-v2 [Root@lmrac2 packages]# modprobe Dm-multipath] [root@l packages]# multipath-f [Root@lmrac2 packages]# multipath Dm-multipath [root@lmrac2 packages]# multipath Mrac2 dm-round-r Obin [ROOT@LMRAC2 packages]# service MULTIPATHD Restart OK stopping multipathd daemon: [OK] starting MULTIPATHD Daemo N: [OK] [Root@lmrac2 packages]# multipath-v2 [Root@lmrac2 packages]# multipath-ll [Root@lmrac1 ~]# ll/dev/mapper/ * CRW-RW----1 root, 12:14/dev/mapper/control Sep lrwxrwxrwx 1 root 7 Sep 12:14/dev/mapper/mp Atha->. /dm-3 lrwxrwxrwx 1 root 7 Sep 12:14/DEV/MAPPER/MPATHB->. /dm-2 lrwxrwxrwx 1 root 7 Sep 12:14/dev/mapper/mpathc->./dm-5 lrwxrwxrwx 1 root 7 Sep 12:14/dev/mapper/mpathd->. /dm-4 lrwxrwxrwx 1 root 7 Sep 12:14/dev/mapper/mpathe->.
/dm-6