Hello
I used BTRFS for 5 years. I just received (literally) a shiny 10TB hard drive, and I'm contemplating going back to ext4 with it.
I used linux for four times that long, and i have to say in 5 years i ran into more kernel bugs or troubles with BTRFS than with any other part of the kernel combined. On different computers. I'm probably a human BTRFS bug magnet, but luckily no data corruption yet. With the most recent one being :
- "Stable kernel version 3.19.1 to 3.19.4 can cause a deadlock at mount time" -> got it. From a default ubuntu 15.04 install, and afaik was never fixed in this ubuntu version. Understanding what was wrong was the first part of the fun, running around trying to mount disks of one computer on an other to fix the problem was the next one. Reproducible with almost every power-failure or "violent" reboot.
- "btrfs-transacti taking up a lot of CPU time" -> also got it. It was completely horrible in ubuntu 16.04. tried most suggested workaround (autodefrag mount, balance...). On an half full 512Gb ssd, i had updatedb completely freeze the system for 4 minutes every time it ran.
- I just learned a few month ago about "The parity RAID code has multiple serious data-loss bugs". The red warning was only added to the btrfs wiki in July 2016, and before June the only thing you could read was "From 3.19, the recovery and rebuild code was integrated. This brings the implementation to the point where it should be usable for most purposes. Since this is new code, you should expect it to stabilize over the next couple of kernel releases."
Although the first problem is fixed and ubuntu 16.10 bring a strong relief for the 2nd problem in normal workloads in my experience, all of those have been reported in the last 2 years after btrfs had been marked stable.
I don't really care for the annoyance I have been through with it (if I'm using cutting edge, I can't really complain being cut But what annoy me is that in 2007 there was this promising filesystem that was super-safe because checksumming and super-fast because B-tree... But almost 10 years latter my user experience made me lose my faith in it's ability to converge toward a state of "convenient robustness" you would expect from a filesystem and not a toy research project. At least with reiserfs - also once a promising filesystem - it's "time of death" was quite clear. But for btrfs we don't get that (and oracle execs are not even in jail so we don't even get that either to comfort us
Is BTRFS the future ? I would be interested to know the opinions of more knowledgable people. (kernel developers ?)
I used BTRFS for 5 years. I just received (literally) a shiny 10TB hard drive, and I'm contemplating going back to ext4 with it.
I used linux for four times that long, and i have to say in 5 years i ran into more kernel bugs or troubles with BTRFS than with any other part of the kernel combined. On different computers. I'm probably a human BTRFS bug magnet, but luckily no data corruption yet. With the most recent one being :
- "Stable kernel version 3.19.1 to 3.19.4 can cause a deadlock at mount time" -> got it. From a default ubuntu 15.04 install, and afaik was never fixed in this ubuntu version. Understanding what was wrong was the first part of the fun, running around trying to mount disks of one computer on an other to fix the problem was the next one. Reproducible with almost every power-failure or "violent" reboot.
- "btrfs-transacti taking up a lot of CPU time" -> also got it. It was completely horrible in ubuntu 16.04. tried most suggested workaround (autodefrag mount, balance...). On an half full 512Gb ssd, i had updatedb completely freeze the system for 4 minutes every time it ran.
- I just learned a few month ago about "The parity RAID code has multiple serious data-loss bugs". The red warning was only added to the btrfs wiki in July 2016, and before June the only thing you could read was "From 3.19, the recovery and rebuild code was integrated. This brings the implementation to the point where it should be usable for most purposes. Since this is new code, you should expect it to stabilize over the next couple of kernel releases."
Although the first problem is fixed and ubuntu 16.10 bring a strong relief for the 2nd problem in normal workloads in my experience, all of those have been reported in the last 2 years after btrfs had been marked stable.
I don't really care for the annoyance I have been through with it (if I'm using cutting edge, I can't really complain being cut But what annoy me is that in 2007 there was this promising filesystem that was super-safe because checksumming and super-fast because B-tree... But almost 10 years latter my user experience made me lose my faith in it's ability to converge toward a state of "convenient robustness" you would expect from a filesystem and not a toy research project. At least with reiserfs - also once a promising filesystem - it's "time of death" was quite clear. But for btrfs we don't get that (and oracle execs are not even in jail so we don't even get that either to comfort us
Is BTRFS the future ? I would be interested to know the opinions of more knowledgable people. (kernel developers ?)
Comment