Commands and options including a host group – HP XP P9500 Storage User Manual
Page 194

#dev_group dev_name port# TargetID LU# MU#
ORA ORA_000 CL2-D-
1 4 1 0
ORA ORA_001 CL2-D-
1 4 2 0
If the port including a host group is specified to the port name, then a maximum of 255 LUNs can
be specified.
(2) Specifiable port strings
As a result, RAID Manager supports four kinds of forms for the port name.
•
Specifying the port name without a host group
CL1-A
CL1-An where n: unit ID for multiple RAID
•
Specifying the port name with a host group
CL1-A-g where g: host group
CL1-An-g where n-g: host group=g on CL1-A in unit ID=n
Commands and options including a host group
(1) Specifiable command for host group
The following commands can specify a host group with the port strings:
•
raidscan -p
# raidscan -p
CL2-D-1
PORT# /ALPA/C,TID#,LU#.Num(LDEV#....)...P/S, Status,Fence,LDEV#,P-Seq#,P-LDEV#
CL2-D-
1 /da/ 0, 4, 0.1(256)...........SMPL ---- ------ ----, ----- ----
CL2-D-
1 /da/ 0, 4, 1.1(257)...........SMPL ---- ------ ----, ----- ----
CL2-D-
1 /da/ 0, 4, 2.1(258)...........SMPL ---- ------ ----, ----- ----
(2) Command option including a host group
RAID Manager supports new option for the following commands in order to show a LUN on the
host view by finding a host group via the specified device.
•
raidscan -pdg
# raidscan -pd
g /dev/rdsk/c57t4d1
PORT# /ALPA/C,TID#,LU#.Num(LDEV#....)...P/S, Status,Fence,LDEV#,P-Seq#,P-LDEV#
CL2-D-
1 /da/ 0, 4, 0.1(256)...........SMPL ---- ------ ----, ----- ----
CL2-D-
1 /da/ 0, 4, 1.1(257)...........SMPL ---- ------ ----, ----- ----
CL2-D-
1 /da/ 0, 4, 2.1(258)...........SMPL ---- ------ ----, ----- ----
Specified device(hgrp=1) is LDEV# 0257
•
raidscan -findg
# ls /dev/rdsk/c57* | raidscan -
findg
DEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID
/dev/rdsk/c57t4d0 0 F CL2-D-
1 4 0 62500 256 OPEN3-CVS-CM
/dev/rdsk/c57t4d1 0 F CL2-D-
1 4 1 62500 257 OPEN3-CVS
/dev/rdsk/c57t4d2 0 F CL2-D-
1 4 2 62500 258 OPEN3-CVS
•
raidscan -findg conf, mkconf -gg
# ls /dev/rdsk/c57* | raidscan -find
g conf 0 -g ORA
HORCM_DEV
#dev_group dev_name port# TargetID LU# MU#
# /dev/rdsk/c57t4d1 SER = 62500 LDEV = 257 [ FIBRE FCTBL = 4 ]
ORA ORA_000 CL2-D-
1 4 1 0
# /dev/rdsk/c57t4d2 SER = 62500 LDEV = 258 [ FIBRE FCTBL = 4 ]
ORA ORA_001 CL2-D-
1 4 2 0
•
inqraid -fg
194
Examples of using RAID Manager commands