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