From zpool-create(8).By default all supported features are enabled on the new pool. The -d
option and the -o compatibility property (e.g -o compatibility=2020)
can be used to restrict the features that are enabled, so that the pool
can be imported on other releases of ZFS.
-d Do not enable any features on the new pool. Individual fea-
tures can be enabled by setting their corresponding proper-
ties to enabled with -o. See zpool-features(7) for details
about feature properties.
Thanks,
-o compatibility=legacy looks promising and maybe just enable compression=zstd. I will try and report here the next days. -o feature@userobj_accounting=disabled \
-o feature@edonr=disabled \
-o feature@project_quota=disabled \
-o feature@allocation_classes=disabled \
-o feature@resilver_defer=disabled \
-o feature@zilsaxattr=disabled
which surely is wise and feasible when such a device is at hand (and what I did so far), but sounds a bit odd as general advice nevertheless.create the zpool on that lower system
$ zpool create -o compatibility=openzfs-2.0-linux <poolname> ...
$ zfs set compression=zstd <poolname>
I suggest considering the use of compatibility sets, see also feature flagshow do I create a zpool e.g. with zfs 2.2.7 that I can import with zfs e.g. 2.1?
I'm confused, I'm not sure I understand the question.
You want to create a pool that will work with zfs-2.1? If that so, the following should work... I guess.
Code:# zpool create -o compatibility=/usr/share/zfs/compatibility.d/openzfs-2.1-freebsd ...