Multipath Devices; Multipath Device Identifiers; Consistent Multipath Device Names In A Cluster - Red Hat DEVICE-MAPPER MULTIPATH 5.2 Configuration And Administration Manual

Table of Contents

Advertisement

Chapter 2.

Multipath Devices

Without DM-Multipath, each path from a server node to a storage controller is treated by the
system as a separate device, even when the I/O path connects the same server node to the
same storage controller. DM-Multipath provides a way of organizing the I/O paths logically, by
creating a single multipath device on top of the underlying devices.

1. Multipath Device Identifiers

Each multipath device has a World Wide Identifier (WWID), which is guaranteed to be globally
unique and unchanging. By default, the name of a multipath device is set to its WWID.
Alternately, you can set the
which sets the alias to a node-unique name of the form
For example, a node with two HBAs attached to a storage controller with two ports via a single
unzoned FC switch sees four devices:
DM-Multipath creates a single device with a unique WWID that reroutes I/O to those four
underlying devices according to the multipath configuration. When the
configuration option is set to
When new devices are brought under the control of DM-Multipath, the new devices may be
seen in three different places under the
, and
/dev/mpath/mpathn
• The devices in
/dev/mapper
access the multipathed devices, for example when creating logical volumes.
• The devices in
/dev/mpath
can be seen in one directory. These devices are created by the
may not be available on startup when the system needs to access them. Do not use these
devices for creating logical volumes or filesystems.
• Any devices of the form
For information on the multipath configuration defaults, including the
configuration option, see
You can also set the name of a multipath device to a name of your choosing by using the
option in the
multipaths
section of the multipath configuration file, see see
multipaths
Configuration
Attributes".

2. Consistent Multipath Device Names in a Cluster

When the
user_friendly_names
device is unique to a node, but it is not guaranteed to be the same on all nodes using the
user_friendly_names
/dev/sda
, the name of the multipath device is set to
yes
directory:
/dev
.
/dev/dm-n
are created early in the boot process. Use these devices to
are provided as a convenience so that all multipathed devices
are for internal use only and should never be used.
/dev/dm-n
Section 3, "Configuration File
section of the multipath configuration file. For information on the
configuration option is set to
option in the multipath configuration file,
.
mpathn
,
,
, and
/dev/sdb
dev/sdc
/dev/mapper/mpathn
udev
user_friendly_names
Defaults".
Section 4, "Multipaths Device
, the name of the multipath
yes
.
/dev/sdd
user_friendly_names
.
mpathn
,
device manager and
alias
7

Advertisement

Table of Contents
loading

Table of Contents