Centos5.6 FC multipathing setup to SUN6140

Posted on 2011-05-12
Last Modified: 2012-05-11
I have recently built a Centos5.6 x86_64 server with dual Emulex HBA zoned through 2 switches to a SUN6140.

Can someone please assist with setting up multipathing correctly? I have found lots of web posts relating to editing the multipah.conf file but not being an Linux expert I've decided to ask here.

Thanks in advance.
Question by:kinsja1
    LVL 38

    Expert Comment

    - Install multipath (as root)
    yum install device-mapper-multipath

    If your storage subsystem is automatically detected, no further configuration of the multipath-tools is required.
    Otherwise, reference the followinf URL for multipath.conf

    Read the installation or configuration guide from Emulex and Sun carefully. There will be a lot of time to trial and error.

    Here is another article with introduction about linux multipath (worth for reference)

    Good luck.

    Author Comment

    I've run the yum installer and it has reported back the following:

    Package device-mapper-multipath-0.4.7-42.el5_6.2.x86_64 already installed and latest version
    Nothing to do

    So, the question is - does this mean that it's all setup correctly by default? If so, is there a good way to test this? At present I have presented a new unformatted LUN.



    Author Comment

    Hi wesly chen,
    I had also found this article (for EMC) but should I do something like this for SUN? It seems to suggest that centos by default blacklists all devices.

    I appreciate your assistance.

    LVL 12

    Expert Comment

    Hi kinsja1,

    You should have the blacklist for the device so that the output of multipath would be clean and would not include the local disk in the output of multipath command.


    Umesh Panwar
    LVL 38

    Accepted Solution

    The link (for EMC) is also for reference.
    But use the first article in my first post which is for Sun ST.

    This article has more details for Multipath:

    multipath -ll

    Author Closing Comment

    The information provided was enough to configure the multipathing. Thanks for all the help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    Problem description :  Some external hard disks / USB flash drives do not show actual space as mentioned in the factory settings. This is a common problem when you use an 8 GB USB drive to make it bootable to install a firmware/ driver on a serv…
    The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now