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.1

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.1
File Size Uploaded
cinder_zfs_driver-0.9.1.tar.gz 8.5 kB Details

Built distribution (wheel)

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

Total release size: 18.9 kB

Release files / cinder_zfs_driver-0.9.1.tar.gz

Download URL cinder_zfs_driver-0.9.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1a024accd24917dc64c655f3a333dfb9e1e060f9f60e80637ab8561d801b9c44
BLAKE2b-256 checksum
How to use checksums
7268d7e1dfc7f8feee5b278aad0f2e520806110701332c9cca73313d5209de08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.1-py3-none-any.whl

Download URL cinder_zfs_driver-0.9.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02b9353f2486d1d5cd04394ef924ed84a5c6af19b2dc6ef15faadbb6d84cf585
BLAKE2b-256 checksum
How to use checksums
c0317be1bfba8a5d64a1988347243fdd341646ccaa8547ad9e2d61fb466b8f9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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

This release

0.9.1 This release

2 release files

0.9.0

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