Need help with cockpit-zfs-manager?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

163 Stars 6 Forks GNU Lesser General Public License v3.0 23 Commits 8 Opened issues


Cockpit ZFS Manager is an interactive ZFS on Linux admin package for Cockpit.

Services available


Need anything else?

Contributors list

Cockpit ZFS Manager

GitHub Tag

An interactive ZFS on Linux admin package for Cockpit.


Cockpit ZFS Manager is currently pre-release software. Use at your own risk!


  • Cockpit: 201+
  • NFS (Optional)
  • Samba: 4+ (Optional)
  • ZFS: 0.8+

Tested Distributions

  • Arch Linux
  • CentOS Linux 8
  • Debian 10
  • Fedora 31
  • Oracle Linux Server 8
  • Proxmox VE 6
  • Red Hat Enterprise Linux 8
  • Ubuntu 18.04 LTS
  • Ubuntu 19.10


Screenshots using Cockpit 217 on Oracle Linux 8.1 with UEK R6.


Copy zfs folder to cockpit

$ git clone
$ sudo cp -r cockpit-zfs-manager/zfs /usr/share/cockpit


Auto generated snapshot names are created in YYYY.MM.DD-HH.MM.SS format.

It is recommended to add the following properties to the Samba configuration file to allow access to Previous Versions in Windows Explorer:

$ sudo nano /etc/samba/smb.conf

Append to [global] section or individual share sections

shadow: snapdir = .zfs/snapshot
shadow: sort = desc
shadow: format = %Y.%m.%d-%H.%M.%S
shadow: localtime = yes 
vfs objects = acl_xattr shadow_copy2


If using SELinux in enforcing mode, it is recommended to enable the boolean states for Samba:

$ sudo setsebool -P samba_export_all_ro=1 samba_export_all_rw=1

Using Cockpit ZFS Manager

Login to Cockpit as a privileged user and click ZFS from the navigation list.

A Welcome to Cockpit ZFS Manager modal will display and allow you to configure initial settings.

Note: Inline help is currently available in modals. Documentation will be created at a later date.


Storage Pools

New storage pools are created with the following properties set (not visible in Create Storage Pool modal):

  • aclinherit=passthrough
  • acltype=posixacl
  • casesensitivity=sensitive
  • normalization=formD
  • sharenfs=off
  • sharesmb=off
  • utf8only=on
  • xattr=sa

File Systems

New file systems are created with the following properties set (not visible in Create File System modal):

  • normalization=formD
  • utf8only=on

Passphrase is currently supported for encrypted file systems.

If SELinux contexts for Samba is selected, the following properties are set:

  • context=systemu:objectr:sambasharet:s0
  • fscontext=systemu:objectr:sambasharet:s0
  • defcontext=systemu:objectr:sambasharet:s0
  • rootcontext=systemu:objectr:sambasharet:s0


ZFS always creates shares in /var/lib/samba/usershares folder when ShareSMB property is enabled. This is also the case even if Cockpit ZFS Manager is managing the shares. To avoid duplicate shares of the same file system, it is recommended to configure a different usershares folder path if required or to disable usershares in the Samba configuration file.

Note: Newer versions of Samba may require the usershares folder to be set to a new path instead of disabled in configuration:

$ sudo mkdir /var/lib/samba/usershares2
$ sudo nano /etc/samba/smb.conf

Append/Change to [global] section

usershare path = /var/lib/samba/usershares2

If enabled, Cockpit ZFS Manager manages shares for the file systems only. Samba global configuration will need to be configured externally.

More Information


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.