Flashcache

Flashcache 電源故障

  • January 17, 2014

iam 使用 ssd 記憶體其他磁碟(flashcache 模組)如果發生電源故障,寫入操作將突然停止並由於不完整的記憶體返回設備(sata 磁碟)而導致壞扇區所以有沒有辦法繼續從 ssd 獲取記憶體伺服器啟動後到設備(磁碟),因為記憶體已經儲存在 ssd 上?

提前謝謝了

您需要首先保護您的站點/設施電源。請使用具有足夠執行時間的適當大小的 UPS。

除此之外,我還是優質 SSD 的倡導者。您想使用帶有板載超級電容器的優質 SSD 來保護飛行中的數據。

如果您詢問一般記憶體持久性,那是另一個話題。

根據文件

It is important to note that in the first cut, cache writes are
non-atomic, ie, the "Torn Page Problem" exists. In the event of a
power failure or a failed write, part of the block could be written,
resulting in a partial write. We have ideas on how to fix this and
provide atomic cache writes (see the Futures section).

所以聽起來flashcache不能做你想做的事。

引用自:https://serverfault.com/questions/567309