Specifications
Understanding h
disk-to-LUN assignments
The IBM AIX cfgm
gr command configures storage units, making them available for use.
The hdisks assi
gned to the HSG80 RAID array are in sequence with the defined LUNs. This sequence
can be interrup
ted by other devices that were defined previously by the IBM AIX system software. For
example, hdisk4 through hdisk8 can be assigned to LUNs D1 through D5, hdisk9 can be another SCSI
device, and hdisk10 through hdisk16 can be assigned to LUNs D6 through D12.
LUNs are not req
uired to be created sequentially. For example, you can create LUNs D1, D4, D6,
and D12. The first hdisk is assigned to the first LUN, (in this case, hdisk4 to LUN D1), and the other
assignments will follow sequentially (hdisk5 to D4, hdisk6 to D6, and hdisk7 to D12). If another LUN,
D3, is added after the previously defined LUNs are configured, the sequence mapping is disrupted
and hdisk8 is assigned to D3.
Listing the hdisks
List the hdisks by entering the # lsdev –Cc disk command.
In this example, hdisk5 shows a series of numbers 2D-08-00-0,1.Thefirsttwonumbers,2D-08 are
associated with the HBA. The last 2 numbers, 0,1 are the target LUN designations.
# lsdev -Cc disk
hdisk0 Available 10-60-00-8,0 16 Bit SCSI Disk Drive
hdisk1 Available 30-78-00-1,0 Other SCSI Disk Drive
hdisk5 Available 2D-08-00-0,1 Other SCSI Disk Drive
Show units
List the units created on the RAID storage system by entering the CLI SHOW UNITS command. This
requires a
serial connection to the HSG80 storage system.
HSG_CONTR
OL> SHOW UNITS
LUN Uses Us
ed by
---------
------------------------------------------------------
D1 DISK100
00
D2 DISK200
00
D4 DISK3000
0
D5 DISK3010
0
D6 DISK5030
0
D7 DISK3030
0
D8 DISK4010
0
Show association
List the association of hdisks to RAID storage units using the Secure Path utility, /usr/cbxfc/cbxfcsm
listall. In the following example, scsi2 and scsi3 aretheHBAsforSecurePath.Thefirstnumber
(0) is the target designation and the second number is the LUN.
# /usr/cbxfc/cbxfcsm listall
# Device Online Alternate
hdisk4 scsi3 0,0 scsi2 0,0
hdisk5 scsi3 0,1 scsi2 0,1
hdisk6 scsi3 0,2 scsi2 0,2
hdisk7 scsi3 0,4 scsi2 0,4
hdisk8 scsi3 0,5 scsi2 0,5
hdisk9 scsi3 0,7 scsi2 0,7
hdisk10 scsi3 0,8 scsi2 0,8
hdisk11 scsi3 0,10 scsi2 0,10
hdisk12 scsi3 0,6 scsi2 0,6
10