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 <port#>, raidar -p <port#>, raidvchkscan -p <port#>
# 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,
-----
CL2-D-1 /da/ 0,
-----
CL2-D-1 /da/ 0,
-----
(2) Command option including a host group
CCI 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 <device>, raidar -pdg <device>, raidvchkscan -pdg
<device>
# raidscan -pdg /dev/rdsk/c57t4d1
PORT# /ALPA/C,TID#,LU#.Num(LDEV#....)...P/S,
Status,Fence,LDEV#,P-Seq#,P-LDEV#
CL2-D-1 /da/ 0,
-----
CL2-D-1 /da/ 0,
-----
CL2-D-1 /da/ 0,
-----
Specified device(hgrp=1) is LDEV# 0257
•
raidscan -findg
# ls /dev/rdsk/c57* | raidscan -findg
DEVICE_FILE
PRODUCT_ID
/dev/rdsk/c57t4d0
OPEN3-CVS-CM
/dev/rdsk/c57t4d1
OPEN3-CVS
/dev/rdsk/c57t4d2
OPEN3-CVS
•
raidscan -findg conf, mkconf -gg
# ls /dev/rdsk/c57* | raidscan -findg conf 0 -g ORA
HORCM_DEV
4,
0.1(256)...........SMPL
----
4,
1.1(257)...........SMPL
----
4,
2.1(258)...........SMPL
----
4,
0.1(256)...........SMPL
----
4,
1.1(257)...........SMPL
----
4,
2.1(258)...........SMPL
----
UID
0
0
0
Examples of using CCI commands
Command Control Interface User and Reference Guide
S/F PORT
TARG
LUN
F
CL2-D-1
4
F
CL2-D-1
4
F
CL2-D-1
4
----
------ ----,
----
------ ----,
----
------ ----,
----
------ ----,
----
------ ----,
----
------ ----,
SERIAL
LDEV
0
62500
256
1
62500
257
2
62500
258
8-15