The layer-list you used here doesn’t include replication (DRBD). linstor resource-group create --storage-pool sp0 --place-count 2 -l LUKS,STORAGE rg0
You’ve created just simple LVM volumes with LUKS encryption. Please note the user’s guide here where it mentions adding a DRBD layer.
Basic steps to use encryption:
Create a master passphrase
Add luks to the layer-list. Note that all plugins (e.g., Proxmox) require a DRBD layer as the top most layer if they do not explicitly state otherwise.
Don’t forget to re-enter the master passphrase after a controller restart.
Try adding DRBD to your layer list. linstor resource-group create --storage-pool sp0 --place-count 2 -l DRBD,LUKS,STORAGE rg0
Apologies for the late reply. I had to travel on short notice and was gone for a week. Yes, you are correct. I was following the example commands and did not realize I needed to add the string “DRBD” to the layer list (although that makes perfect sense). I added it and the DRBD disk was created and is now doing its initial sync. Sync speed is still much lower than I am used to seeing, only 95MB as opposed to 300+ MB usually. But that’s another issue.
How can I achieve the above with Piraeus? Is there a way to set the layer list on the LinstorCluster or the StorageClass resources to enable encryption on the cluster?