what can happen if i've not enough RAM with a ZFS with dedup option activated?


Don't do it. Dedupe on ZFS is bad news if you haven't planned well for it...

What can happen?

  • Your system can slow down considerably in certain operations. Holding the dedplication table in RAM isn't the best use of resources.
  • Your system can stall for DAYS if you delete data or filesystems the wrong way.

If there's any doubt, you shouldn't be using dedupe. Buy more disks. Design for more space. Use COMPRESSION instead... it's a much smarter choice for most data sets. I have yet to find a good application for ZFS deduplication that was worth the planning headache.

Also see:
Backup storage server with ZFS
ZFS - destroying deduplicated zvol or data set stalls the server. How to recover?

  • This confirms what I thought: deduplication is an academic speculation! thanks for the answer
    – CSG
    Apr 25 '13 at 9:40
  • @CSG De nada!!!
    – ewwhite
    Apr 25 '13 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.