Site Search

Joomla Templates and Joomla Extensions by JoomlaVision.Com

Latest Topics

Joomla Templates and Joomla Extensions by JoomlaVision.Com

[VMAX]VMAX Replication Technoledge - IBM Storage Line Product Counterparts 

[VMAX]VMAX Single Point of Failure - Engine 

[VMAX] Understand VMAX Virtualisation layers 

[VMAX]What is new with VMAX? 

[VMAX] EMC VMAX - Some Key Points about VMAX 

Pre 1 2 3 4 5 Next

You are here: Home UNIX AIX

[AIX] How to match AIX Hdisk number to Clariion Array LUN number?

PDFPrintE-mail

Run the lsattr command and evaluate the target_id and lun_id output.  Navisphere Manager displays for CLARiiON LUNs. After you use the AIX lsdev command to display the hdisks, execute the following lsattr command for each hdisk:

# lsattr -El hdisk0

clr_q no Device CLEARS its Queue on error True

max_transfer 0x40000 Maximum TRANSFER Size True

maxlun 31 BLOCK size True

pvid 0009270e766cc5d20000000000000000 Physical volume identifier False

q_err yes Use QERR bit True

q_type none Queuing TYPE True

queue_depth 1 Queue DEPTH True

reassign_to 120 REASSIGN time out value True

rw_timeout 30 READ/WRITE time out value True

start_timeout 60 START unit time out value True

#


For CLARiiON disks, lsattr displays information like the following:

# lsattr -El hdisk9

 

unit_id         29992700145-0 '    Array Serial Number-FLU' or WWN             False

max_transfer    0x40000            Maximum transfer size                       True

max_coalesce    0x20000            Maximum coalesce size                       True

pvid            none               Physical volume identifier                  False

clr_q           yes                Clear adapter queue on error                True

q_err           no                 Clear device queue on error                 True

q_type          simple             Tag for command queuing                     True

queue_depth     16                 Maximum device queue depth                  True

reserve_lock    no                 Issue SCSI reserve at startup               True

target_id       0                  SCSI/LOOP/ALPA ID of SP                     False  <--SP ID

lun_id          0                  Logical Unit Number (or VLU)                False  <-- LUN ID

parent          atf2               Real SP or ATF Parent Device                False

 

# lsattr -El hdisk10

unit_id         29992700145-1      'Array Serial Number-FLU' or WWN             False

max_transfer    0x40000            Maximum transfer size                        True

max_coalesce    0x20000            Maximum coalesce size                        True

pvid            none               Physical volume identifier                   False

clr_q           yes                Clear adapter queue on error                 True

q_err           no                 Clear device queue on error                  True

q_type          simple             Tag for command queuing                      True

queue_depth     16                 Maximum device queue depth                   True

reserve_lock    no                 Issue SCSI reserve at startup                True

target_id       1                  SCSI/LOOP/ALPA ID of SP                      False <-- SP ID

lun_id          1                  Logical Unit Number (or VLU)                 False <-- LUN ID

parent          atf2               Real SP or ATF Parent Device                 False

 

# lsattr -El hdisk11

 

unit_id         29992700145-3 'Array Serial Number-FLU' or WWN              False

max_transfer    0x40000 Maximum transfer size     True

max_coalesce    0x20000 Maximum coalesce                              True

pvid            none Physical volume identifier         False

clr_q           yes Clear adapter queue on error       True

q_err           no Clear device queue on error  True

q_type          simple Tag for command queuing                       True

queue_depth     16 Maximum device queue depth                    True

reserve_lock    no Issue SCSI reserve at startup              True

target_id       1 SCSI/LOOP/ALPA ID of SP                       False <-- SP ID

lun_id          2 Logical Unit Number (or VLU)                  False <-- LUN ID

parent          atf2 Real SP or ATF Parent Device             False


The target_id corresponds to the Storage Processor (SP) ID.
The lun_id corresponds to the LUN as presented to the host. The lun_id for hdisk9 is 0 (LUN 0), which is assigned to SP-A (target_id = 0). The associated LUN numbers (lun_ids) for hdisk10 and hdisk11 are 1 and 2, respectively. Both LUNs are assigned to SP-B (target_id = 1). For hdisk12, LUN number 4 (lun_id=4) is assigned to SP-A (target_id=0). These results can be compared to what Navisphere Manager displays for the corresponding array and Storage Group.