Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 1.34 KB

README.md

File metadata and controls

39 lines (37 loc) · 1.34 KB

Cinder driver for znstord daemon

Example cinder configuration

[znstor]
znstor_domain = default
znstor_pool = tank
znstor_project = openstack
quota = 5120
thin_volumes = True
compression = lz4
oversubs_ratio = 100
management_addr = 172.30.50.82:10987
portal_addr = 172.30.50.82:3260
portal_iqn = iqn.2017-06.znstor.io:01:981dbd97c5c7
target_group = tank-tg2
znstor_user = znstor
znstor_password = znstor
volume_driver=cinder.volume.drivers.znstor.znstiscsi.ZNSTORISCSIDriver
  • znstor_domain - domain name which represents as first filesystem within zpool (ex: tank/mydomain). Different domains my bellong to different organizations;
  • znstor_pool - zfs pool in which domain and project is located;
  • znstor_project - project in which cinder volumes is located;
  • qouta - project quota in gigabytes;
  • thin_volumes - create thin or thick volumes;
  • compression - enable / disable compression;
  • oversubs_ratio - oversubscription ratio;
  • management_addr - znstor managment address;
  • portal_addr - iscsi target portal address, including port;
  • portal_iqn - iscsi target iqn;
  • target_group - iscsi target group;
  • znstor_user - znstor user;
  • znstor_password - znstor password;
  • volume_driver - volume driver.

TODO

  • volume migration
  • image to volume / volume to image
  • backup