PowerFlex:storcli add vd 抱怨“控制器的高速缓存中有离线或缺失虚拟磁盘的数据”

Summary: 控制器在高速缓存中具有用于脱机或缺失虚拟磁盘的数据。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

如果由于未遵循正确步骤而拉动硬盘而导致虚拟磁盘/虚拟磁盘丢失,则可能会发生这种情况。后续尝试重新添加虚拟磁盘可能会导致上述错误。

这可能发生在使用 LSI 控制器和 storcli 的 VxRack 节点和其他系统上。


storcli add vd 命令返回错误 "controller has data in cache for offline or missing virtual disks."
 

 

# /opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid0 drives=252:4 direct wb ra Controller = 0 Status = Failure Description = controller has data in cache for offline or missing virtual disks Unable to add virtual disks. 

 

Cause

在未遵循正确步骤的情况下拉取硬盘时,LSI 控制器将为相应虚拟磁盘上尚未提交到磁盘的任何写入作保留高速缓存。

这可防止尝试添加虚拟磁盘(也使用其他物理磁盘)。如果服务器此时重新启动,则控制台上会显示一条 POST 消息,并且不允许继续进行,除非在控制器 BIOS 中清除了保留的高速缓存。
 

Resolution

在继续添加虚拟磁盘之前,必须清除保留的高速缓存。在重新引导期间,可以使用控制器 BIOS 执行此作。也可以使用 storcli 完成此作:

要验证是否存在保留的高速缓存,请执行以下作:

 

# /opt/MegaRAID/storcli/storcli64 /c0 show preservedCache Controller = 0 Status = Success Description = None ----------- VD State ----------- 1 Missing -----------

 

在上面的示例中,虚拟磁盘 #1 处于“missing”状态,并且不会显示在“storcli /c0 show”输出中。

要删除保留的高速缓存,请执行以下作:

 

# /opt/MegaRAID/storcli/storcli64 /c0/v1 delete preservedCache

 

# /opt/MegaRAID/storcli/storcli64 /c0/vall delete preservedCache

 

提醒:此作将使磁盘上的数据失效。这应该不会导致 ScaleIO 出现问题,因为所有数据都有两个副本。

Additional Information

这是 ScaleIO 软件的外部组件。
Article Properties
Article Number: 000052924
Article Type: Solution
Last Modified: 29 Oct 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.