In this tutorial, I will show you how to use LINBIT SDS to orchestrate DRBD, bcache and ZFS in a stacked block storage layer.
We have three satellite nodes in this demo cluster, all installed the latest CentOS 8.4, each node has 1 x NVMe drive and 3 x HDD drives.
Follow the official OpenZFS document to install ZFS first.
DKMS and kmod both work fine, in this tutorial, we choose kmod to avoid development dependencies installation, also a little bit faster during ZFS installation.
CentOS 8.x and EPEL repositories don’t have bcache RPM packages at this moment, you have to compile by yourself, or simply install from LINBIT repository for whom within the validated LINBIT credentials.
Same as bcache, if you have the validated LINBIT credentials.
By default, ZFS kernel module will be loaded automatically until at least one zpool exists, or you could manually load ZFS kernel module on boot.
If you see some outputs for each three commands above on three satellite nodes, then that means you have everything working, congratulations!
Now we are going to set up ZFS, nothing to change in DRBD and bcache for now.
All done! RD01 is a stacked block device which is backed by DRBD, bcache and ZFS from top to bottom.
What does that stacked block device mean?
When writing to RD01, DRBD will replicate data to other nodes, then bcache involves to improve write performance, persistent data on ZFS pools in the end.
What about deduplication? Any thoughts 🙂
Share this post
LINBIT is committed to protecting and respecting your privacy, and we’ll only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please tick above to say how you would like us to contact you.
By clicking submit below, you consent to allow LINBIT to store and process the personal information submitted above to provide you the content requested.
As the world’s leading provider of Software-Defined Storage, High Availability, and Disaster Recovery software, LINBIT adds server clustering capabilities to any containerized, virtualized, or bare metal environment.
Copyright © 2022 LINBIT
All rights reserved. The words LINSTOR®, DRBD®, LINBIT®, and the logo LINSTOR®, DRBD®, and LINBIT® are trademarks or registered trademarks of LINBIT HA-Solutions GmbH and LINBIT USA LLC.