LUN Connectivity and MPIO Control

IBM

Audience
Public
Product
FlashArray
Technology Integrations
IBM
Source Type
Documentation

After running cfmgr, the following command can be used to validate LUN connectivity and MPIO control:


# lsdev -Cc disk 
hdisk0 Available 00-08-00 SAS Disk Drive 
hdisk1 Available 00-08-00 SAS Disk Drive 
hdisk2 Available 03-00-01 PURE MPIO Drive (Fibre) 
root@hclaix:/# lspath -l hdisk2 -F "status:name:path_id:parent:connection" 
Enabled:hdisk2:0:fscsi0:21000024ff391bbf,1000000000000 
Enabled:hdisk2:1:fscsi0:21000024ff3855bd,1000000000000 
Enabled:hdisk2:2:fscsi1:21000024ff385093,1000000000000 
Enabled:hdisk2:3:fscsi1:21000024ff385009,1000000000000 
Enabled:hdisk2:4:fscsi2:21000024ff391bbe,1000000000000 
Enabled:hdisk2:5:fscsi2:21000024ff3855bc,1000000000000 
Enabled:hdisk2:6:fscsi3:21000024ff385092,1000000000000 
Enabled:hdisk2:7:fscsi3:21000024ff385008,1000000000000 

The command output from the above displays the following:

  • 8 logical paths for hdisk2 (this AIX system has 4 dual-port HBAs).
  • The connection is the array target port wwpn and host LUN ID.
  • Example: 21000024ff391bbf,1000000000000 (host LUN ID = 1 as set in GUI/CLI)

Run the following command to check disk attributes set by the Pure ODM definition (the below is an example only):


# lsattr -El hdisk2
PCM             PCM/friend/Pure                  Path Control Module              False
PR_key_value    none                             Reserve Key                      True+
algorithm       shortest_queue                   Algorithm                        True+
clr_q           no                               Device CLEARS its Queue on error True
hcheck_cmd      test_unit_rdy                    Health Check Command             True+
hcheck_interval 10                               Health Check Interval            True+
hcheck_mode     nonactive                        Health Check Mode                True+
location                                         Location Label                   True+
lun_id          0x1000000000000                  Logical Unit Number ID           False
lun_reset_spt   yes                              SCSI LUN reset                   True
max_transfer    0x400000                         Maximum Transfer Size            True
node_name       0x524a9371154d7413               Node Name                        False
pvid            00fa5f3dc329d2040000000000000000 Physical Volume ID               False
q_err           yes                              Use QERR bit                     False
q_type          simple                           Queue TYPE                       True
queue_depth*    256                              Queue DEPTH                      True+
reassign_to     120                              REASSIGN time out                True
reserve_policy  no_reserve                       Reserve Policy                   True+
rw_timeout      60                               READ/WRITE time out              True
scsi_id         0xc0e00                          SCSI ID                          False
start_timeout   60                               START UNIT time out              True
timeout_policy  fail_path                        Timeout Policy                   True+
ww_name         0x524a9371154d7413               FC World Wide Name               False

* NOTE: The 256 queue depth setting in the ODM should be treated as a possible starting point, and may need to be adjusted based on host environment variables.