Description
System information
Type | Version/Name |
---|---|
Distribution Name | ubuntu |
Distribution Version | 24.04.1 |
Kernel Version | 6.8 |
Architecture | x64 |
OpenZFS Version | git master @ 46c4f2c |
Describe the problem you're observing
I upgraded two of my existing pools to the openzfs-2.3 compat profile, which included enabling feature@fast_dedup. I then enabled dedup=on on several of each of these pool's datasets and generally used the pools for a few days including copying some redundant/deduppable data around.
zfs5 dedupratio 1.06x -
zfs5 dedup_table_size 299M -
zfs5 dedup_table_quota auto default
zfs5 feature@fast_dedup active local
zfs4-on-8tbgold dedupratio 1.22x -
zfs4-on-8tbgold dedup_table_size 1.70G -
zfs4-on-8tbgold dedup_table_quota auto default
zfs4-on-8tbgold feature@fast_dedup enabled local
On both pools my dedupratio mutated and grew (as did dedup_table_size!), but only the zfs5 pool reports feature@fast_dedup=active; on the other pool it's merely 'enabled'.
I conclude that one of three things is happening:
- fast dedup is indeed being used on zfs4-on-8tbgold but feature@fast_dedup is not correctly flipping over to 'active'.
- For some reason zfs4-on-8tbgold is correctly doing dedup but it's exclusively using the old 'slow dedup' path / dedup tables / format.
- As documented in zpool-features(7) the flag has reverted to 'enabled' because the dedup table is empty; with my recent activity and dedupratio I'm doubtful that this is the case but I'd be happy to try to verify this.
(1) would be a bug, (2) isn't a bug per se but is mysterious and inscrutable AFAICT. I suspect that (2) is what's actually happening because (for whatever reason) I haven't prompted creation of a new dedup table on zfs4-on-8tbgold; the mechanisms for doing so are somewhat vague in zpool-features(7) but I'll have a little fiddle around.
Include any warning/errors/backtraces from the system logs
No obvious errors reported.