MegaCli64を使用してRAID0を復元する方法は? [閉鎖]

MegaCli64を使用してRAID0を復元する方法は? [閉鎖]

2つのSSDで構成されたRAID0ドライブがあります。誤ってSSDを取り外してすぐに再挿入しました。データをどのように回復できますか?

再挿入したディスクを良好にマークし、外部状態を消去しました。しかし、RAIDグループに再追加する方法がわかりません。再挿入されたディスク情報:

Enclosure Device ID: 12
Slot Number: 23
Enclosure position: 1
Device Id: 30
WWN: 5002538e4062d3d4
Sequence Number: 7
Media Error Count: 0
Other Error Count: 0
Predictive Failure Count: 0
Last Predictive Failure Event Seq Number: 0
PD Type: SATA

Raw Size: 3.638 TB [0x1d1c0beb0 Sectors]
Non Coerced Size: 3.637 TB [0x1d1b0beb0 Sectors]
Coerced Size: 3.637 TB [0x1d1b00000 Sectors]
Sector Size:  512
Logical Sector Size:  512
Physical Sector Size:  512
Firmware state: Unconfigured(good), Spun Up
Device Firmware Level: 1B6Q
Shield Counter: 0
Successful diagnostics completion on :  N/A
SAS Address(0): 0x5003048018219027
Connected Port Number: 0(path0)
Inquiry Data: S3YSNB0K800520R     Samsung SSD 860 EVO 4TB                 RVT01B6Q
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: 12.0Gb/s
Media Type: Solid State Device
Drive:  Not Certified
Drive Temperature :28C (82.40 F)
PI Eligibility:  No
Drive is formatted for PI information:  No
PI: No PI
Drive's NCQ setting : Enabled
Port-0 :
Port status: Active
Port's Linkspeed: 12.0Gb/s
Drive has flagged a S.M.A.R.T alert : No

以下はRAID0に関する情報です。

DISK GROUP: 3
Number of Spans: 1
SPAN: 0
Span Reference: 0x04
Number of PDs: 2
Number of VDs: 1
Number of dedicated Hotspares: 0
Virtual Drive Information:
Virtual Drive: 4 (Target Id: 4)
Name                :
RAID Level          : Primary-0, Secondary-0, RAID Level Qualifier-0
Size                : 7.276 TB
Sector Size         : 512
Is VD emulated      : No
Parity Size         : 0
State               : Offline
Strip Size          : 256 KB
Number Of Drives    : 2
Span Depth          : 1
Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU
Default Access Policy: Read/Write
Current Access Policy: Read/Write
Disk Cache Policy   : Disk's Default
Encryption Type     : None
Bad Blocks Exist: No
PI type: No PI

ベストアンサー1

次のトリックを使用してこの問題を解決しました。https://serverfault.com/a/779381。著者はこう言います。

データを回復する方法があります。以前と同じパラメータを使用してRAID 0を再生成し、アレイを初期化するように求められたら、「いいえ」と言うだけです。

再挿入した物理ドライブを良好としてマーク

MegaCli64 -PDMakeGood -PhysDrv [12:23] -aALL

外国の国旗を消去する:

MegaCli64 -CfgForeign -Clear -aALL

元のRAID 0仮想ドライブを削除します(私の場合は仮想ドライブ4)。

MegaCli64 -CfgLdDel -L4 -a0

同じ構成を使用して RAID 0 ドライブを再作成します。

MegaCli64 -CfgLdAdd -r0 [12:12,12:23] WB Direct -a0

おすすめ記事