Y
Y
Yury Martynov2016-07-02 14:27:31
linux
Yury Martynov, 2016-07-02 14:27:31

What is the stability of the Btrfs file system at the moment?

Good day! ^^
I'm planning to migrate an already installed distribution (Gentoo Linux) from an ext4-fs HDD to an SSD partition using clonezilla. A little later I want to optimize the file system for SSD, and now I'm faced with a choice:
1. Leave the file system as it is (ext4 - sorry for SSD -_-)
2. After moving from partition to partition, convert the root to Btrfs, which, as I write, more friendly to SSD drives BUT, it seems to be unstable.
3. Find something else that would support TRIM technology and, in general, would be more loyal to SSD
Questions:
What is the current stability of Btrfs? If someone had to work with this FS, did any pitfalls arise? Is there any other alternative suitable for SSD in Linux?
* kernel 4.4.6-gentoo

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Armenian Radio, 2016-07-02
@gbg

BTRFS broke down for me two times during the SUDDEN shutdown of the virtual machine inside which it was located. His recovery tools said "Oops, need to be repaired!" and then segfaulted.
In total, for myself, I decided that Btrfs is nafig, and not for prod.
At home, I've been using ext4 for the fourth year on a Sandisk SSD. Load - compilation and virtual machines. No problem.

S
Slava Kryvel, 2016-07-02
@kryvel

I have had btrfs on Arch for about two years, and I always use the latest versions. during this time there were two situations when the file system broke. once, through my fault, I got tired of waiting for the completion of some operation with the file system and killed the process. after that, I could only boot into readonly, after which btrfs restored everything pretty quickly using standard means.
The second time I don’t remember why, but it seems after a hard reset. Here it was already more difficult, but everything was decided by connecting snapshot'a from the backup.
In general, snapshots, in my opinion, are what btrfs is worth using for. anyway, that's a huge plus.
so if you just have a desktop, then I recommend!) especially for gentoo. if something breaks, it will take less than a minute to return to the previous state of the file system;
with ext4, there were much more problems in my memory. especially after an unexpected power outage.
and zfs in general. He has no equal in my opinion. At work, I used Solaris for about 5 years, since version 11 it has been used by default there. awesome fs!

E
Ethril, 2016-07-02
@Ethril

I recently bought a NAS Netgear-ovsky - it turned out to be debian 7 and btrfs inside. Well, if the manufacturers began to shove it into their nases, then apparently with stability everything is more or less narrower.

Y
Yuri Chudnovsky, 2016-07-02
@Frankenstine

Been using btrfs on a work laptop for a few years before it even supported booting directly from a btrfs partition. I used it on an SSD but it died a month after the end of the warranty. Ultimately, he abandoned btrfs, but only because of misunderstandings with free space when using encryption - in the presence of a giga-other place both according to df -h and btrfs fi df, a situation arose periodically when efs screamed that it could not write files, because there is no more space on the device, and I had to urgently delete / move something so that errors would stop appearing, for a while.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question