Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 12:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 190462] request: don't active feature flags when upgrading zfs pool
Message-ID:  <bug-190462-3630-WctvCxS1jP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190462-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190462-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190462

Fabian Keil <fk@fabiankeil.de> changed:

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

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

fk@r500 ~ $zpool get all test
NAME  PROPERTY                       VALUE                          SOURCE
[...]
test  feature@async_destroy          disabled                       local
test  feature@empty_bpobj            disabled                       local
test  feature@lz4_compress           disabled                       local
test  feature@multi_vdev_crash_dump  disabled                       local
test  feature@spacemap_histogram     disabled                       local
test  feature@enabled_txg            disabled                       local
test  feature@hole_birth             disabled                       local
test  feature@extensible_dataset     disabled                       local
test  feature@embedded_data          disabled                       local
test  feature@bookmarks              disabled                       local
test  feature@filesystem_limits      disabled                       local
test  feature@large_blocks           disabled                       local
fk@r500 ~ $sudo zpool set feature@empty_bpobj=enabled test
fk@r500 ~ $sudo zpool set feature@embedded_data=enabled test
fk@r500 ~ $zpool get all test
NAME  PROPERTY                       VALUE                          SOURCE
[...]
test  feature@async_destroy          disabled                       local
test  feature@empty_bpobj            enabled                        local
test  feature@lz4_compress           disabled                       local
test  feature@multi_vdev_crash_dump  disabled                       local
test  feature@spacemap_histogram     disabled                       local
test  feature@enabled_txg            disabled                       local
test  feature@hole_birth             disabled                       local
test  feature@extensible_dataset     disabled                       local
test  feature@embedded_data          active                         local
test  feature@bookmarks              disabled                       local
test  feature@filesystem_limits      disabled                       local
test  feature@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190462-3630-WctvCxS1jP>