[DRBD-user] Considerations for using bcache on top of DRBD

Berto Bermudez berto at momar.com
Mon Feb 17 21:06:33 CET 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

You didn't indicate where in your setup the SSDs would sit. I would suggest you look at also replicating the ssd contents using drbd and layering bcache on top of that, so that in the event of failover you don't have the penalty of cold caches. 

HDDs <-- md/raid <-- LVM <-- DRBD <-- bcache |<-- ext4
                                              SSD<-- DRBD <-- bcache |

There was a talk about something similar, but using flashcache http://www.youtube.com/watch?v=l910kiEuHOM 

Momar, Inc.
-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Andrew Martin
Sent: Thursday, February 13, 2014 11:24 AM
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] Considerations for using bcache on top of DRBD


I am interested in using an SSD with bcache on top of DRBD for improved read performance. Data integrity is the primary concern, so writethrough would be the bcache mode I use. Has there been any testing done with bcache on top of DRBD? Are there any things in particular I should consider during testing and deployment?

The entire stack would be:
HDDs <-- md/raid <-- LVM <-- DRBD <-- bcache <-- ext4


Andrew Martin
drbd-user mailing list
drbd-user at lists.linbit.com

More information about the drbd-user mailing list