Mismatched features MacOS ZFS 2.1.6 and Linux ZFS 2.1.9

All your general support questions for OpenZFS on OS X.

Mismatched features MacOS ZFS 2.1.6 and Linux ZFS 2.1.9

Postby kingneutron » Wed Mar 22, 2023 2:27 pm

FYI, the 2 zpools I created on MacOS Monterey 12.6.3 with ZFS 2.1.6 cannot be imported into
Linux Mint Debian Edition 5 (zfs 2.1.9 compiled from source) - unsupported feature flags. :oops:

from ' zpool get all '
Code: Select all
zsamt7macpro  size                           424G                           -
zsamt7macpro  capacity                       32%                            -
zsamt7macpro  altroot                        -                              default
zsamt7macpro  health                         ONLINE                         -
zsamt7macpro  guid                           4561213182864968293            -
zsamt7macpro  version                        -                              default
zsamt7macpro  bootfs                         -                              default
zsamt7macpro  delegation                     on                             default
zsamt7macpro  autoreplace                    off                            default
zsamt7macpro  cachefile                      -                              default
zsamt7macpro  failmode                       wait                           default
zsamt7macpro  listsnapshots                  off                            default
zsamt7macpro  autoexpand                     off                            default
zsamt7macpro  dedupratio                     1.00x                          -
zsamt7macpro  free                           285G                           -
zsamt7macpro  allocated                      139G                           -
zsamt7macpro  readonly                       off                            -
zsamt7macpro  ashift                         12                             local
zsamt7macpro  comment                        -                              default
zsamt7macpro  expandsize                     -                              -
zsamt7macpro  freeing                        0                              -
zsamt7macpro  fragmentation                  0%                             -
zsamt7macpro  leaked                         0                              -
zsamt7macpro  multihost                      off                            default
zsamt7macpro  checkpoint                     -                              -
zsamt7macpro  load_guid                      14298758405209274379           -
zsamt7macpro  autotrim                       off                            default
zsamt7macpro  compatibility                  off                            default
zsamt7macpro  feature@async_destroy          enabled                        local
zsamt7macpro  feature@empty_bpobj            active                         local
zsamt7macpro  feature@lz4_compress           active                         local
zsamt7macpro  feature@multi_vdev_crash_dump  enabled                        local
zsamt7macpro  feature@spacemap_histogram     active                         local
zsamt7macpro  feature@enabled_txg            active                         local
zsamt7macpro  feature@hole_birth             active                         local
zsamt7macpro  feature@extensible_dataset     active                         local
zsamt7macpro  feature@embedded_data          active                         local
zsamt7macpro  feature@bookmarks              enabled                        local
zsamt7macpro  feature@filesystem_limits      enabled                        local
zsamt7macpro  feature@large_blocks           active                         local
zsamt7macpro  feature@large_dnode            enabled                        local
zsamt7macpro  feature@sha512                 enabled                        local
zsamt7macpro  feature@skein                  enabled                        local
zsamt7macpro  feature@edonr                  enabled                        local
zsamt7macpro  feature@userobj_accounting     active                         local
zsamt7macpro  feature@encryption             enabled                        local
zsamt7macpro  feature@project_quota          active                         local
zsamt7macpro  feature@device_removal         enabled                        local
zsamt7macpro  feature@obsolete_counts        enabled                        local
zsamt7macpro  feature@zpool_checkpoint       enabled                        local
zsamt7macpro  feature@spacemap_v2            active                         local
zsamt7macpro  feature@allocation_classes     enabled                        local
zsamt7macpro  feature@resilver_defer         enabled                        local
zsamt7macpro  feature@bookmark_v2            enabled                        local
zsamt7macpro  feature@redaction_bookmarks    enabled                        local
zsamt7macpro  feature@redacted_datasets      enabled                        local
zsamt7macpro  feature@bookmark_written       enabled                        local
zsamt7macpro  feature@log_spacemap           active                         local
zsamt7macpro  feature@livelist               enabled                        local
zsamt7macpro  feature@device_rebuild         enabled                        local
zsamt7macpro  feature@zstd_compress          active                         local
zsamt7macpro  feature@draid                  enabled                        local
zsamt7macpro  feature@zilsaxattr             active                         local
zsamt7macpro  feature@head_errlog            active                         local
zsamt7macpro  feature@blake3                 enabled                        local
kingneutron
 
Posts: 13
Joined: Sat Mar 16, 2019 4:37 pm

Re: Mismatched features MacOS ZFS 2.1.6 and Linux ZFS 2.1.9

Postby kingneutron » Wed Mar 22, 2023 2:58 pm

Workaround - copied data off and rebuilt 1 pool with compatibility list.

On the MacOS side:

Code: Select all
zpool create -o compatibility=/usr/local/zfs/share/zfs-macos/compatibility.d/openzfs-2.0-linux \
-o ashift=12 -o autoexpand=off -O atime=off -O compression=zstd-2 zsamt7macpro PSSD_T7_Shield-X17960CT0SNLS6S:7



It then imported OK on the Linux side, but now I get this warning message in zpool status:

Code: Select all
  pool: zsamt7macpro
 state: ONLINE
status: This pool has a compatibility list specified, but it could not be
        read/parsed at this time. The pool can still be used, but this
        should be investigated.
action: Check the value of the 'compatibility' property against the
        appropriate file in /etc/zfs/compatibility.d or /usr/share/zfs/compatibility.d.
config:
        NAME                                                    STATE     READ WRITE CKSUM
        zsamt7macpro                                            ONLINE       0     0     0
          usb-Samsung_PSSD_T7_Shield_S6SLNS0TC06971X-0:0-part7  ONLINE       0     0     0
errors: No known data errors
kingneutron
 
Posts: 13
Joined: Sat Mar 16, 2019 4:37 pm

Re: Mismatched features MacOS ZFS 2.1.6 and Linux ZFS 2.1.9

Postby lundman » Wed Mar 22, 2023 4:27 pm

I have the feeling Linux didn't put blake3 in their 2.1.6, but we took a copy of their master branch. They seem to have multiple branch streams going at the same time.

As for the last message, probably just means you don't have the compatibility text file on Linux that you used to create pool. You can safely ignore it, or, copy it
in by hand
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: Bing [Bot] and 27 guests