Preserved cache导致LSISAS2208卡配置异常案例

         Preserved cache导致LSISAS2208卡配置异常案例

问题现象:

现象一:RAID组offline,自检时,提示如下。

There are offline or missing virtual drives with preserved cache.
Please check the cables and ensure that all drives are present.
Press any key to enter the configuration utiity.

图5-162所示。

图5-162 提示信息
Preserved cache导致LSISAS2208卡配置异常案例

重启仍然有上述提示。

现象二:硬盘故障导致单盘RAID0失效,更换新硬盘,重做RAID0时,提示如下错误。

udo /opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [32:8] WB Direct -a0
Adapter 0: Configure Adapter Failed
FW error description:
 The current operation is not allowed because the controller has data in cache for offline or missing virtual drives.

关键过程、根本原因分析

关键过程:

  1. 针对现象一,根据屏幕提示,按任意键,进入RAID卡WebBIOS,出现如图5-163所示提示时,单击“Discard Cache”。
    图5-163 单击“Discard Cache”

    Preserved cache导致LSISAS2208卡配置异常案例

然后保存退出,即可清除preserved cache。重启不再出现上述提示。

2.针对现象二,在OS下使用如下命令清除preserved cache。

./storcli64 /c0/vall delete preservedcache

然后再执行命令,配置RAID0正常。

根本原因分析:

RAID卡Cache中存在数据,重启服务器或者更换硬盘后,Cache中的数据无法写到硬盘中,导致出现上述问题。

结论、解决方案及效果

定位结论:

RAID卡preserved cache导致重启服务器或者更换硬盘时,cache中的数据不能写入硬盘,从而报错。

解决方案:

清除preserved cache,具体方法请参考“关键过程、根本原因分析

阅读剩余
THE END