Linux configuration multipath Software (openfiler analog shared disk) __linux

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.