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
[–] neidu4@piefed.social 2 points 1 week ago* (last edited 1 week ago) (1 children)

Depends on your requirement and hardware really. If you don't have the RAM for zfs, but a proper RAID controller, just go for raid 6. (The ones crying about raid and dataloss never use a proper RAID controller). If you do not have one, then zfs is a pretty decent choice, but it benefits greatly from having loads of RAM (not required, just very beneficial). If you need something ridiculously large, beegfs is your friend.

For me, personally, I use zfs to serve a volume of 24 physical drives at home. I find that zfs sits in the middle where it's flexible enough to serve a lot of those intermediate situations where mdraid isn't enough, you don't have a (proper) raid controller, and it's not enough disks/machines to justify beegfs.

With 2 drives I'd just go mdraid.

[–] Shimitar@downonthestreet.eu 5 points 1 week ago (1 children)

If you don't have ram for zfs, go with btrfs, it's pretty much lightweight in my experience. But never tried zfs so cannot compare

Also btrfs has zero licensing issues and it's standard in the Linux kernel without the need for additional patches like zfs.

[–] neidu4@piefed.social 1 points 1 week ago* (last edited 1 week ago) (1 children)

I'm the inverse, I've never use ~~birds~~ btrfs, lol. I've got all my use cases covered already, so I don't foresee a need for it.

Edit: ducking autocorrect

[–] Shimitar@downonthestreet.eu 1 points 1 week ago

Yes they are alternatives. Zfs has the most hype, btrfs lacks the licensing issues and it's already well integrated in the kernel l.