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

如果在未遵循適當程序的情況下提取硬碟,導致虛擬磁碟/VD 遺失,可能會發生這種情況。後續嘗試將 VD 加回可能會導致上述錯誤。

這可能發生在 VxRack Node 和其他使用 LSI 控制器和 storcli 的系統上。


Storcli 新增 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 控制器會為個別 VD 上尚未提交至磁碟的任何寫入作業保留快取。

這可防止嘗試新增 VD (也使用其他 PD)。如果伺服器此時重新開機,主控台上會顯示 POST 訊息,且不允許繼續進行,除非在控制器 BIOS 中清除保留的快取。
 

Resolution

繼續新增虛擬磁碟之前,必須先清除保留的快取。在重新開機期間,可使用控制器 BIOS 完成。也可以使用 storcli 完成:

若要驗證是否存在保留的快取:

 

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

 

在上述範例中,VD #1 處於「遺失」狀態,且未顯示在「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.