66
SLES 10 SP3: Storage Administration Guide
no
vd
ocx
(e
n)
7 Ja
nua
ry 201
0
“Options” on page 66
“Return Values” on page 66
Syntax
mpath_prio_alua [-d
directory
] [-h] [-v] [-V]
device
[
device
...]
Prerequisite
SCSI devices
Options
-d
directory
Specifying the Linux directory path where the listed device node names can be found. The
default directory is
/dev
. When used, specify the device node name only (such as
sda
) for the
device or devices you want to manage.
-h
Displays help for this command, then exits.
-v
Turns on verbose output to display status in human-readable format. Output includes
information about which port group the specified device is in and its current state.
-V
Displays the version number of this tool, then exits.
device
Specifies the SCSI device you want to manage. The device must be a SCSI device that supports
the Report Target Port Groups (
sg_rtpg(8)
) command. Use one of the following formats for
the device node name:
The full Linux directory path, such as
/dev/sda
. Do not use with the -d option.
The device node name only, such as
sda
. Specify the directory path using the -d option.
The major and minor number of the device separated by a colon (:) with no spaces, such as
8:0
. This creates a temporary device node in the
/dev
directory with a name in the format
of
tmpdev-<major>:<minor>-<pid>
. For example,
/dev/tmpdev-8:0-<pid>
.
Return Values
On success, returns a value of 0 and the priority value for the group.
Table 5-6
shows the priority
values returned by the
mpath_prio_alua
command.
Table 5-6
ALUA Priorities for Device Mapper Multipath
Priority Value
Description
50
The device is in the active, optimized group.
10
The device is in an active but non-optimized group.
Содержание LINUX ENTERPRISE SERVER 10 SP3 - ARCHITECTURE-SPECIFIC
Страница 4: ...4 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 30: ...30 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 42: ...42 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 76: ...76 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 108: ...108 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 118: ...118 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 124: ...124 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...
Страница 132: ...132 SLES 10 SP3 Storage Administration Guide novdocx en 7 January 2010...