tech question (btrfs) 

i'm reading about btrfs and still struggling to see any reason why i wouldn't just use ext4. there's gotta be a reason, right? i'm just not seeing any, especially if you just want a no-nonsense fs that you don't plan on interacting with all that much. snapshots and subvolumes and all that stuff just looks like a hassle rn

tech question (btrfs) 

@trwnh snapshots and subvolumes are the primary reasons to use btrfs. The other is that it is a CoW filesystem, which is superior to journaling.

Follow

tech question (btrfs) 

@matt yeah and i'd really like to understand what those are, why i'd use them, how i'd use them, etc

· · Web · 2 · 0 · 0

tech question (btrfs) 

@matt see this is a much better start to my research than the other 20 tabs i have open rn, this is good

tech question (btrfs) 

@trwnh I use BTRFS for my NAS RAID10 array for the bitrot protection. As long as you avoid RAID5/6 you should be fine.

Though if I were to rebuild the array today I would do it with ZFS

tech question (btrfs) 

@matt i'm pretty wary of zfs's inflexibility with regard to exact disk sizing, so i'd personally not use it unless it was for a fixed deployment. buying drives in batches is just not affordable for me, and it's probably a bit bad for reliability too bc it could lead to multiple failures within a short timeframe. being able to add different-sized drives at any time is pretty important to me

tech question (btrfs) 

@trwnh True, btrfs is definitely flexible in that regard.

tech question (btrfs) 

@matt also the other thing is like... it's easy to say things like "CoW is better than journaling" in an explainer but really hard to qualify that statement in a meaningful way to someone who doesn't really understand exactly what those are? and then what of the cases where you might want to disable CoW and/or journaling? there's nuance that gets stripped out of explainers but glossed over in the documentation

tech question (btrfs) 

@trwnh CoW let's you copy one file 1000x times and take up almost no additional space. If one of those copies is changed, only the "change" is saved to disk.

tech question (btrfs) 

@trwnh there are cases where CoW should be disabled, such as when running certain databases, but I'm not an expert on that.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!