Implementing multipathing with the multipath-tools

The multipath-tools project is an open source project that implements I/O multipathing at the operating system level.

The project delivers an architecture and vendor-independent multipathing solution that is based on kernel components and the following user-space tools:

Redundant paths that are defined in Linux appear as separate SCSI devices, one for each logical path (see Figure 1). The device-mapper provides a single block device for each logical unit (LU) and reroutes I/O over the available paths. You can partition the device-mapper multipath I/O (MPIO) devices or use them as physical volumes for LVM or software RAID.

You can use user-space components to set up the MPIO devices and automated path retesting as follows:

Figure 1 shows an example multipath setup with two FCP channels for the mainframe and two HBAs for the storage subsystem.

Figure 1. Multipathing with multipath-tools and device mapper
An example multipath setup with two HBAs each for the mainframe and the storage subsystem.