Deletion of a zvol with deduplication enabled - question regarding behaviour of openZFS #11475
spotlesscoder
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On this article https://www.solaris-cookbook.eu/linux/zfs-fun-zfs-compression-deduplication-useful-data-much-memory-need-zfs-dedup/ , at the very bottom, there is a very important remark:
"ZFS Dedupe and removing deduped Zvol
On a large scale zvol with deduplication the removal of a filesystem can cause the server to stall.
When using zfs destroy pool/fs ZFS is recalculating the whole deduplication. on a 1TB HD/Zpool, it took 5 hours to do so.
A workaround would be to disable prior to deletion the deduplication flag on that filesystem and then remove it."
Is this also true for openZFS?
If so, will it display a warning before executing the destroy operation?
Beta Was this translation helpful? Give feedback.
All reactions