this post was submitted on 21 Nov 2026
109 points (100.0% liked)

Selfhosted

64212 readers
442 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Per title. From quick googling, I understand that zfs is a filesystem that provides some kind of software RAID and resiliency (eg CRC checks at the block level). Is my understanding right that it just good for detecting storage corruption, but not really self healing?

My home server just for a mini storage/ media server and I am broke to afford RAID. So at the moment, it's just 2 consumer grade drives .

So pros with zfs I can think of, I get slightly better data resiliency.

But after reading the docs, the cons for me are that a) it's not so straightforward/ somewhat complex to tune and use, b) it's not default in mainline linux, and c) slightly lower performance?

What do you think and is it worth learning to use it vs just slapping a plain xfs/ ext4 ?

you are viewing a single comment's thread
view the rest of the comments
[–] ryannathans@aussie.zone 1 points 1 week ago (1 children)

Snapshotting, which ZFS has, prevents any data loss from accidental deletion or mistakes.

Snapshots also occupy no space until you delete files

[–] possiblylinux127@lemmy.zip 5 points 1 week ago* (last edited 1 week ago) (1 children)

You could just use btrfs which has way less overhead

[–] ryannathans@aussie.zone 2 points 1 week ago (1 children)

Alright gonna need some kind of citation for "way less overhead"

[–] The_Decryptor@aussie.zone 1 points 1 week ago (1 children)

It'll depend on the specific system configuration, but by default ZFS has an internal cache that takes half the system RAM for itself, while btrfs doesn't do any special caching and uses the same kernel caching layer as Ext4/XFS/etc.

You can tweak it down, but it is something to be aware of.

[–] ryannathans@aussie.zone 1 points 1 week ago

ARC is literally just a smarter version of the memory caching you're going to get with every filesystem. You only notice it because it's tracked well and you have access to detailed statistics. Your free memory with other file systems is used for caching in much the same way as you mentioned.

"Half the system ram" is bullshit, that's the maximum allowable and only if you aren't using and don't need the memory. You don't need to tweak anything down, the default minimum cache is 32MB or 1/32 of system RAM.