Thursday, January 5, 2012

multipath.conf - Qlogic qla2xxx, EMC Clarion and RHEL 5.7 64bit

Below is the configuration that I used for a server with Qlogic HBA card (qla2xxx driver) and EMC Clarion SAN storage.


defaults {
        udev_dir                /dev
        polling_interval        10
        selector                "round-robin 0"
        path_grouping_policy    failover
        getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
        prio_callout            "/bin/true"
        path_checker            tur
        rr_min_io               100
        rr_weight               uniform
        failback                immediate
        no_path_retry           12
        user_friendly_names     yes
}
blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z]"
        devnode "^cciss!c[0-9]d[0-9]*"
}
devices {
       device {
               vendor                  "DGC"
               product                 ".*"
               product_blacklist       "LUNZ"
               getuid_callout          "/sbin/scsi_id -g -u -s /block/%n"
               prio_callout            "/sbin/mpath_prio_alua /dev/%n"
               features                "1 queue_if_no_path"
               hardware_handler        "1 alua"
               path_grouping_policy    group_by_prio
               failback                immediate
               rr_weight               uniform
               no_path_retry           60
               rr_min_io               1000
               path_checker            emc_clariion
       }

}

I was getting "Buffer I/O error on device" when using "emc" handler. Hope it may help some one.

1 comment:

  1. Your tutorials are the best one and can benefit a lot to any individual, good to see your work and the update you made every single week, keep it up.

    ReplyDelete