public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Using btrfs raid5/6
@ 2024-12-04  3:34 Scoopta
  2024-12-04  4:29 ` Andrei Borzenkov
  2024-12-04  4:40 ` Qu Wenruo
  0 siblings, 2 replies; 28+ messages in thread
From: Scoopta @ 2024-12-04  3:34 UTC (permalink / raw)
  To: linux-btrfs

I'm looking to deploy btfs raid5/6 and have read some of the previous 
posts here about doing so "successfully." I want to make sure I 
understand the limitations correctly. I'm looking to replace an md+ext4 
setup. The data on these drives is replaceable but obviously ideally I 
don't want to have to replace it.

1) use space_cache=v2

2) don't use raid5/6 for metadata

3) run scrubs 1 drive at a time

4) don't expect to use the system in degraded mode

5) there are times where raid5 will make corruption permanent instead of 
fixing it - does this matter? As I understand it md+ext4 can't detect or 
fix corruption either so it's not a loss

6) the write hole exists - As I understand it md has that same problem 
anyway

Are there any other ways I could lose my data? Again the data IS 
replaceable, I'm just trying to understand if there are any major 
advantages to using md+btrfs or md+ext4 over btrfs raid5 if I don't care 
about downtime during degraded mode. Additionally the posts I'm looking 
at are from 2020, has any of the above changed since then?

Thanks!


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2024-12-24  9:33 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04  3:34 Using btrfs raid5/6 Scoopta
2024-12-04  4:29 ` Andrei Borzenkov
2024-12-04  4:49   ` Scoopta
2024-12-04  4:40 ` Qu Wenruo
2024-12-04  4:50   ` Scoopta
2024-12-04 19:17   ` Andrei Borzenkov
2024-12-04 22:34     ` Qu Wenruo
2024-12-05 16:53       ` Andrei Borzenkov
2024-12-05 20:27         ` Qu Wenruo
2024-12-06  3:59           ` Andrei Borzenkov
2024-12-06  4:16             ` Qu Wenruo
2024-12-06 18:10               ` Goffredo Baroncelli
2024-12-07  7:37               ` Andrei Borzenkov
2024-12-07 20:26                 ` Qu Wenruo
2024-12-10  2:34                   ` Zygo Blaxell
2024-12-10 19:36                     ` Goffredo Baroncelli
2024-12-11  1:47                       ` Jonah Sabean
2024-12-11  7:26                       ` Zygo Blaxell
2024-12-11 19:39                         ` Goffredo Baroncelli
2024-12-15  7:49                           ` Zygo Blaxell
2024-12-21 18:32                     ` Proposal for RAID-PN (was Re: Using btrfs raid5/6) Forza
2024-12-22 12:00                       ` Goffredo Baroncelli
2024-12-23  7:42                         ` Andrei Borzenkov
2024-12-24  9:31                           ` Goffredo Baroncelli
2024-12-06  2:03   ` Using btrfs raid5/6 Jonah Sabean
2024-12-07 20:48     ` Qu Wenruo
2024-12-08 16:31       ` Jonah Sabean
2024-12-08 20:07         ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox