Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
ZFS dedup is memory constrained, and the memory use scales with the block hashes.
If performance isn't a concern, you're better off compressing your media. You'll get similar storage efficiency with less crash consistency risk.
ZFS in general is pretty memory hungry. I set up my proxmox sever with zfs pools a while ago and now I kind of regret it. ZFS in itself is very nice and has a ton of useful features, but I just don't have the hardware nor the usage pattern to benefit from it that much on my server. I'd rather have that thing running on LVM and/or software raid to have more usable memory for my VM's. And that's one of the projects I've been planning for the server, replace zfs pools with something which suits my usage patterns better, but that's a whole another story and requires some spare money and some spare time, which I don't really either at hand right now.
Just adjust it if you actually need the RAM and it isn't relinquishing quickly enough.
options zfs zfs_arc_max=17179869184
in /etc/modprobe.d/zfs.conf,update-initramfs -u
, reboot - this will limit ZFS ARC to 16GiB.arc_summary
to see what it's using now.As for using a simple fs on LVM, do you not care about data integrity?
But if I have 32GB to start with, that's still quite a lot and, as mentioned, my current usage pattern doesn't really benefit from zfs over any other common filesystem.
Where you get that from? LVM has options to create raid volumes and, again as mentioned, I can mix and match those with software raid however I like. Also, single host, no matter how sophisticated filesystems and raid setups, doesn't really matter when talking about keeping data safe, that's what backups are for and it's a whole another discussion.