[Bug 190462] request: don't active feature flags when upgrading zfs pool

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 30 12:40:38 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190462

Fabian Keil <fk at fabiankeil.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fk at fabiankeil.de

--- Comment #1 from Fabian Keil <fk at fabiankeil.de> ---
Individual features can be enabled with zpool set. Example:

fk at r500 ~ $zpool get all test
NAME  PROPERTY                       VALUE                          SOURCE
[...]
test  feature at async_destroy          disabled                       local
test  feature at empty_bpobj            disabled                       local
test  feature at lz4_compress           disabled                       local
test  feature at multi_vdev_crash_dump  disabled                       local
test  feature at spacemap_histogram     disabled                       local
test  feature at enabled_txg            disabled                       local
test  feature at hole_birth             disabled                       local
test  feature at extensible_dataset     disabled                       local
test  feature at embedded_data          disabled                       local
test  feature at bookmarks              disabled                       local
test  feature at filesystem_limits      disabled                       local
test  feature at large_blocks           disabled                       local
fk at r500 ~ $sudo zpool set feature at empty_bpobj=enabled test
fk at r500 ~ $sudo zpool set feature at embedded_data=enabled test
fk at r500 ~ $zpool get all test
NAME  PROPERTY                       VALUE                          SOURCE
[...]
test  feature at async_destroy          disabled                       local
test  feature at empty_bpobj            enabled                        local
test  feature at lz4_compress           disabled                       local
test  feature at multi_vdev_crash_dump  disabled                       local
test  feature at spacemap_histogram     disabled                       local
test  feature at enabled_txg            disabled                       local
test  feature at hole_birth             disabled                       local
test  feature at extensible_dataset     disabled                       local
test  feature at embedded_data          active                         local
test  feature at bookmarks              disabled                       local
test  feature at filesystem_limits      disabled                       local
test  feature at large_blocks           disabled                       local

While my system is based on 11-CURRENT, this is documented to work
on 10.0-RELEASE, too:
https://www.freebsd.org/cgi/man.cgi?query=zpool&manpath=FreeBSD+10.0-RELEASE

Given the length of the man page, it probably wouldn't hurt to mention this in
the "zpool upgrade" section as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list