5

I'm fairly new to both GNU/Linux and btrfs, but I've decided I want to make my next computer (a desktop with one HDD) use Linux with btrfs as the filesystem. However, I've seen some advice online that says that I shouldn't use btrfs for my /home partition; some sources say it's not safe enough, and others say it might slow the system down in some way related to writing small files. I've also noticed that openSUSE's default is to have a separate /home partition using XFS.

Is there anything to this, or some other reason why I shouldn't use btrfs for /home? Even if I use a separate partition for /home, is there a reason I shouldn't use btrfs on that separate partition?

1 Answers1

7

As for now (2015 Jan) we already have a status of Btrfs:

Stability status

The filesystem disk format is no longer unstable, and it's not expected to change unless there are strong reasons to do so. If there is a format change, file systems with a unchanged format will continue to be mountable and usable by newer kernels.

The main thing is to use latest Linux kernels to avoid old kernel Btrfs implementation. Now, lot of development efforts are pushed to Btrfs development and most probably it will become next generation default FS for Linux, a successor of EXT4.

To have best performance use noatime mount option, and I also recommend to use mount option recovery, which allows Btrfs to automatically make recovery operations in case of power or system failure.

Mount options such as compress are not recommended for a heavily used mount point (i.e. /home).

If you are willing not to take any "risk" now, and wait until it may become default Linux FS, then choose EXT4 as FS option, which has direct migration (conversion) path to Btrfs. Even more, it allows you to revert conversion in case you are not happy with it.

Jawa
  • 3,679
Arunas Bart
  • 1,766