Skip to content

Instantly share code, notes, and snippets.

@rlaager
Created March 19, 2019 02:16
Show Gist options
  • Save rlaager/08afa4e1e1cf04cd97c68d7e8a8c5fb9 to your computer and use it in GitHub Desktop.
Save rlaager/08afa4e1e1cf04cd97c68d7e8a8c5fb9 to your computer and use it in GitHub Desktop.
zpool features test
$ truncate -s 1G test.img && sudo zpool create -d -o feature@async_destroy=enabled -o feature@bookmarks=enabled -o feature@embedded_data=enabled -o feature@empty_bpobj=enabled -o feature@enabled_txg=enabled -o feature@extensible_dataset=enabled -o feature@filesystem_limits=enabled -o feature@hole_birth=enabled -o feature@large_blocks=enabled -o feature@lz4_compress=enabled -o feature@spacemap_histogram=enabled -o feature@userobj_accounting=enabled test `pwd`/test.img ; sudo zpool get all test | grep feature | sort
[sudo] password for rlaager:
test feature@async_destroy enabled local
test feature@bookmarks enabled local
test feature@edonr disabled local
test feature@embedded_data active local
test feature@empty_bpobj enabled local
test feature@enabled_txg active local
test feature@extensible_dataset active local
test feature@filesystem_limits enabled local
test feature@hole_birth active local
test feature@large_blocks enabled local
test feature@large_dnode disabled local
test feature@lz4_compress active local
test feature@multi_vdev_crash_dump disabled local
test feature@sha512 disabled local
test feature@skein disabled local
test feature@spacemap_histogram active local
test feature@userobj_accounting active local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment