Hitachi MK-90RD011-25 Computer Drive User Manual


 
Hitachi Command Control Interface (CCI) User and Reference Guide 321
4.20.2 Commands and Options Including a Host Group
(1) Specifiable command for host group
The following commands are able to 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, 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) New 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, 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 -findg 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
# ls /dev/rdsk/c57* | ./inqraid -CLI -fg
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
c57t4d0 CL2-D-1 62500 256 - - - - OPEN-3-CVS-CM
c57t4d1 CL2-D-1 62500 257 - s/P/ss 0005 1:01-02 OPEN-3-CVS
c57t4d2 CL2-D-1 62500 258 - s/P/ss 0005 1:01-02 OPEN-3-CVS