this post was submitted on 13 Dec 2023
4 points (83.3% liked)
Everything ZFS
272 readers
1 users here now
A community for the ZFS filesystem.
ZFS is an opensource COW filesystem used by enterprise and serious homelabbers for it's data safety and extensive feature set.
OpenZFS is the active branch now developed primarily for Linux with a port to it's FreeBSD roots.
This community is here to answer questions and discuss topics related to the use of ZFS in the wild.
Rules:
As always, the main rule is Don't Be a Dick. Be polite with new users asking questions that you may consider obvious. If you don't have something constructive to offer, downvote and move on.
No dirty deletes: your posts are here for posterity, perhaps the next person will get something out of it, even if it's wrong.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I haven't used swap on zvol myself, but I've read about issues in low-memory situations, like this one: https://github.com/openzfs/zfs/issues/7734
To write to swap, zfs needs to allocate ARC memory. But to do that, it would need to write to swap...
Consider using zramswap, that's probably the easiest solution.