this post was submitted on 11 Aug 2023
123 points (96.9% liked)
Linux
47958 readers
1624 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think you're going to get a wide variety of responses here. It comes down to a lot of factors.
For me personally, I've been shifting everything I have to Btrfs, so I can tell you what I've done recently and why.
A big caveat is that many of my systems have multiple physical drives. This means I'm often setting things up based on the speed and capacity of those disks.
But, I do have one system with a single drive shared for booting, root, and home. It's set up like this:
A FAT32 partition for /boot. 512 MB.
A single Btrfs partition across the rest of the drive.
Btrfs subvolumes: @ mounted at /, @home mounted at /home. @snapshots mounted at /.snapshots.
I could go crazy with other subvols (e.g. for /var/log), but ultimately it is sufficient for me to be able to snapshot / and /home separately.
For some of my other systems, I'll have / and /home on different drives. In that case, each has their own @snapshots with their own mount point. I tend still to throw the EFI boot partition mounted at /boot on the same drive as /.
It's very easy to simply change /etc/fstab as needed and point to another snapshot, effectively rolling back the drive to some former point as necessary.
I've had some wild issues that I can't even begin to explain with btrfs. I landed on using xfs for / partition and btrfs on /home
Fair, I've not had any issues but I'm sure they exist. One or the other is faster based on workload, too, so it's not really that one is objectively better all the time.
tbh I'm pretty sure the issue I ran into was user error anyways, but once I finally figured out what I was doing, I decided to land on xfs for root and btrfs for home for the following reasons.
I'm sure a lot of them existed 10 years ago but today it is a really good FS. I'm using btrfs on my server and laptop for a few years and had 0 issues. Today's opinions on largly btrfs base on bugs and FUD from the past which is a shame.
Except RAID5 and 6. Don't use them with btrfs :)