
두 개의 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을 다시 생성하고 어레이 초기화를 묻는 메시지가 표시되면 NO라고 말하면 됩니다.
다시 삽입된 물리적 드라이브를 양호한 것으로 표시
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