Adding Support For The Storage Subsystem To /Etc/Multipath.conf; Configuring User-Friendly Names In /Etc/Multipath.conf; Section 5.7, "Adding Support For The Storage Subsystem To /Etc/Multipath.conf - Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 Administration Manual

Table of Contents

Advertisement

5.7 Adding Support for the Storage Subsystem
to /etc/multipath.conf
If you are using a storage subsystem that is automatically detected (see
Subsystems" on page
required.
Otherwise, create the /etc/multipath.conf file and add an appropriate device entry for your
storage subsystem. See /usr/share/doc/packages/multipath-tools/
multipath.conf.annotated for a template with extensive comments.
After having set up the configuration, you can perform a "dry-run" with multipath -v2 -d,
which scans the devices, then displays what the setup would look like. The output is similar to the
following:
3600601607cf30e00184589a37a31d911
[size=127 GB]
[features="0"]
[hwhandler="1
\_ round-robin 0 [first]
\_ 1:0:1:2 sdav 66:240
\_ 0:0:1:2 sdr
\_ round-robin 0
\_ 1:0:0:2 sdag 66:0
\_ 0:0:0:2 sdc
Paths are grouped into priority groups. Only one priority group is ever in active use. To model an
active/active configuration, all paths end up in the same group. To model active/passive
configuration, the paths that should not be active in parallel are placed in several distinct priority
groups. This normally happens completely automatically on device discovery.
The output shows the order, the scheduling policy used to balance I/O within the group, and the
paths for each priority group. For each path, its physical address (host:bus:target:lun), device node
name, major:minor number, and state is shown.
5.8 Configuring User-Friendly Names in /etc/
multipath.conf
The default name used in multipathing is the UUID of the logical unit as found in the /dev/disk/
by-id directory. You can optionally override this behavior with user-friendly names instead. User-
friendly names can be set via the ALIAS directive in the multipath.conf file.
IMPORTANT: We recommend that you do not use aliases for the root device, because the ability to
seamlessly switch off multipathing via the kernel command line is lost because the device names
differ.
For an example of multipath.conf settings, see the /usr/share/doc/packages/
multipath-tools/multipath.conf.synthetic file.
1 In a terminal console, log in as the root user.
2 Enter the following command (all on one line, of course):
50
SLES 10 Storage Administration Guide
46), no further configuration of the /etc/multipath.conf file is
emc"]
65:16
8:32
[ready ]
[ready ]
[ready ]
[ready ]
"Supported Storage

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 storage

Table of Contents