25
submitted 1 month ago by Sunny@slrpnk.net to c/linux@lemmy.world

Hey folks!

I'm about to distro hop (again) to test Tumbleweed for a longer period of time 🦎 However, something i've not done before is to have my /home directory on a separate partition, should I? If I do it, should it be a different filesystem than the rest? (Been reading on OpenSuse TW forums and seen people mentioning that they use BTRFS for /home and XFS for the rest, or the other way around. Are there any benefits of using separate filesystems, or is this done to get the BTRFS backup for the /home dir?

What are the pros and cons of doing these changes to my system, lemmy know :)

you are viewing a single comment's thread
view the rest of the comments
[-] seaQueue@lemmy.world 3 points 1 month ago

Separate partition or btrfs subvolume is my preference, that way I can take homedir snapshots on a schedule (every hour or two) separate from my rootfs snapshot schedule.

[-] sxan@midwest.social 2 points 1 month ago

This.

I use single partitions, because since everything is SSD now, partition failures are almost nonexistent. I don't know why; I don't understand the mechanics of why disks are more prone to partition failures, but now when SSD start to fail, it seems as if it is anything except something that can be isolated by position.

But I do isolate by subvolume, and for the reason you give: snapshots. I snapshot root only when something changes, but do hourly snapshots of home. It keeps data use more manageable. Nightly backups, and I never have more than 24 home snapshot at a time.

[-] seaQueue@lemmy.world 2 points 1 month ago

Write yourself some package manager hook scripts that fire off root snapshots before package upgrades or installation. I keep like 10 of those in addition to my scheduled system snapshots. It makes rolling back a borked update trivial in case I don't have time to fix something that went wrong before important work needs to happen.

[-] sxan@midwest.social 1 points 1 month ago

snapper does that; I think it's available for most distros, so no scripting necessary. There's an Arch package that takes snapshots before installing any software.

Neat stuff!

this post was submitted on 22 Oct 2024
25 points (100.0% liked)

Linux

8197 readers
6 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS