storcli64 未导入之前已脱机的磁盘的外部 dg

storcli64 未导入之前已脱机的磁盘的外部 dg

我在 Linux 上的 AVAGO MegaRAID SAS 9361-8i 上经历了几分钟内一系列奇怪的磁盘“故障”。在此期间,热备用驱动器从未启动。忽略几个不相关的 JBOD 驱动器(看起来没问题),定义的 DG 是 RAID6。当第三个磁盘发生故障时,DG 被脱机。由于磁盘一起发生故障的速度如此之快,我怀疑它们不是真正的问题。我想也许我可以尝试恢复 DG。

我重新启动了设备,现在磁盘被标记为“外部”:

Drive Information :
=================

-----------------------------------------------------------------------------------
EID:Slt DID State DG     Size Intf Med SED PI SeSz Model                   Sp Type 
-----------------------------------------------------------------------------------
23:0     24 GHS   -  3.637 TB SATA HDD N   N  512B WDC WD4000FYYZ-01UL1B1  D  -    
23:1     31 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:2     25 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:3     30 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:4     26 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:5     29 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L0  U  -    
23:6     27 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:7     33 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:8     28 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:9     32 UGood F  3.637 TB SATA HDD N   N  512B WDC WD4000F9YZ-09N20L1  U  -    
23:10    42 JBOD  -  3.638 TB SATA HDD N   N  512B WDC WD40EFRX-68N32N0    U  -    
23:11    41 JBOD  -  3.638 TB SATA HDD N   N  512B WDC WD40EFZX-68AWUN0    U  -    
23:18    39 JBOD  -  1.819 TB SATA HDD N   N  512B Hitachi HDS722020ALA330 U  -    
23:23    40 JBOD  -  3.638 TB SATA HDD N   N  512B WDC WD40EFZX-68AWUN0    U  -    
-----------------------------------------------------------------------------------

请注意,我不知道为什么它们被标记为“外部”;我没有移动、添加或删除任何磁盘。

预览:

# /opt/MegaRAID/storcli/storcli64 /c0/fall import preview
CLI Version = 007.1705.0000.0000 Mar 31, 2021
Operating system = Linux 3.10.0-1160.25.1.el7.x86_64
Controller = 0
Status = Success
Description = Operation on foreign configuration Succeeded


FOREIGN PREVIEW :
===============

----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT      Size PDC  PI SED DS3  FSpace TR 
----------------------------------------------------------------------------
 0 -   -   -        -   RAID6 OfLn  N  25.466 TB dflt N  N   dflt Y      N  
 0 0   -   -        -   RAID6 Dgrd  N  25.466 TB dflt N  N   dflt Y      N  
 0 0   0   23:9     32  DRIVE Offln N   3.637 TB dflt N  N   dflt -      N  
 0 0   1   23:1     31  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   2   23:2     25  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   3   23:3     30  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   4   23:4     26  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   5   23:5     29  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   6   23:6     27  DRIVE Offln N   3.637 TB dflt N  N   dflt -      N  
 0 0   7   23:7     33  DRIVE Onln  N   3.637 TB dflt N  N   dflt -      N  
 0 0   8   23:8     28  DRIVE Offln N   3.637 TB dflt N  N   dflt -      N  
----------------------------------------------------------------------------

DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Optl=Optimal|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready

Total foreign Drive Groups = 1

当我尝试导入时,它失败并出现错误:

# /opt/MegaRAID/storcli/storcli64 /c0/fall import 
CLI Version = 007.1705.0000.0000 Mar 31, 2021
Operating system = Linux 3.10.0-1160.25.1.el7.x86_64
Controller = 0
Status = Failure
Description = Incomplete foreign configuration

我想也许可以尝试强制预览的离线驱动器联机,但是:

# /opt/MegaRAID/storcli/storcli64 /c0/e23/s8 set online
CLI Version = 007.1705.0000.0000 Mar 31, 2021
Operating system = Linux 3.10.0-1160.25.1.el7.x86_64
Controller = 0
Status = Failure
Description = Set Drive Online Failed.

Detailed Status :
===============

------------------------------------------------
Drive      Status  ErrCd ErrMsg                 
------------------------------------------------
/c0/e23/s8 Failure   255 Operation not allowed. 
------------------------------------------------

这三种情况都会发生。

有什么方法可以恢复吗?另外,有人听说过这种突然发生的磁盘级联故障,而热空间却在旋转吗?

相关内容