tw_cli 들어가기
tw_cli
tw_cli 정보보기
[root@db ~]# tw_cli info
Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU
------------------------------------------------------------------------
c0 9690SA-4I4E 4 4 2 1 1 1 -
------------------------------------------------------------------------
c0 9690SA-4I4E 4 4 2 1 1 1 -
tw_clo 정보 보기 (c0의...)
tw_cli info c0
[root@db ~]# tw_cli info c0
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-1 OK - - - 931.312 W OFF
u1 RAID-1 REBUILD-PAUSED 0% - - 111.748 OFF OFF
------------------------------------------------------------------------------
u0 RAID-1 OK - - - 931.312 W OFF
u1 RAID-1 REBUILD-PAUSED 0% - - 111.748 OFF OFF
VPort Status Unit Size Type Phy Encl-Slot Model
------------------------------------------------------------------------------
p0 OK u0 931.51 GB SATA 0 - Hitachi HDS721010CL
p1 OK u0 931.51 GB SATA 1 - Hitachi HDS721010CL
p2 DEGRADED u1 111.79 GB SATA 2 - INTEL SSDSA2CW120G3
p3 OK u1 111.79 GB SATA 3 - Samsung SSD 840 Ser
------------------------------------------------------------------------------
p0 OK u0 931.51 GB SATA 0 - Hitachi HDS721010CL
p1 OK u0 931.51 GB SATA 1 - Hitachi HDS721010CL
p2 DEGRADED u1 111.79 GB SATA 2 - INTEL SSDSA2CW120G3
p3 OK u1 111.79 GB SATA 3 - Samsung SSD 840 Ser
dpmstat를 on
tw_cli /c0 set dpmstat=on
dmpstat를 보기
tw_cli set cache c0 u0 on
[root@two ~]# tw_cli /c0 show dpmstat
Drive Performance Monitor Configuration for /c0 ...
Performance Monitor: ON
Version: 1
Max commands for averaging: 100
Max latency commands to save: 10
Requested data: Instantaneous Drive Statistics
Drive Performance Monitor Configuration for /c0 ...
Performance Monitor: ON
Version: 1
Max commands for averaging: 100
Max latency commands to save: 10
Requested data: Instantaneous Drive Statistics
Queue Xfer Resp
Port Status Unit Depth IOPs Rate(MB/s) Time(ms)
------------------------------------------------------------------------
p0 OK u0 2 85 0.327 6
p1 OK u0 2 88 0.337 6
p2 OK u1 3 324 7.984 0
p3 OK u1 2 123 4.166 0
Port Status Unit Depth IOPs Rate(MB/s) Time(ms)
------------------------------------------------------------------------
p0 OK u0 2 85 0.327 6
p1 OK u0 2 88 0.337 6
p2 OK u1 3 324 7.984 0
p3 OK u1 2 123 4.166 0
tw_cli /c0 show memory (512MB cache의 경우...)
[root@db ~]# tw_cli /c0 show memory
/c0 Available Memory = 448MB
/c0 Available Memory = 448MB
연결속도 보기
tw_cli /c0 show phy
[root@two ~]# tw_cli /c0 show phy
Device --- Link Speed (Gbps) ---
Phy SAS Address Type Device Supported Enabled Control
-----------------------------------------------------------------------------
phy0 500050e000037562 SATA /c0/p0 1.5-3.0 3.0 Auto
phy1 500050e000037562 SATA /c0/p1 1.5-3.0 3.0 Auto
phy2 500050e000037562 SATA /c0/p2 1.5-3.0 3.0 Auto
phy3 500050e000037562 SATA /c0/p3 1.5-3.0 3.0 Auto
phy4 - - - 1.5-3.0 - Auto
phy5 - - - 1.5-3.0 - Auto
phy6 - - - 1.5-3.0 - Auto
phy7 - - - 1.5-3.0 - Auto
Phy SAS Address Type Device Supported Enabled Control
-----------------------------------------------------------------------------
phy0 500050e000037562 SATA /c0/p0 1.5-3.0 3.0 Auto
phy1 500050e000037562 SATA /c0/p1 1.5-3.0 3.0 Auto
phy2 500050e000037562 SATA /c0/p2 1.5-3.0 3.0 Auto
phy3 500050e000037562 SATA /c0/p3 1.5-3.0 3.0 Auto
phy4 - - - 1.5-3.0 - Auto
phy5 - - - 1.5-3.0 - Auto
phy6 - - - 1.5-3.0 - Auto
phy7 - - - 1.5-3.0 - Auto
캐쉬가 켜져 있는지 여부를 보기
tw_cli /c0/u0 show cache
tw_cli /c0/u0 show wrcache
[root@db ~]# tw_cli /c0/u0 show cache
/c0/u0 Write Cache = on
tw_cli /c0/u0 show wrcache
[root@db ~]# tw_cli /c0/u0 show cache
/c0/u0 Write Cache = on
[root@db ~]# tw_cli /c0/u0 show wrcache
/c0/u0 Write Cache = on
/c0/u0 Write Cache = on
- to be continue -
/cx/ux set cache=<on|off> [quiet]
/cx/ux set wrcache=<on|off> [quiet]
°ÅÀÇ Àüü¸¦ CLI·Î ¼ÂÆÃÇϽô±º¿ä.
½® ¼¼´ë¶ó ±×°Ô ´õ ÆíÇϱ¸¿ä.