We talk about ZFS a lot here, but it does have some competition. For Linux, that can be BTRFS which was started by Oracle 2007 and released 2009.
For me, I had originally used 2 root partitions, (in some cases on the same disk), so I could avoid the dreaded Gentoo Linux failed upgrade. Back then, I tended to perform a full backup just before updating and have had to perform several full restores. Annoying.
So, I created a second root partition and made alternate boot environments out of them. With separate Grub entries for both. (This was inspired by Solaris’ alternate boot environments…) This worked very well, but ate up twice as much disk space for the root file system.
When BTRFS came out as reasonably stable, I gave that a try, maybe around 2011. It had quirks.
The most annoying for me was that a new, snapshot & clone was not allowed to be named in Grub. Had to use it’s ID. That meant I had to edit both the old BE and new BE’s Grub configuration file. But, that was fixed and then I was able to use the BE’s name in Grub. Simplified the creation of the alternate boot environment.
However, by the time 2014 rolled around, BTRFS still was not considered production ready. To my knowledge, I had not lost any data but then why wasn’t the Linux community jumping on the BTRFS bandwagon?
So, during a build of my new media server, I tried Gentoo Linux’s OpenZFS implementation. That went reasonably well, though recovery tended to be problematic. (Finding Linux boot image with recent OpenZFS…)
Eventually I converted all my computers over to OpenZFS. And when possible, Mirrored the root. Other than a few quirks during updates, everything was good.
One quirk with OpenZFS was that between releases, the API was not stable. Thus, you had to match the kernel with userland code, otherwise it would not work. Especially having to recreate the initial RAM disk for the new kernel modules. Again, eventually this was fixed.
So, have any of you used BTRFS recently?
If so, how was your experience?
Note, we don’t need to bash BTRFS here. Nor describe it’s short comings.