LINSTOR driver¶
The LINSTOR driver allows Cinder to use DRBD/LINSTOR instances.
External package installation¶
The driver requires the python-linstor
package for communication with the
LINSTOR Controller. Install the package from PYPI using the following command:
$ python -m pip install python-linstor
Configuration¶
Set the following option in the cinder.conf
file for the DRBD transport:
volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver
Or use the following for iSCSI transport:
volume_driver = cinder.volume.drivers.linstordrv.LinstorIscsiDriver
The following table contains the configuration options supported by the LINSTOR driver:
Configuration option = Default value |
Description |
---|---|
|
(Integer) Autoplace replication count on volume deployment. 0 = Full cluster replication without autoplace, 1 = Single node deployment without replication, 2 or greater = Replicated deployment with autoplace. |
|
(Boolean) True means Cinder node is a diskless LINSTOR node. |
|
(Integer) Default Block size for Image restoration. When using iSCSI transport, this option specifies the block size. |
|
(String) Default Storage Pool name for LINSTOR. |
|
(String) Default storage URI for LINSTOR. |
|
(String) Default Volume Group name for LINSTOR. Not Cinder Volume. |
|
(Float) Default volume downscale size in KiB = 4 MiB. |