[DRBD-user] DRBD9 :: Step by Step to change storage plugin of a single node

Roland Kammerer roland.kammerer at linbit.com
Tue Nov 8 14:17:18 CET 2016

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

On Tue, Nov 08, 2016 at 01:48:41PM +0100, Toni Bolduan wrote:
> Hi list,
> what is the appropriate way to change the storage plugin to ZFS on a single
> node?


> This is, what I think, the way to do this:
> 1. install drbd, drbdmanage
> 2. create volume group drbdpool with lvm
> 3. initialize drbd on first node
> 4. create zpool drbdpool with zol (zfs on linux)


> 5. modify config of first node for using zfs plugin

If you mean "drbdmanage modify-config --node", OK

> 6. rewrite config


> Does this work on an single node or do I need to have at least two nodes to
> configure this?

One node is fine.

> Is it possible to start with zfs plugin from start?

No. We want to keep the configuration that is stored per node (i.e.,
drbdmanaged.cfg) minimal. So this is something that has to be stored to
the "cluster DB" (aka. control volume). And for that you have to have a
minimal base setup, which is exactly "drbdmanage init" in your case so
that the node can write to the "cluster DB".

Regards, rck

PS: Note that the control volume will always be on LVM, only the data
volumes will then be on whatever storage plugin you configured.

More information about the drbd-user mailing list