block clone / reflink space savings reporting on pool level vs. dataset level #16024
Closed
hanneskasp
started this conversation in
General
Replies: 1 comment 1 reply
-
Block Cloning ZFS feature is effectively a lighter version of dedup. It works on a pool (actually individual VDEVs) level and knows nothing about datasets. The only reasons it may be limited to dataset are either Linux kernel restrictions on some of APIs used by reflink, or limitations of ZFS encryption, which may have different keys for different datasets. It is impossible to provide per-dataset statistics for Block Cloning. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I noticed, that reflink / bcloneratio space savings are reported on zpool level instead of dataset level. Is that expected or a bug? I'm asking, because reflink only works within a dataset, so I assume reporting on space savings could also be reported "per dataset". The use-case is charge-back "per tenant" where every "tenant" would have its own dataset while showing how much data reflink / block cloning saved him
no output for this
zfs get all /pool4/linktest | grep -i clon
What do you think?
Best regards,
Hannes
Beta Was this translation helpful? Give feedback.
All reactions