Operating System - Linux
1753792 Members
6973 Online
108799 Solutions
New Discussion юеВ

multipathing issue in linux

 
bob's
New Member

multipathing issue in linux

Dear all,

Can anybody help me reagrding multipathing issue in linux.
Iam using hitachi modular storage. I configured 8 luns in the storage.this luns are sharable to two servers which is in cluster.

My issue is when iam executing #fdisk -l command in server it showing totally 16 device files.
That means for each lun there will be two device files .
How can i solve the problem . By installing any multipathing software the problem will solve?

What exactly i have to do.. waiting for yours valuable reply.......
2 REPLIES 2
Matti_Kurkela
Honored Contributor

Re: multipathing issue in linux

Yes, some sort of multipathing software is obviously required.

The device-mapper-multipath system available in modern Linux distributions (and recommended by RedHat) is a manufacturer-agnostic solution. It can identify the disks using standard WWID numbers or a collection of known manufacturer-specific identification methods. It presents a third set of devices, where each device refers to a particular disk using any and all available paths.

There are two ways of naming the multipathed disk devices in device-mapper-multipath. If the FriendlyNames option is enabled in /etc/multipath.conf, the default names are like /dev/mapper/mpath, where is a number. If FriendlyNames is off, the default name is /dev/mapper/ where is a long string of hexadecimal digits guaranteed to be unique for each disk/LUN by the storage manufacturer.

Device-mapper-multipath does not hide the /dev/sd* devices corresponding to individual paths, so that with 8 LUNs with 2 paths each you would see 16 /dev/sd* devices and 8 multipath devices. This allows you to use the /dev/sd* devices if you have a specific need to avoid multipathing, e.g. if you wish to measure the performance of a particular path. You can use the "multipath -l" command to see how the multipath devices are mapped to /dev/sd* devices and the states of each individual path.

Some FibreChannel HBA manufacturers offer versions of HBA drivers for Linux that include multipath functionality. These drivers require at least two HBAs from the same manufacturer and their load-balancing features may be limited to failover-only.

Device-mapper-multipath can do load balancing between multiple paths if the storage system allows simultaneous use of both paths (i.e. active/active multipathing). On the other hand, multipath solutions built into HBA drivers may hide the presence of multiple paths and allow the system to be administered just like with regular single-pathed disks.

MK
MK
Ivan Krastev
Honored Contributor

Re: multipathing issue in linux

See this post here how to implement multipathing step by step - https://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1375018

regards,
ivan