Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Multipath · Linux Storage

Direct answer

Linux multipath (dm-multipath) combines several paths to the same SAN LUN into one /dev/mapper device with failover and load balancing, configured in /etc/multipath.conf and checked with multipath -ll.

When to use this

Use this when a Linux host uses several paths to SAN LUNs.

First 30 seconds

1. dm-multipath gives /dev/mapper/mpathX devices for SAN LUNs.

2. Blacklist local disks.

3. Use vendor defaults.

4. LVM filter to avoid duplicate PVs.

5. Monitor path counts.

Operational verification

SCSI paths → multipathd → dm map

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using /dev/sdX paths instead of /dev/mapper/mpathX — I/O goes down one path only.
  • Missing vendor device section in /etc/multipath.conf, so wrong path selector or failover.
  • find_multipaths settings that ignore the LUN.
  • LVM scanning both underlying paths and the multipath device; set a filter in lvm.conf.
Platform / version applicability
Linux Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformLinux Storage
Key commandmultipath -ll
Scope / prerequisiteUse this when a Linux host uses several paths to SAN LUNs.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • dm-multipath merges paths into /dev/mapper devices.
  • Blacklist local disks in multipath.conf.
  • Use the mapper device, not sdX.
Key checks
  • multipath -ll — maps
  • systemctl status multipathd — daemon
  • cat /etc/multipath.conf — config
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

DM-Multipath combines the SCSI devices that represent one LUN over several paths into one /dev/mapper/mpathX (or WWID-named) device and handles failover and load balancing.

mpathconf --enable --with_multipathd y      # RHEL family
multipath -ll
multipathd show paths format "%d %t %T %s %o"
multipath -r                                 # reload maps

Minimal /etc/multipath.conf:

defaults {
    user_friendly_names yes
    find_multipaths yes
}
blacklist { devnode "^nvme" }

Use array-vendor device { } settings when the built-in table lacks them, and build filesystems/LVM on the mpath device, never on sdX members.

Example configuration

defaults {
    user_friendly_names yes
    find_multipaths yes
}
blacklist {
    devnode "^sd[a]$"
}

Documented example, not captured output. Use the array vendor's recommended devices { } section; check results with multipath -ll and multipathd show paths.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

mpathconf --enable --with_multipathd y       # RHEL
multipath -ll
multipathd show paths
cat /etc/multipath.conf

multipath -ll should show all paths active ready running, grouped by ALUA priority. Use array vendor settings in multipath.conf and blacklist local disks. Use the /dev/mapper/mpathX (or WWID alias) devices, never the underlying /dev/sdX paths.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docLinux Storage current

Authoritative/upstream documentation reviewed for bounded claims in Linux Storage → Multipath. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/block/index.html · confidence 94%
Confirmation

Confirm action

Continue?