3Ware Disk Management (tw_cli) 、ホ・ミ・テ・ッ・「・テ・ラ(No.9)
- ・ミ・テ・ッ・「・テ・ラーヘ
- コケハャ 、ノスシィ
- クスコ゚、ネ、ホコケハャ 、ノスシィ
- ・ス。シ・ケ 、ノスシィ
- 3Ware Disk Management (tw_cli) 、リケヤ、ッ。」
- 1 (2013-03-31 (ニ) 23:01:29)
- 2 (2013-03-31 (ニ) 23:10:59)
- 3 (2013-04-02 (イミ) 00:11:58)
- 4 (2013-04-22 (キ) 23:58:21)
- 5 (2013-05-10 (カ) 10:18:01)
- 6 (2013-07-21 (ニ) 15:42:18)
- 7 (2014-03-16 (ニ) 12:53:17)
- 8 (2015-05-05 (イミ) 14:56:51)
- 9 (2015-07-06 (キ) 20:51:41)
- 10 (2015-11-22 (ニ) 15:36:22)
- 11 (2016-12-23 (カ) 22:40:02)
- 12 (2017-05-11 (フレ) 00:23:33)
- 13 (2020-03-17 (イミ) 02:40:52)
- 14 (2020-04-23 (フレ) 21:50:06)
- 15 (2021-01-10 (ニ) 00:49:21)
フワシ。
セハノスシィ †
info †
・キ・ケ・ニ・狠エツホ、ホセハノスシィ †
ハ」ソ、ホ・ウ・・ネ・。シ・鬢ャツクコ゚、ケ、セケ遉簔エ、ニノスシィ、オ、、
# tw_cli info Ctl Model (V)Ports Drives Units NotOpt RRate VRate BBU ------------------------------------------------------------------------ c7 9690SA-8I 7 7 1 1 1 1 - c8 9650SE-4LPML 4 4 1 0 1 1 -
・ウ・・ネ・。シ・鬢ホセハノスシィ †
# tw_cli info c7 Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-10 REBUILDING 31% - 64K 2095.44 ON ON VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 OK u0 698.63 GB SATA 0 - Hitachi HTS727575A9 p1 OK u0 698.63 GB SATA 4 - Hitachi HTS727575A9 p2 OK u0 698.63 GB SATA 1 - Hitachi HTS727575A9 p3 OK u0 698.63 GB SATA 2 - Hitachi HTS727575A9 p4 OK u0 698.63 GB SATA 3 - Hitachi HTS727575A9 p5 DEGRADED u0 698.63 GB SATA 5 - Hitachi HTS727575A9 p6 OK u? 698.63 GB SATA 6 - Hitachi HTS727575A9
・讌ヒ・テ・ネ、ホセハノスシィ †
# tw_cli info c7 u0 Unit UnitType Status %RCmpl %V/I/M VPort Stripe Size(GB) ------------------------------------------------------------------------ u0 RAID-10 REBUILDING 31% - - 64K 2095.44 u0-0 RAID-1 INITIALIZING 36% - - - - u0-0-0 DISK OK - - p0 - 698.481 u0-0-1 DISK OK - - p1 - 698.481 u0-1 RAID-1 REBUILDING 34% - - - - u0-1-0 DISK DEGRADED - - p5 - 698.481 u0-1-1 DISK OK - - p2 - 698.481 u0-2 RAID-1 INITIALIZING 25% - - - - u0-2-0 DISK OK - - p3 - 698.481 u0-2-1 DISK OK - - p4 - 698.481 u0/v0 Volume - - - - - 2095.44
show †
チエ、ニ、ホセハ、ノスシィ †
# tw_cli /c7 show all /c7 Driver Version = 2.27.08.036 /c7 Model = 9690SA-8I /c7 Available Memory = 448MB /c7 Firmware Version = FH9X 4.04.00.016 /c7 Bios Version = BE9X 4.04.00.003 /c7 Boot Loader Version = BL9X 3.08.00.001 /c7 Serial Number = ********** /c7 PCB Version = Rev 041 /c7 PCHIP Version = 2.00 /c7 ACHIP Version = 1501290D /c7 Controller Phys = 8 /c7 Connections = 7 of 128 /c7 Drives = 7 of 128 /c7 Units = 1 of 128 /c7 Active Drives = 6 of 128 /c7 Active Units = 1 of 32 /c7 Max Drives Per Unit = 32 /c7 Total Optimal Units = 0 /c7 Not Optimal Units = 1 /c7 Disk Spinup Policy = 1 /c7 Spinup Stagger Time Policy (sec) = 1 /c7 Auto-Carving Policy = off /c7 Auto-Carving Size = 2048 GB /c7 Auto-Rebuild Policy = on /c7 Rebuild Rate = 1 /c7 Verify Rate = 1 /c7 Controller Bus Type = PCIe /c7 Controller Bus Width = 8 lanes /c7 Controller Bus Speed = 2.5 Gbps/lane Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-10 REBUILDING 32% - 64K 2095.44 ON ON VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 OK u0 698.63 GB SATA 0 - Hitachi HTS727575A9 p1 OK u0 698.63 GB SATA 4 - Hitachi HTS727575A9 p2 OK u0 698.63 GB SATA 1 - Hitachi HTS727575A9 p3 OK u0 698.63 GB SATA 2 - Hitachi HTS727575A9 p4 OK u0 698.63 GB SATA 3 - Hitachi HTS727575A9 p5 DEGRADED u0 698.63 GB SATA 5 - Hitachi HTS727575A9 p6 OK u? 698.63 GB SATA 6 - Hitachi HTS727575A9
タ゚ト †
・ウ・・ネ・。シ・魘ノヘ †
・ミ・テ・ッ・ー・鬣ヲ・・ノス靉タ゚ト遙ハ・・モ・・ノ。ヒ †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 set rebuild=[1。チ5]
1 | Fastest I/O |
5 | Fastest Rebuild |
- ニホマホ
# tw_cli /c2 set rebuild=5 Setting Rebuild task rate on /c2 to [5] (Fastest Rebuild) ... Done.
・ミ・テ・ッ・ー・鬣ヲ・・ノス靉タ゚ト遙ハ・ル・・ユ・。・、。ヒ †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 set verify=[1。チ5]
1 | Fastest I/O |
5 | Fastest Rebuild |
- ニホマホ
# tw_cli /c2 set verify=5 Setting Verify task rate on /c2 to [5] (Fastest Verify) ... Done.
・「・・、エノヘ †
・キ・・ー・・ノ・鬣、・ヨ、ホコタョ †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 add type=single disk=[・ヌ・」・ケ・ッネヨケ訃 name=[・「・・、フセ]
- ニホマホ
# tw_cli > /c5 add type=single disk=0 name=SINGLE01 Creating new unit on controller /c5 ... Done. The new unit is /c5/u1. Naming unit /c5/u1 to [SINGLE01] ... Done. Setting default Storsave policy to [balance] for the new unit ... Done. Setting default Command Queuing policy for unit /c5/u1 to [on] ... Done. Setting write cache = ON for the new unit ... Done. Warning: You do not have a battery backup unit for /c5/u1 and the enabled write cache (default) may cause data loss in the event of power failure.
RAID1・「・・、、ホタ゚ト †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 add type=Raid1 disk=[・ヌ・」・ケ・ッネヨケ訃:[・ヌ・」・ケ・ッネヨケ訃 autoverify name=[・「・・、フセ]
- ニホマホ
# tw_cli > /c5 add type=Raid1 disk=1:2 autoverify name=RAID1 Creating new unit on controller /c5 ... Done. The new unit is /c5/u0. Naming unit /c5/u0 to [RAID1] ... Done. Setting AutoVerify=ON for the new unit ... Done. Setting default Storsave policy to [balance] for the new unit ... Done. Setting default Command Queuing policy for unit /c5/u0 to [on] ... Done. Setting write cache = ON for the new unit ... Done. Warning: You do not have a battery backup unit for /c5/u0 and the enabled write cache (default) may cause data loss in the event of power failure.
RAID1・「・・、、ホコス †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃/[・讌ヒ・テ・ネネヨケ訃 del noscan
- ニホマホ
# tw_cli /c2/u1 del noscan Deleting /c2/u1 will cause the data on the unit to be permanently lost. Do you want to continue ? Y|N [N]: y Deleting unit c2/u1 ...Done.
・ケ・レ・「・ヌ・」・ケ・ッ、ホタ゚ト †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 add type=spare disk=[・ヌ・」・ケ・ッネヨケ訃
- ニホマホ罍ハ・ウ・・ネ・。シ・7、ヒ・ヌ・」・ケ・ッ7、・ケ・レ・「、ネ、キ、ニタ゚ト遙ヒ
# tw_cli > /c7 add type=spare disk=7 Creating new unit on controller /c7 ... Done. The new unit is /c7/u1. WARNING: This Spare unit may replace failed drive of same interface type only.
- キイフウホヌァ
> /c7 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-10 OK - - 64K 2095.44 ON ON u1 SPARE OK - - - 698.629 - OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 OK u0 698.63 GB SATA 0 - Hitachi HTS727575A9 p1 OK u0 698.63 GB SATA 4 - Hitachi HTS727575A9 p2 OK u0 698.63 GB SATA 1 - Hitachi HTS727575A9 p3 OK u0 698.63 GB SATA 2 - Hitachi HTS727575A9 p4 OK u0 698.63 GB SATA 3 - Hitachi HTS727575A9 p5 OK u0 698.63 GB SATA 5 - Hitachi HTS727575A9 p7 OK u1 698.63 GB SATA 6 - Hitachi HTS727575A9
・・モ・・ノ、ホシツケヤ †
- スシー
[・ウ・・ネ・。シ・鯤ヨケ訃 start rebuild disk=[・ヌ・」・ケ・ッネヨケ訃
- ニホマホ罍ハ・ウ・・ネ・。シ・5、ヒ・ヌ・」・ケ・ッ0、・讌ヒ・テ・ネ0、ヒトノイテ、キ、ニ・・モ・・ノ。ヒ
# tw_cli > /c5/u0 start rebuild disk=0 Sending rebuild start request to /c5/u0 on 1 disk(s) [0] ... Done.
・ヌ・」・ケ・ッエノヘ †
・ヌ・」・ケ・ッ、ホシ隍ウー、キ †
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃/[・ヌ・」・ケ・ッネヨケ訃 remove
- ニホマホ
# tw_cli > /c7/p6 remove Removing /c7/p6 will take the disk offline. Do you want to continue ? Y|N [N]: y Removing port /c7/p6 ... Done.
・ノ・鬣、・ヨ、ホク。スミ †
タワツウ、キ、ソHDD、ク。スミ、ケ、コン、ホチ犲。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 rescan
- ニホマホ
# tw_cli >/c5 rescan Rescanning controller /c5 for units and drives ...Done. Found the following unit(s): [none]. Found the following drive(s): [none].
・ル・・ユ・。・、。ハauto verify。ヒ †
トエナェ、ハシォニー・ル・・ユ・。・、、ホタ゚ト遙」
ツ醢ニホフ、ハ・「・・、、ヒ、ハ、、ロ、ノトフセ、マ・「・ッ・サ・ケ、オ、、ハ、、ホホー隍ャチ、ィ。「・ヌ・」・ケ・ッ・ィ・鬘シ、ャク。テホ、オ、、ヒ、ッ、ッ、ハ、、ウ、ネ、ォ、鬘「スオ1イトナル、ホシォニー・ル・・ユ・。・、、ケヤ、ヲ、ウ、ネ、ャソ萓ゥ、オ、、ニ、、、。」
シォニー・ル・・ユ・。・、、ホタ゚トセカキウホヌァ †
AVrfyホ、ャON、ホセケ遑「・ル・・ユ・。・、、マシォニーシツケヤ、オ、、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 show
- ニホマホ
# tw_cli /c6 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-5 VERIFY-PAUSED - 95% 256K 9313.17 ON ON u1 RAID-10 VERIFY-PAUSED - 50% 256K 1396.96 ON ON u2 SPARE OK - - - 1863.01 - OFF
シォニー・ル・・ユ・。・、、ホシツケヤ・ケ・ア・ク・蝪シ・ウホヌァ †
シォニー・ル・・ユ・。・、ヘム、ホタ゚ト・ケ・・テ・ネ、ャ7、トヘムーユ、オ、、ニ、ェ、遙「ヘュク/フオク、ネシツケヤサエヨ、ャトオチ、オ、、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 show verify
- ニホマホ
# tw_cli /c6 show verify Verify Schedule for Controller /c6 ======================================================== Slot Day Hour Duration AdvVerify -------------------------------------------------------- 1 Sun 1:00am 6 hr(s) on 2 Mon 1:00am 6 hr(s) on 3 Tue 1:00am 6 hr(s) on 4 Wed 1:00am 6 hr(s) on 5 Thu 1:00am 6 hr(s) on 6 Fri 1:00am 6 hr(s) on 7 Sat 1:00am 6 hr(s) on
シォニー・ル・・ユ・。・、、ホシツケヤ・ケ・ア・ク・蝪シ・、ホトノイテ †
・ケ・・テ・ネ、マシ翳ヨ、ォ、鮠ォニーナェ、ヒヒ荀皃鬢、、ソ、癸「ヌ、ーユ、ホ・ケ・・テ・ネID、ノユ、ア、、ソ、皃ヒ、マ。「ナミマソ、ネコス、キォ、ハヨ、キ、ニヒ荀皃ノャヘラ、ャ、「、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 add verify=[ヘヒニ]:[ウォサマサ]:[キムツウサエヨ]
- ニホマホ
# tw_cli /c1 add verify=Sun:12:24 Adding scheduled verify to slot 1 for [Sun, 12:00PM, 24hr(s)] ... Done.
セ蠏ュ、ホニホマホ网ホセケ遑「ニヘヒニ 12:00、隍24サエヨ、ホエヨ、ヌシツケヤ、ネ、ハ、。」
- タ゚トキイフ
# tw_cli /c1 show verify Verify Schedule for Controller /c1 ======================================================== Slot Day Hour Duration Status -------------------------------------------------------- 1 Sun 12:00pm 24 hr(s) enabled 2 - - - enabled 3 - - - enabled 4 - - - enabled 5 - - - enabled 6 - - - enabled 7 Sat 12:00am 24 hr(s) enabled
シォニー・ル・・ユ・。・、、ホシツケヤ・ケ・ア・ク・蝪シ・、ホコス †
シォニーシツケヤ・ケ・ア・ク・蝪シ・、コス、ケ、、ヒ、マ。「ーハイシ、ホ・ウ・゙・・ノ、シツケヤ、ケ、。」
セー。「Auto Verify、ャヘュクイス、オ、、ニ、、、セケ遉ヒ、マ。「コヌト1、ト、マ・ソ・ケ・ッ、ャノャヘラ、ヌ、「、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 del verify=[・ケ・・テ・ネID]
- ニホマホ
# tw_cli /c6 del verify=6 Removing scheduled verify slot [6]... Done.
・ウ・・ネ・。シ・鬢ホシォニー・ル・・ユ・。・、、ヘュクイス †
・ウ・・ネ・。シ・鬢ホシォニー・ル・・ユ・。・、、ヘュクイス、ケ、、ヒ、マ。「ーハイシ、ホ・ウ・゙・・ノ、シツケヤ、ケ、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃 set verify=enable
- ニホマホ
# tw_cli /c1 set verify=enable Enabling scheduled verifies on controller /c1 ... Done.
・讌ヒ・テ・ネ。ハ・「・・、。ヒ、ホシォニー・ル・・ユ・。・、、ヘュクイス †
・讌ヒ・テ・ネ、ホシォニー・ル・・ユ・。・、、ヘュクイス、ケ、、ヒ、マ。「ーハイシ、ホ・ウ・゙・・ノ、シツケヤ、ケ、。」
- スシー
/[・ウ・・ネ・。シ・鯤ヨケ訃/[・讌ヒ・テ・ネネヨケ訃 set autoverify=on
- ニホマホ
# tw_cli /c1/u0 set autoverify=on Setting Auto-Verify Policy on /c1/u0 to [on] ... Done.
、ス、ホツセ †
・ィ・鬘シツミス †
・ウ・゙・・ノ、ホシツケヤサ、ヒ・ィ・鬘シ、ャネッタク、キ、ソセケ遉ホツミス靆ヒ。。」
Failed to notify OS of unit change †
- セカキ
ESXi 5.5、ヒ、ニadd。「del、ホ・ウ・゙・・ノ、シツケヤ、キ、ソコン、ヒネッタク。」。ハ2015/05/05。ヒ
- ツミス
・ウ・゙・・ノシツケヤサ、ヒnoscan・ェ・ラ・キ・逾、ノユ、ア、、ウ、ネ、ヌイセテ。」
- ・「・・、コス
# ./tw_cli /c1/u1 del noscan Deleting /c1/u1 will cause the data on the unit to be permanently lost. Do you want to continue ? Y|N [N]: y Deleting unit c1/u1 ...Done.
- ・「・・、コス
- ・「・・、トノイテ
# ./tw_cli /c1 add type=Raid0 disk=6:7 noscan name=test01 Creating new unit on controller /c1 ... Done. The new unit is /c1/u1. Naming unit /c1/u1 to [test01] ... Done. Setting default Storsave policy to [balance] for the new unit ... Done. Setting default Command Queuing policy for unit /c1/u1 to [on] ... Done. Setting write cache = ON for the new unit ... Done. Warning: You do not have a battery backup unit for /c1/u1 and the enabled write cache (default) may cause data loss in the event of power failure.