solarisguy
Guru
- Joined
- Apr 4, 2014
- Messages
- 1,125
If I only tried before writing...
[root@freenas] ~# zpool set feature@hole_birth=disabled my_bad
cannot set property for 'my_bad': property 'feature@hole_birth' can only be set to 'enabled'
[root@freenas] ~#
A memo to myself follows, proving that cyberjock is right.
On 9.2.1.5 (on anything later than 9.2.0?) on a just created pool, with all the defaults:
I hope I am reading right documentation now:
[root@freenas] ~# zpool set feature@hole_birth=disabled my_bad
cannot set property for 'my_bad': property 'feature@hole_birth' can only be set to 'enabled'
[root@freenas] ~#
A memo to myself follows, proving that cyberjock is right.
On 9.2.1.5 (on anything later than 9.2.0?) on a just created pool, with all the defaults:
Code:
[root@freenas] ~# zpool get all my_bad | grep feature@ my_bad feature@async_destroy enabled local my_bad feature@empty_bpobj enabled local my_bad feature@lz4_compress active local my_bad feature@multi_vdev_crash_dump enabled local my_bad feature@spacemap_histogram active local my_bad feature@enabled_txg active local my_bad feature@hole_birth active local my_bad feature@extensible_dataset enabled local my_bad feature@bookmarks enabled local [root@freenas] ~#
I hope I am reading right documentation now:
- If a feature is only enabled, but it is not active yet, then it is OK to use the pool on a system that knows nothing about that particular feature.
- Command zpool upgrade -v would list what is compatible for read-only mode
Code:[root@freenas] ~# zpool upgrade -v | head -25 This system supports ZFS pool feature flags. The following features are supported: FEAT DESCRIPTION ------------------------------------------------------------- async_destroy (read-only compatible) Destroy filesystems asynchronously. empty_bpobj (read-only compatible) Snapshots use less space. lz4_compress LZ4 compression algorithm support. multi_vdev_crash_dump Crash dumps to multiple vdev pools. spacemap_histogram (read-only compatible) Spacemaps maintain space histograms. enabled_txg (read-only compatible) Record txg at which a feature is enabled hole_birth Retain hole birth txg for more precise zfs send extensible_dataset Enhanced dataset functionality, used by other features. bookmarks (read-only compatible) "zfs bookmark" command [root@freenas] ~#
- Out of 4 new features introduced between 9.2.0 and 9.2.1, feature@hole_birth is the only one that makes FreeNAS 9.2.1 pool incompatible with FreeNAS 9.2.0 release:
- enabled_txg is read-only compatible
- extensible_dataset is in the enabled state
- bookmarks is in the enabled state