Jump to content

BTRFS vs ZFS for raid1 SSD cache pool - the definitive answer please


Recommended Posts

I'm adding a new 2x2tb SSD cache pool to have some redundancy there.

 

I have the option between BTRFS and ZFS.  I hear there's stability issues with BTRFS.  If BTRFS isn't able to consistently survive power being cut while using consumer SSDs, then it really isn't a viable option.  Is this the case?  (Of course I use a UPS, but we all know can UPSs fail, often at the worst time.)

So, is ZFS better in the regard?  And if so, why is BTRFS even an option?

Link to comment

Btrfs usually has no problem surviving a power cut, since writes are atomic, it can have issues (same for zfs) if the devices have write barrier issues and lie when all writes are not really done, this can be a firmware issue with some devices or controllers, having said that, zfs is considered the more robust of the two, so having the choice I would go with zfs.

Link to comment
12 hours ago, brainbone_ said:

And if so, why is BTRFS even an option?

BTRFS has been an option for a long time while ZFS has only been recently added and is still being worked on.   In addition there are advantages to BTRFS in terms of its ability to easily add new drives to an existing pool in any combination of numbers and sizes whereas ZFS is far more strict with regard to this.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...