Chapter 7. Advanced maintenance, troubleshooting, and diagnostics 461
Using the LUN Logical Drive ID
To display the Linux name assigned to each of the logical volumes, use the lsvdev utility, as
shown in Example 7-11.
Example 7-11 Displaying Linux disk names with lsvdev
[root@TC-2008 mpp]# ./lsvdev
Array Name Lun sd device
-------------------------------------
ITSO_5020 0 -> /dev/sda
ITSO_5020 1 -> /dev/sdb
ITSO_5020 2 -> /dev/sde
ITSO5300 0 -> /dev/sdc
ITSO5300 1 -> /dev/sdd
Use the mppUtil command, as shown in Example 7-12, to list the DS devices found together
with their characteristics. Use the parameter -g#, where # specifies the DS Subsystem ID
previously obtained by using the mppUtil -a command, as shown in Example 7-9 on
page 460.
Example 7-12 mppUtil -g0 - good condition
[root@TC-2008 ~]# mppUtil -g0
Hostname = TC-2008
Domainname = (none)
Time = GMT 10/01/2009 19:25:59
MPP Information:<--------------------------------------------DS5000 general information
----------------
ModuleName: ITSO_5020 SingleController: N
VirtualTargetID: 0x000 ScanTriggered: N
ObjectCount: 0x000 AVTEnabled: Y
WWN: 60080e500017b5bc000000004a955e3b RestoreCfg: N
ModuleHandle: none Page2CSubPage: Y
FirmwareVersion: 7.60.13.xx
ScanTaskState: 0x00000000
LBPolicy: LeastQueueDepth
Controller 'A' Status:<-------------- Controller A breakdown view with path information
-----------------------
ControllerHandle: none ControllerPresent: Y
UTMLunExists: N Failed: N
NumberOfPaths: 2 FailoverInProg: N
ServiceMode: N
Path #1
---------
DirectoryVertex: present Present: Y
PathState: OPTIMAL<-----------------------------------------first Path to CTRL A
PathId: 77020000 (hostId: 2, channelId: 0, targetId: 0)
Path #2
---------
DirectoryVertex: present Present: Y
PathState: OPTIMAL<----------------------------------------second Path to CTRL A
PathId: 77030000 (hostId: 3, channelId: 0, targetId: 0)