[DRBD-user] DRBD over ZFS - or the other way around?

Julien Escario escario at azylog.net
Fri Aug 18 12:58:04 CEST 2017

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


Le 17/08/2017 à 16:48, Gionatan Danti a écrit :
> Hi list,
> I am discussing how to have a replicated ZFS setup on the ZoL mailing list, and
> DRBD is obviously on the radar ;)
> 
> It seems that three possibilities exist:
> 
> a) DRBD over ZVOLs (with one DRBD resource per ZVOL);
> b) ZFS over DRBD over the RAW disks (with DRBD resource per disk);
> c) ZFS over DRBD over a single huge and sparse ZVOL (see for an example:
> http://v-optimal.nl/index.php/2016/02/04/ha-zfs/)
> 
> What option do you feel is the better one? On the ZoL list seems to exists a
> preference for option b - create a DRBD resource for each disk and let ZFS
> manage the DRBD devices.
> 
> Any thought on that?
> Thanks.
> 

Hello,
I didn't play with ZFS and DRBD, only LVM for now but similar questions occurs.

May I suggest you to let drbdmanage be in charge of this question ? I don't know
which option it will choose but claerly, drbdmanage simplifies A LOT management
of volumes.

The only thing important is to have one DRBD ressource per (I assume) VM disk.
As such, in caseof split brain, you can still have primary on every node, with
or without a synchronized peer.

If you design with a signle big ressource, a simple split brain and you're screwed.

Julien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3705 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20170818/dde1cf33/attachment.bin>


More information about the drbd-user mailing list