0

I want to setup a DRBD active/active configuration with two nodes. My application will be doing I/Os directly on the DRBD device. I haven't seen any option to enable caching within DRBD.

Is there any linux module that would allow me to setup a cache in between DRBD and the disk module? Any caching above DRBD module can lead to stale data being read by the nodes.

4

1 回答 1

0

DRBD 本身有3 种协议类型,具有不同的保证。您可以尝试使用 B 甚至 A。但是,在本地写入成功之前,所有类型都会阻塞。至于显式缓存写入磁盘,这个 SO question可能会提供有关可以做什么的进一步指示。特别是 dannysauer 的回答看起来很有趣。

于 2012-06-25T10:06:10.533 回答