Tips and tricks: How can I disable device-mapper-multipath in Red Hat Enterprise Linux 5?

摘自: www.redhatmagazine.com  被阅读次数: 196


yangyi 于 2008-05-12 23:09:42 提供


by the editorial team

In Red Hat Enterprise Linux 5, device-mapper-multipath is installed by default. This is a change from Red Hat Enterprise Linux 4. If a third party multipathing solution is in use, device-mapper-multipath should be disabled to avoid any conflict between multiple multipathing technologies. To disable device-mapper-multipath, turn it off with the following command:

chkconfig multipathd off

In addition, make sure the /etc/sysconfig/mkinitrd/multipath file has the following line:

MULTIPATH=NO

By default, /etc/multipath.conf has all devices blacklisted. If this default configuration has been changed, the change should be reverted. If the devices are not blacklisted, then running the multipath command could cause a conflict with other multipathing software. The /etc/multipath.conf file should contain the following:

# Blacklist all devices by default. Remove this to enable multipathing
# on the default devices.
blacklist {
        devnode "*"
}

These steps will ensure that device-mapper-multipath does not conflict with any other multipathing solution in use.

Red Hat’s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to Red Hat Knowledgebase is free. Every month, Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

Original link: http://www.redhatmagazine.com/20...