Skip to main content

cinder-zfs-driver

A Cinder volume driver for FreeBSD that stores volumes as ZFS zvols.

Status

Features

  • Volume create, delete, extend, clone and revert to snapshot
  • Snapshots are ZFS snapshots, with deferred destroy while clones depend on them
  • Glance image download to a volume and volume upload to an image
  • Local attach to a nova-bhyve instance on the same host
  • Remote iSCSI volume export served by CTL
  • Sparse or fully reserved zvols on disk

Roadmap

  • Remote iSCSI attach / os-brick support
  • Snapshot export over iSCSI
  • Per-initiator ACLs, mutual CHAP and multipath portals
  • Volume migration between two backends using zfs send / zfs receive
  • Add support for NVMe over Fabrics remote attach

Limitations

  • No remote attach / os-brick support so nova and the cinder backend must run on the same host
  • Remote snapshot connections are refused

Host requirements

zfs allow delegation is needed for the dataset holding volumes.

Remote export needs ctld running against the driver's config file:

sysrc ctld_flags="-f /var/db/cinder/ctl.conf" ctld_enable=YES
service ctld start

Configuration

[zfs]
volume_driver = cinder_zfs_driver.driver.ZFSVolumeDriver
volume_backend_name = ZFS
zfs_dataset = zroot/cinder
zfs_sparse_volumes = true
use_chap_auth = true
# zfs_ctld_config = /var/db/cinder/ctl.conf
# zfs_local_hosts = alias1,alias2

Metadata

Release files for cinder-zfs-driver 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cinder-zfs-driver 0.9.0
File Size Uploaded
cinder_zfs_driver-0.9.0.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cinder-zfs-driver 0.9.0
File Interpreter ABI Platform
cinder_zfs_driver-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.9 kB

Release files / cinder_zfs_driver-0.9.0.tar.gz

Download URL cinder_zfs_driver-0.9.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
432a130393a3755e7dbee81ebafcce12e04cf7a2e15906e13ae0e380f0779ce0
BLAKE2b-256 checksum
How to use checksums
15a226e81d9aedf3fa4f6b82809b6c1935eece8df2b7eb68270456e4192f8f2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cinder_zfs_driver-0.9.0-py3-none-any.whl

Download URL cinder_zfs_driver-0.9.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
145628cc14e1fdad06c5b440999e60ab08df7521d5796ea3f063c771665a7ecb
BLAKE2b-256 checksum
How to use checksums
36181381f68df952e335eb4df0f7a810c671deab5a1d364b76907837ec7735b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.9.1

2 release files

This release

0.9.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page