493
submitted 7 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 7 months ago* (last edited 7 months ago)

See, this is why BTRFS is a good idea.

I borked one of my installs today by accident. I'm not even sure what happened... I upgraded the kernel, then weird things started happening, then X just froze, I restarted, runit would't even go to phase 3 of the boot process, X couldn't load, just gave a bunch of errors. Oh well, BTRFS to the rescue ๐Ÿ˜Š. This is where things get interesting ๐Ÿ˜‚.

I was on the phone with my wife while I was trying to bring back a snapshot of the volume... have no idea what I did, but I managed to wipe the root subvolume ๐Ÿ˜‚. Not like just empty, but completely gone ๐Ÿคฃ. OK ๐Ÿ˜ฌ. Let's see if the snapshots are still there. Yep, still there. OK, recreated the subvolume and tried to load a snapshot of it, this time, wuthout talking on my phone ๐Ÿ˜‚. Worked like a charm ๐Ÿ˜Š. Restart, sure enough, it loads grub and the OS, everything's back to normal ๐Ÿ˜Š.

Start using filesystems that can make snapshots, like BTRFS or ZFS. Sure, they have a bit of a learning curve, but trust me, it's worth it.

this post was submitted on 07 Feb 2024
493 points (95.1% liked)

linuxmemes

20817 readers
734 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS