On 12/02/2021 18:34, Brian Candler wrote:
In my testing, Linstor seems to create the same device node name on
each node (e.g. `/dev/drbd1000`).
My question is: is this guaranteed? e.g. is the drbd node number a
unique, global property of the volume itself?
I think I've answered my own question here:
root@node1:~# linstor volume-definition list -p
+---------------------------------------------------------------+
| ResourceName | VolumeNr | VolumeMinor | Size | Gross | State |
|===============================================================|
| my_ssd_res | 0 | 1000 | 1 GiB | | ok |
| res00 | 0 | 1001 | 1 GiB | | ok |
| res00 | 1 | 1002 | 2 GiB | | ok |
+---------------------------------------------------------------+
The VolumeMinor appears to be a property of the (Resource+Volume), so I
think it should be stable and consistent across all nodes where that
resource appears. I was confused because "linstor volume list" shows
the VolumeMinor separately for each node.
(It's taking me a while to get my head around the relationship between
resource-groups, resource-definitions, resources, volume-groups,
volume-definitions, and volumes!)
Regards,
Brian.
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user