Use this when a Linux host uses several paths to SAN LUNs.
Multipath · Linux Storage
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.
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.
SCSI paths → multipathd → dm map
Context & applicabilityCommon mistakes · platform/version boundaries
- Using
/dev/sdXpaths 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_multipathssettings that ignore the LUN.- LVM scanning both underlying paths and the multipath device; set a
filterinlvm.conf.
Operational reference
Fast context before you go deeper.
multipath -llEvidence · 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.
- dm-multipath merges paths into /dev/mapper devices.
- Blacklist local disks in multipath.conf.
- Use the mapper device, not sdX.
multipath -ll— mapssystemctl status multipathd— daemoncat /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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%