我们目前面临的挑战是更换独立服务器的 raid 1 配置中的磁盘。该服务器相当老旧,使用 10k SAS HDD 驱动器和富士通 D2616(基于 LSI SAS2108)。两个驱动器中的一个发生故障。我们决定使用 SATA SSD 驱动器,而不是购买昂贵的(与 SSD 相比速度较慢的)SAS 磁盘。在用新插入的 SSD 更换故障磁盘时,我们收到有关属性不合适的错误:
-----------------------------------------------------------------------------
Drive Status ErrCd ErrMsg
-----------------------------------------------------------------------------
/c0/e252/s4 Failure 38 physical disk does not have appropriate attributes
-----------------------------------------------------------------------------
我们用来更换磁盘的命令是:
storcli64.exe /c0/e252/s4 insert dg=0 array=0 row=1
在深入研究了问题可能出在哪里之后,我们在输出的功能部分中发现了以下内容storcli64.exe /c0 show all
Mix in Enclosure = Allowed
Mix of SAS/SATA of HDD type in VD = Not Allowed
Mix of SAS/SATA of SSD type in VD = Not Allowed
Mix of SSD/HDD in VD = Not Allowed
这可以解释之前收到的错误。因为旧磁盘是 SAS HDD,而新磁盘是 SATA SSD。
在这个帖子我找到了一个模糊的描述,说明如何使用名为 megascu 的工具更改几个功能部分。遗憾的是,我找不到进一步的描述,也没有找到 megascu 的下载链接。而且,我找不到使用 storcli 更改此功能的方法。
是否可以更改 RAID 控制器的 SAS/SATA 和 SSD/HDD 功能组合,或者这些是固定值。如果可以,如何更改它们?
有关我们的设置的更多信息(来自storcli64.exe /c0 show all
):
Version :
=======
Firmware Package Build = 12.9.0-0051
Firmware Version = 2.90.83-1078
Bios Version = 3.18.00_4.09.05.00_0x0416A000
Preboot CLI Version = 04.04-010:#%00008
WebBIOS Version = 6.0-18-e_13-Rel
NVDATA Version = 2.06.03-0014
Boot Block Version = 2.02.00.00-0000
Bootloader Version = 01.250.04.219
Driver Name = megasas.sys
Driver Version = 4.5.1.64
TOPOLOGY :
========
-----------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace TR
-----------------------------------------------------------------------------
0 - - - - RAID1 Dgrd N 136.218 GB dsbl N N dflt N N
0 0 - - - RAID1 Dgrd N 136.218 GB dsbl N N dflt N N
0 0 0 252:0 0 DRIVE Onln N 136.218 GB dsbl N N dflt - N
0 0 1 - - DRIVE Msng - 136.218 GB - - - - - N
-----------------------------------------------------------------------------
VD LIST :
=======
---------------------------------------------------------------
DG/VD TYPE State Access Consist Cache Cac sCC Size Name
---------------------------------------------------------------
0/0 RAID1 Dgrd RW Yes NRWTD - OFF 136.218 GB
---------------------------------------------------------------
Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady|B=Blocked
|
Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack|
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency
Physical Drives = 2
PD LIST :
=======
----------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp
----------------------------------------------------------------------------------
252:0 0 Onln 0 136.218 GB SAS HDD N N 512B ST9146803SS U
252:4 2 UGood - 465.25 GB SATA SSD N N 512B Samsung SSD 860 EVO 500GB U
----------------------------------------------------------------------------------