this post was submitted on 13 Sep 2023
18 points (80.0% liked)

homelab

6707 readers
62 users here now

founded 4 years ago
MODERATORS
 

Btrfs gets a bad rap sometimes but I have been using it for years and it works very well. It is able to take failing hardware and power outages and still has good performance.

top 30 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (2 children)

For those without knowledge: Alternatives to BTRFS are what? EXT4 or NTFS?

[–] [email protected] 6 points 1 year ago

Mostly ZFS, XFS and ext4

[–] [email protected] 4 points 1 year ago (1 children)

Correct, btrfs is a filesystem format.

[–] [email protected] 1 points 1 year ago (1 children)

What are the alternatives to it? NTFS? EXT4? ExFAT? FAT32??

[–] [email protected] 3 points 1 year ago (1 children)

xfs. ext4 doesn't have a comparable feature set, and nobody is going to use those others as their main filesystems on Linux. bcachefs will be a contender, once it's included in the kernel, or if you're the sort who compiles their own kernels.

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (2 children)

The only file-system that is somewhat comparable to btrfs is OpenZFS. Xfs isn't.

[–] [email protected] 2 points 1 year ago

Yeah, zfs is what I meant. Or yfs, as in "Y-use anything but btr-FS?"

[–] [email protected] 2 points 1 year ago (1 children)

Seems like zfs or btrfs?
At least I usually read about storage file system usually being ZFS by default.

[–] jelloeater85 2 points 1 year ago (1 children)

ZFS has been around for a long time. Rock solid w RAID. See FreeNAS. ZFS was orig on BSD but AFAIK got ported to Linux a while back.

[–] [email protected] 2 points 1 year ago

It now TrueNAS and both freebsd and Linux use the same implementation (openzfs)

[–] TCB13 4 points 1 year ago* (last edited 1 year ago)

Yes BTRFS is really good and solid. Usually survives hardware failure much better than the EXT* crap. And sub volumes and snapshots, damn finally a modern filesystem.

[–] [email protected] 3 points 1 year ago

Agreed, I switched over from OpenZFS to btrfs and while it does lack some more advanced features, using btrfs for raid1 disk pools has been a very solid and hassle free experience.

[–] jelloeater85 2 points 1 year ago* (last edited 1 year ago) (2 children)

I've used Proxmox in the past w it, worked okie. One crazy hypervisor, ton of features. I mostly stick w VMware, it just works. My uptime is measured in years.

[–] [email protected] 4 points 1 year ago

Well I'll never get a uptime like they in proxmox cause I update.

[–] [email protected] 1 points 1 year ago

You can do the same thing with proxmox.

The benefit of proxmox is that it is libre and uses Linux components.

[–] beerclue 2 points 1 year ago (1 children)

To be honest, I don't see a benefit for btrfs (or zfs). I prefer plain ext4 (no LVM). It's simpler and faster. I have no need for snapshots. Proxmox handles my vms and my working machines are just a collection of dot files... But that's just me. It's good that there are choices.

[–] [email protected] 1 points 1 year ago (1 children)
[–] beerclue 1 points 1 year ago

It's been a while since I looked at benchmarks (https://www.phoronix.com/news/Linux-5.14-File-Systems). It could be these days.

[–] [email protected] 1 points 1 year ago (2 children)

My anecdotal experience with btrfs is that it constantly broke in raid 1, no problems with any other filesystems on the exact same hardware and setup. YMMV

[–] [email protected] 4 points 1 year ago (1 children)

How long ago was that? Modern btrfs is pretty stable.

[–] [email protected] 1 points 1 year ago

Last year, unraid, identical SSDs. I changed so many sata and power cables, so many settings.

[–] jelloeater85 2 points 1 year ago (1 children)

I love it for single drives, but for RAID, ZFS all the way.

[–] conrad82 3 points 1 year ago (1 children)

ZFS also supports single drives, is there a reason to use btrfs instead?

[–] jelloeater85 1 points 1 year ago

IIRC it works with TimeShift, aka time machine for Linux.

[–] [email protected] 1 points 1 year ago (1 children)

It has been a while since I looked at it but does proxmox support HA replication using btrfs? From what I remember only zfs worked with those features.

[–] [email protected] 1 points 1 year ago

I don't know as I don't use that feature

[–] amniote 1 points 1 year ago (1 children)

Its supposed to be called betterFS but Jim Salter keeps calling it butter FS. Doesn't really inspire confidence. At least it's gonna need.. a better name

[–] [email protected] 1 points 1 year ago (1 children)

I don't know who Jim is but I just call it butterfs

[–] amniote 1 points 1 year ago (1 children)

Jim Salter, the former mod of r/zfs ? Former Ars Technica ? Currently in the ' 2.5 Admins' podcast?

He's the hot knife of butter FS.

[–] [email protected] 2 points 1 year ago

Ok that still doesn't ring a bell but he seems important to you so that's good enough for me