Raid 5 Cache Drive Pool Is This Correct?


mbc0

Recommended Posts

According to the btrfs calculator (set the number of devices to 3 and choose the RAID-5 profile) you should have 960 GB of space available from three 480 GB disks so, no, it isn't correct. I'd like to be able to use RAID-5 myself but it is currently not advised because it is buggy and there's a serious risk of data loss. You ought to switch to RAID-1 instead. That will give you 720 GB of space and your data will be much safer.

  • Like 1
Link to comment
Just now, johnnie.black said:

Currently btrfs raid5/raid6 report the free space without accounting for parity, used space is correctly reported, it's still not implemented in the btrfs tools.

 

 

That's a real shame, I bought an extra 2 500GB SSD's for performance & redundancy but just ended up with redundancy 😞 I see post's going back years for Raid5 issues with btrfs so I guess this isn't something going to be fixed imminently! 

Link to comment

Most issues with btrfs raid5 are fixed on current kernel, I have several raid5/6 pools myself running perfectly for a few months, remaining issue is basically the write hole problem if there's an unclean shutdown, that issue affects most raid5/6 implementations, not just btrfs, UPS is recommended to minimize the risk.

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.