
5.1.2 Checking the device-mapper multipath
After they have been enabled, confirm the device-mapper multipath settings.
5.1.2.1 Recognizing the Post device-mapper multipath LUNs
Check the device file created by the device-mapper multipath.
Example:
# cd /dev/mapper
# ls -l
total 0
lrwxrwxrwx 1 root root 16 Apr 2 00:44 control -> ../device-mapper
brw------- 1 root root 253, 0 Apr 2 00:44 mpatha
brw------- 1 root root 253, 1 Apr 2 00:44 mpathb
brw------- 1 root root 253, 2 Apr 2 00:44 mpathc
brw------- 1 root root 253, 3 Apr 2 00:44 mpathd
:
brw------- 1 root root 253, 23 Apr 2 00:44 mpathu
brw------- 1 root root 253, 24 Apr 2 00:44 mpathv
brw------- 1 root root 253, 25 Apr 2 00:44 mpathw
brw------- 1 root root 253, 26 Apr 2 00:44 mpathx
5.1.2.2 Checking the device-mapper multipath Status and Created Devices
Check the path status using the "multipath -ll" command. Check that the recognized status of the devices for
all the paths that are assigned to the server is normal.
•
Multipath is in normal status (This example shows when two paths are used to connect to the ETERNUS
DX410)
Check that multipathing is configured in the two block devices and "active ready" is displayed for each path
status.
# multipath -ll
mpathr (3600000e00d00000000000422001e0000) dm-20 FUJITSU,ETERNUS_DX400
[size=2.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=100][active]
\_ 6:0:0:6 sdaf 65:240 [active][ready]
\_ 5:0:0:6 sdh 8:112 [active][ready]
:
:
When the path status is normal,
"[active][ready]" is displayed.
Two block device names are
displayed for a two-path configuration.
•
Multipath (the "5:0:0:X" side) is in error status (This example shows when two paths are used to connect to
the ETERNUS DX410)
# multipath -ll
mpathr (3600000e00d00000000000422001e0000) dm-20 FUJITSU,ETERNUS_DX400
[size=2.0G][features=1 queue_if_no_path][hwhandler=0]
\_ round-robin 0 [prio=100][active]
\_ 6:0:0:6 sdaf 65:240 [active][ready]
\_ 5:0:0:6 sdh 8:112 [failed][faulty]
:
:
The status for the failed path is
"[failed][faulty]".
Chapter 5 For SUSE Linux Enterprise Server 10
5.1 For SUSE Linux Enterprise Server 10 SP3 or Later
25
FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection-
(Fibre Channel/FCoE/iSCSI/SAS) for Linux
Copyright 2015 FUJITSU LIMITED
P3AM-3912-21ENZ0
Comentarios a estos manuales