OpenZFS Feature Flags Compatibility Matrix

With the introduction of ZFS feature flags many users have experienced compatibility problems working with ZFS pools on different operating systems or operating system versions. In this article I am providing a table comparing the ZFS Feature Flag support on FreeBSD, Linux (zfsonlinux), Mac OSX (OpenZFS OSX) and illumos (OmniOS).

OpenZFS Feature Flags Compatibility Matrix:
Feature FlagFreeBSD RELEASEOpenZFS OSXzfsonlinuxOmniOS
8.49.29.310.21.3.10.6.5r151014
async_destroyyesyesyesyesyesyesyes
empty_bpobjyesyesyesyesyesyesyes
lz4_compressyesyesyesyesyesyesyes
multi_vdev_crash_dumpnonoyesyesnonoyes
spacemap_histogramnonoyesyesyesyesyes
enabled_txgnonoyesyesyesyesyes
hole_birthnonoyesyesyesyesyes
extensible_datasetnonoyesyesyesyesyes
embedded_datanononoyesyesyesyes
bookmarksnonoyesyesyesyesyes
filesystem_limitsnonoyesyesnoyesyes
large_blocksnononoyesnoyesyes
A detailed description of the feature flags is in the zpool-features(7) manual page.
FreeBSD releases up to 8.3 and including 9.0 and 9.1 do not support feature flags.

UPDATE 23.09.2015: update zfsonlinux to 0.6.5
UPDATE 08.09.2015: add FreeBSD 10.2
UPDATE 16.01.2015: fixed unavailable embedded_data on FreeBSD 9.3, thanks to Dmitry Kononov
UPDATE 12.04.2015: updated zfsonlinux from 0.6.3 to 0.6.4, OpenZFS OSX from 1.3.0 to 1.3.1, OmniOS from r151012 to r151014

If you plan to access your ZFS pools from earlier operating system versions (or other operating systems) you have to consider that if you enable any unsupported features the pool may become read-only or unreadable, depending on the specific feature. Features supported by all systems above are async_destroy, empty_bpobj and lz4_compress.

To create a ZFS pool that is compatible with all operating system versions in the matrix above, use the zpool(8) command with following syntax:
zpool create -d -o feature@async_destroy=enabled -o feature@empty_bpobj=enabled -o feature@lz4_compress=enabled [device(s)]

More information:
zpool-features(7) manual page with detailed description of all supported features.
OpenZFS Homepage
ZFS on Linux
OpenZFS on OSX

Trackbacks

Trackback specific URI for this entry

This link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

The author does not allow comments to this entry