After almost two years of #btrfs, today it was the first time that I exceeded myself and broke it! So, I had to rollback the "/" subvolume from a backup. I used send receive, deleted the damaged subvolume and create a new one in place using the backed up snapshop (2 lines in my terminal). Done! System is fully functional again, amazing! I should explore more. FIY, @iah, hope you get along well with btrfs ...

Follow

@crodges @iah btrfs is pretty amazing. I did a system upgrade on a box yesterday from openSUSE 15.0 to 15.1. Found out after that wireguard is not yet supported for 15.1, and I need it on this box. No problem, just rolled back to the auto-created pre-update snapshot (one command), rebooted, and I was back to a working 15.0. Like it never happened.

This is not the first time btrfs has saved my bacon and turned what would have been a full rebuild into a quick rollback.

@sean @crodges wow, that's awesome! What kernel are you using? I read that 5.2 have some improvements built in. But it's still a rc. Do opensuse support btrfs in the install? Maybe it's the default file system?

@iah @crodges Yes, openSUSE supports btrfs on root with snapshots. It's the default configuration, and the tooling is designed to work with it. E.g. the package manager automatically takes a pre snapshot before installing updates, and the bootloader supports booting from a snapshot. Makes recovery from update problems very simple.

Kernel 4.12.14 on Leap 15.1. Tumbleweed is 5.1.4.

@sean @iah Exactly! I was shocked about how easy it was to roll back

@sean

That is actually nice.
Do you consider btrfs mature enough? I've heard many different opinions about it

@crodges @iah

@selea @crodges @iah btrfs is quite mature. The bad press you probably heard about was a few years ago related to RAID5/6 and potential data loss. That one issue really stained their rep and prejudiced a lot of folks against btrfs. Most of the other negative reports often come from people who didn't do the research and learn how to setup btrfs or use/maintain it, then break it. It's an advanced filesystem that comes with added complexity and tooling

@selea @crodges @iah But I'll also caveat that by saying that I use btrfs on - a distribution that along with SUSE supports and helps develop btrfs. So the tooling is designed to work with btrfs and it is an integral supported option. I would be more reluctant to setup a similar btrfs on root config on a RHEL system, for example.

@selea @sean @iah I agree, from my readings, #btrfs is mature. There are some missing features (i'd like to see transparent encryption for one) but it's a superb beast. I use it with an Arch distro, and I am very satisfied

Sign in to participate in the conversation
Social

social.sdoconnell.net is one server in the network