@[email protected]
link
fedilink
English
5
edit-2
2Y

ZFS raidz1 or raidz2 on NetBSD for mass storage on rotating disks, journaled FFS on RAID1 on SSD for system disks, as NetBSD cannot really boot from zfs (yet).

ZFS because it has superior safeguards against corruption, and flexible partitioning; FFS because it is what works.

Sifr Moja
link
fedilink
-12Y

@Hopfgeist @sam I prefer RAID10 on rust.

What are the advantages of raid10 over zfs raidz2? It requires more disk space per usable space as soon as you have more than 4 disks, it doesn’t have zfs’s automatic checksum-based error correction, and is less resilient, in general, against multiple disk failures. In the worst case, two lost disks can mean the loss of the whole pack, whereas raidz2 can tolerate the loss of any 2 disks. Plus, with raid you still need an additional volume manager and filesystem.

Sifr Moja
link
fedilink
-12Y

@Hopfgeist Speed on large spinning disks. Faster rebuilds. Less chance of complete failure because or URE.

@[email protected]
link
fedilink
English
32Y

BTRFS on OS volumes for the rollback features and ext4 for data volumes because I have never had total data loss from ext3 or ext4.

Morethanevil
link
fedilink
English
12Y

Btrfs except for /boot. Boot is ext4 but all other volumes are btrfs. Important stuff like docker, lxc or VMs are on subvolumes for quick snapshots just in case

@[email protected]
link
fedilink
English
182Y

Btrfs because I’ve had constant issues with zfs in multiple different times.

Everyone praises zfs so I’m sure it’s something I’m missing, but I’ve had very little issue with btrfs, other than it’s incomplete feature set.

@[email protected]
link
fedilink
English
42Y

What kind of issues?

poVoq
link
fedilink
English
92Y

Its mostly that due to licensing issues it can’t be included in the Linux kernel like btrfs and thus is prone to breaking at very in-opportune times.

IMHO both are fine, but btrfs is more hassle free and good enough ™ for hobby self-hosters.

Sifr Moja
link
fedilink
02Y

@poVoq @vext01 so no issues.

He’s talking about kernel taint. That is annoying in Linux.

surfrock66
link
fedilink
English
2
edit-2
2Y

For most systems, ext4 because it seems stable and uncomplicated.

For my NAS and big data, ZFS. People whose opinions I trust recommend it, and to the best of my technical ability to evaluate said things, the claims make sense and seem to be extremely beneficial against the threats I perceive to my data.

@[email protected]
link
fedilink
English
292Y

ZFS. I want snapshots, volumes, encryption etc. btrfs fucked me over too often. Also I prefer the semantics of the zfs and zpool utils and the way mount points are handled. Thanks to ZFSBootMenu I can even have /boot as a zfs volume and have it therefore incluced in my snapshots. And did I mention that all of that is encrypted? Anyway. Love it.

Max-P
link
fedilink
English
172Y

ZFS is really like the god filesystem: it supports basically everything you might want out of the box. Compression, encryption, snapshots, CoW, RAID, checksumming, casefolding/case insentivity, block volumes, you name it.

You can get compression, snapshots and CoW with btrfs and some basic RAID, but not encryption. You can get encryption with ext4 but pretty much nothing else. Gotta do LUKS and LVM if you want volume management, mdadm if you want any sort of RAID. f2fs does pretty much nothing but flash friendly storage.

tcm
link
fedilink
English
92Y

It’s a shame it can’t be included in the mainline kernel. Especially over what seems to be a legal technicality.

@[email protected]
link
fedilink
English
12Y

ZFS for RAID array and BTRFS for root is the way to go!

@[email protected]
link
fedilink
English
142Y

I have enough to think about without the damn file system getting complicated. So plain old ext4. It’s stable, it works it’s great.

I used btrfs once and it went really badly. When it gets corrupted it refuses to even let you mount read only. The documentation isn’t good and you end up finding obscure wiki’s with big warnings to only run these commands if you know what you’re doing - but of course I don’t, there’s no where to learn it and the only people who do know are the developers who wrote the file system. No thanks! It holds your data captive, so you better have some spare time and some backups. Never again.

@[email protected]
link
fedilink
English
52Y

That’s my issue with btrfs as well. If you can’t recover a file system when something goes wrong it isn’t production ready imo.

@[email protected]
link
fedilink
English
12Y

Totally agree, plus it’s 14 years old, and at this point I think it’s fair to just give up on it.

@[email protected]
link
fedilink
English
22Y

Zfs on freebsd file server, for the error checking, error correction and flexibility.

FFS everywhere else, because I’m an OpenBSD guy. I don’t love FFS, but it works.

@[email protected]
link
fedilink
English
2
edit-2
2Y

Ext4 (for my laptop and stuff) and ZFS (as mirrors or raidz2 for my proxmox host and data).

@[email protected]
link
fedilink
English
62Y

Right now just ext4 because I’m just hosting a minecraft server and a website that’s not even up right now. I’m thinking about btrfs when I build my next system. Transparent file compression and sub-volumes looks appetizing

SeriousBug
link
fedilink
English
42Y

ext4 on an mdadm raid. It works well enough, and supports growing your array.

Although if I rebuilt this from scratch, I would skip mdadm and just let minio control all the drives. Minio has an S3 compatible API, which I’d then mount into whatever apps need it.

stephenc
link
fedilink
English
22Y

Love mdadm, it’s simple and straightforward.

@[email protected]
link
fedilink
English
52Y

Love MinIO but it’s not a filesystem and mounting object storage as a filesystem is not a great experience (speaking from commercial experience).

@[email protected]
link
fedilink
English
32Y

Same experience here. S3 is essentially a key/value store to simply put and retrieve large values/blobs. Everything resembling filesystem features is just convention over how keys are named. Comminication uses HTTP, so there is a lot of overhead when working with it as an FS.

In the web you can use these properties to your advantage: you can talk to S3 with simple HTTP clients, you can use reverse proxies, you can put a CDN in front and have a static file server.

But FS utils are almost always optimized for instant block based access and fast metadata responses. Something simple like a find will fuck you over with S3.

@[email protected]
link
fedilink
English
52Y

I love em all, especially btrfs. But I have to stay away from xfs. Had so many weird issues with it that made no sense.

@[email protected]
link
fedilink
English
322Y

Ext4, my needs are simple and in all the years I’ve been using extX, never had a problem

Outcide
link
fedilink
English
182Y

Same. I tried btrfs and ended up with a corrupted drive. I’ve never had ext4 fail on me in a way that wasn’t recoverable. Boring and safe are features I like in my filesystems.

terribleplan
link
fedilink
English
42Y

Ext4 because it is rock solid and a reasonable foundation for Gluster. Moving off of ZFS to scale beyond what a single server can handle. I would still run ZFS for single-server many-drive situations, though MDADM is actually pretty decent honestly.

@[email protected]
link
fedilink
English
22Y

XFS for the moment, but transitioning towards ZFS. I’d never touch btrfs again, it simply is not resilient or as recoverable as a quality file system should be.

Create a post

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.
  • 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:

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

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog