Suchen

Kapitel 2. Multipath-Geräte

download PDF
Ohne DM-Multipath wird jeder Pfad von einem Server-Knoten zu einem Speicher-Kontroller vom System als separates Gerät behandelt, auch wenn der I/O-Pfad denselben Server-Knoten mit demselben Speicher-Kontroller verbindet. DM-Multipath bietet eine Möglichkeit, I/O-Pfade logisch anzuordnen, indem ein einzelnes multipath-Gerät oberhalb der zugrundeliegenden Geräte erstellt wird.

2.1. Multipath-Geräte-Identifizierer

Jedes multipath-Gerät besitzt einen World Wide Identifier (WWID), der garantiert global einzigartig und konstant ist. Standardmäßig wird der Name eines multipath-Geräts auf dessen WWID gesetzt. Alternativ könne Sie die Option user_friendly_names in der multipath-Konfigurationsdatei setzen, welche einen Alias zu einem eindeutigen Knotennamen der Art mpathn setzt.
For example, a node with two HBAs attached to a storage controller with two ports via a single unzoned FC switch sees four devices: /dev/sda, /dev/sdb, dev/sdc, and /dev/sdd. 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 user_friendly_names configuration option is set to yes, the name of the multipath device is set to mpathn.
When new devices are brought under the control of DM-Multipath, the new devices may be seen in three different places under the /dev directory: /dev/mapper/mpathn, /dev/mpath/mpathn, and /dev/dm-n.
  • The devices in /dev/mapper are created early in the boot process. Use these devices to access the multipathed devices, for example when creating logical volumes.
  • The devices in /dev/mpath are provided as a convenience so that all multipathed devices can be seen in one directory. These devices are created by the udev device manager and 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 /dev/dm-n are for internal use only and should never be used.
For information on the multipath configuration defaults, including the user_friendly_names configuration option, see Abschnitt 4.3, »Standardeinstellungen der Konfigurationsdatei«.
You can also set the name of a multipath device to a name of your choosing by using the alias option in the multipaths section of the multipath configuration file. For information on the multipaths section of the multipath configuration file, see see Abschnitt 4.4, »Multipaths Attribute zur Gerätekonfiguration«.
Red Hat logoGithubRedditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

© 2024 Red Hat, Inc.