mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 19:39:35 +03:00
658fb8020f
Property to allow sets of features to be specified; for compatibility with specific versions / releases / external systems. Influences the behavior of 'zpool upgrade' and 'zpool create'. Initial man page changes and test cases included. Brief synopsis: zpool create -o compatibility=off|legacy|file[,file...] pool vdev... compatibility = off : disable compatibility mode (enable all features) compatibility = legacy : request that no features be enabled compatibility = file[,file...] : read features from specified files. Only features present in *all* files will be enabled on the resulting pool. Filenames may be absolute, or relative to /etc/zfs/compatibility.d or /usr/share/zfs/compatibility.d (/etc checked first). Only affects zpool create, zpool upgrade and zpool status. ABI changes in libzfs: * New function "zpool_load_compat" to load and parse compat sets. * Add "zpool_compat_status_t" typedef for compatibility parse status. * Add ZPOOL_PROP_COMPATIBILITY to the pool properties enum * Add ZPOOL_STATUS_COMPATIBILITY_ERR to the pool status enum An initial set of base compatibility sets are included in cmd/zpool/compatibility.d, and the Makefile for cmd/zpool is modified to install these in $pkgdatadir/compatibility.d and to create symbolic links to a reasonable set of aliases. Reviewed-by: ericloewe Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Colm Buckley <colm@tuatha.org> Closes #11468
28 lines
401 B
Groff
28 lines
401 B
Groff
# Features supported by OpenZFSonOSX 1.9.3
|
|
allocation_classes
|
|
async_destroy
|
|
bookmark_v2
|
|
bookmarks
|
|
device_removal
|
|
edonr
|
|
embedded_data
|
|
empty_bpobj
|
|
enabled_txg
|
|
encryption
|
|
extensible_dataset
|
|
filesystem_limits
|
|
hole_birth
|
|
large_blocks
|
|
large_dnode
|
|
lz4_compress
|
|
multi_vdev_crash_dump
|
|
obsolete_counts
|
|
project_quota
|
|
resilver_defer
|
|
sha512
|
|
skein
|
|
spacemap_histogram
|
|
spacemap_v2
|
|
userobj_accounting
|
|
zpool_checkpoint
|