Linux

MegaRAID 障害ディスク交換メモ!

[root@ESX:~] MegaCli -LDInfo -Lall -a0

Adapter 0 — Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 1.818 TB
Sector Size : 512
Is VD emulated : Yes
Mirror Data : 1.818 TB
State : Degraded
Strip Size : 64 KB
Number Of Drives : 2
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No

Virtual Drive: 1 (Target Id: 1)
Name :
RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0
Size : 465.25 GB
Sector Size : 512
Is VD emulated : No
Parity Size : 0
State : Optimal
Strip Size : 64 KB
Number Of Drives : 1
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No

 

Exit Code: 0x00

[root@ESX:~] MegaCli -PDList -aALL

Adapter #0

 

Enclosure Device ID: 252
Slot Number: 1
Drive’s position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 2
WWN: 50004cf211e64111
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Online, Spun Up
Device Firmware Level: 0001
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221102000000
Connected Port Number: 1(path0)
Inquiry Data: S38FJ9EH202657 ST2000LM003 HN-M201RAD 2BE10001
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :29C (84.20 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Enclosure Device ID: 252
Slot Number: 3
Drive’s position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 0
WWN: 50004cf210417020
Sequence Number: 3
Media Error Count: 281
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Failed
Device Firmware Level: 0001
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221100000000
Connected Port Number: 0(path0)
Inquiry Data: S321J9EG800913 ST2000LM003 HN-M201RAD 2BC10001
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 3.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :31C (87.80 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 3.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Exit Code: 0x00

[root@ESX:~] MegaCli -PDOffline -PhysDrv[252:3] -a0

Adapter: 0: EnclId-252 SlotId-3 state changed to OffLine.

Exit Code: 0x00

 

ディスク交換!

 

[root@ESX:~] MegaCli -PDList -aALL

Adapter #0

Enclosure Device ID: 252
Slot Number: 1
Drive’s position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 2
WWN: 50004cf211e64111
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Online, Spun Up
Device Firmware Level: 0001
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221102000000
Connected Port Number: 2(path0)
Inquiry Data: S38FJ9EH202657 ST2000LM003 HN-M201RAD 2BE10001
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :26C (78.80 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Enclosure Device ID: 252
Slot Number: 3
Drive’s position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 0
WWN: 5000c500bdd16509
Sequence Number: 1
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Unconfigured(good), Spun Up
Device Firmware Level: SDM1
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221100000000
Connected Port Number: 0(path0)
Inquiry Data: WDZG58B4ST2000LX001-1RG174 SDM1
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :23C (73.40 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Exit Code: 0x00

[root@ESX:~] MegaCli -PDGetMissing -aALL

Adapter 0 – Missing Physical drives

No. Array Row Size Expected
0 0 0 1907200 MB

Exit Code: 0x00

[root@ESX:~] MegaCli -PDReplaceMissing -PhysDrv[252:3] -Array0 -row0 -a0

Adapter: 0: Missing PD at Array 0, Row 0 is replaced.

Exit Code: 0x00

[root@ESX:~] MegaCli -PDRbld -Start -PhysDrv[252:3] -a0

Started rebuild progress on device(Encl-252 Slot-3)

Exit Code: 0x00

[root@ESX:~] MegaCli -PDList -aALL

Adapter #0

Slot Number: 1
Drive’s position: DiskGroup: 0, Span: 0, Arm: 1
Enclosure position: N/A
Device Id: 2
WWN: 50004cf211e64111
Sequence Number: 2
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Online, Spun Up
Device Firmware Level: 0001
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221102000000
Connected Port Number: 2(path0)
Inquiry Data: S38FJ9EH202657 ST2000LM003 HN-M201RAD 2BE10001
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :28C (82.40 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Enclosure Device ID: 252
Slot Number: 3
Drive’s position: DiskGroup: 0, Span: 0, Arm: 0
Enclosure position: N/A
Device Id: 0
WWN: 5000c500bdd16509
Sequence Number: 3
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 1.819 TB [0xe8e088b0 Sectors]
Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
Coerced Size: 1.818 TB [0xe8d00000 Sectors]
Sector Size: 0
Logical Sector Size: 0
Physical Sector Size: 0
Firmware state: Rebuild
Device Firmware Level: SDM1
Shield Counter: 0
Successful diagnostics completion on : N/A
SAS Address(0): 0x4433221100000000
Connected Port Number: 0(path0)
Inquiry Data: WDZG58B4ST2000LX001-1RG174 SDM1
FDE Capable: Not Capable
FDE Enable: Disable
Secured: Unsecured
Locked: Unlocked
Needs EKM Attention: No
Foreign State: None
Device Speed: 6.0Gb/s
Link Speed: 6.0Gb/s
Media Type: Hard Disk Device
Drive: Not Certified
Drive Temperature :25C (77.00 F)
PI Eligibility: No
Drive is formatted for PI information: No
PI: No PI
Port-0 :
Port status: Active
Port’s Linkspeed: 6.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

 

Exit Code: 0x00

[root@ESX:~] MegaCli -PDRbld -showprog -physdrv[252:3] -a0

Rebuild Progress on Device at Enclosure 252, Slot 3 Completed 0% in 2 Minutes.

Exit Code: 0x00

 

しばらく待って

 

[root@ESX:~] MegaCli -LDInfo -Lall -a0

Adapter 0 — Virtual Drive Information:
Virtual Drive: 0 (Target Id: 0)
Name :
RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0
Size : 1.818 TB
Sector Size : 512
Is VD emulated : Yes
Mirror Data : 1.818 TB
State : Optimal
Strip Size : 64 KB
Number Of Drives : 2
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No

Virtual Drive: 1 (Target Id: 1)
Name :
RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0
Size : 465.25 GB
Sector Size : 512
Is VD emulated : No
Parity Size : 0
State : Optimal
Strip Size : 64 KB
Number Of Drives : 1
Span Depth : 1
Default Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Cached, Write Cache OK if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy : Enabled
Encryption Type : None
Bad Blocks Exist: No
Is VD Cached: No

 

Exit Code: 0x00

 

楽天アフィリエイトのプラグインが死亡…

光輪サーバのPHPを上げないとWordPressがバージョンアップできないよ!
ってずーっと怒られてたので重い腰を上げてやっとこUpdateしたはいいものの…

楽天のアフィリエイトに使っていたプラグインが非対応に…
しかもプラグインファイルをちょこちょこ弄ってたら一覧にすら出てこなくなった(爆)

…と言うわけで、記事になんかアフィの痕跡が表示されてますが気にしない方向で…
この機会にアマゾンのアフィリエイトに申請してみました。
とりあえずプラグインを入れてみたものの、何やらAWSの認証がどうのこうの… えぇ? 困惑中 😆

2019/11/03 追記
なんかよーわからんけど、Amazonアフィの審査に落ちました(爆)
理由くらい説明してほしいけど、無理なんだろうねきっと。。。だったAmazonだもん…(ぇ

…と言う訳で、違う楽天のプラグインを入れてちょこっとレイアウト変えてみました。
まぁ、、、無いよりマシな程度しか意味はないけど。 🙄

リビングESXの内蔵HDDをRAIDカード経由に変更! その4

MegaRAIDのバッテリーを注文しておいたのですが、届いたので取り付けて性能がどれくらい変わるのか確認してみました。 😉


『LSI MegaRAID iBBU08 Battery + Cable set』

比較的安価な値段で流通しているようなのでサクっと注文してみました。

心なしか既に若干膨らんでいる様な気も… こういうもの?


取り付け前

取り付け後

バッテリーは長めのケーブルで接続するので、必ずしも基板上に設置する必要は無いかも…


取り付け前

取り付け後

PCIeスロットの横にあるHD Audioのピンヘッダと若干干渉気味だったので、ちょっと調整してなんとか装着完了… 😀


MegaCliコマンドでキャッシュを有効にします。 🙄

それでは、ベンチマークを計測してみましょう。

HDD バッテリー無し/キャッシュ無効 100MB

HDD バッテリー有り/キャッシュ有効 100MB

断然大違いですね… 😛 
これならスナップショット取得しても速度低下は抑えられそう…

実家用ESXサーバを作ろう その6

実家用ESXが動き始めて結構経ちますがものすごーく安定していて、リビングESXと比較するとその差が歴然…
KVMのケーブルを入手したのと、先日リビングESXのHDDケースを交換して元々のパーツが余っているので取り付けに行ってきました。 🙂


KVM接続ケーブルです。
USB-DVI-VGAとUSB-Keyboard&Mouse変換を繋げてレッツ接続! 😛 


こんな感じで、ESX上のゲストOSの画面が表示できました。
これなら言わないときっとゲストOSだってわからないかもしれない…


お次は、この無造作に置いてあるだけのHDDを綺麗にします… 😎


ついでにメモリも増設しておきましょう。


はい、一丁上がり!。パカっと空いてる5インチベイがアレですが、、、まぁ良いでしょう。 :mrgreen:


メモリもちゃんと増えてますね! 😀

Next »