* RAID1 vs RAID10
@ 2025-10-20 12:21 Ulli Horlacher
2025-10-20 12:28 ` Johannes Thumshirn
2025-10-20 13:05 ` Andrei Borzenkov
0 siblings, 2 replies; 5+ messages in thread
From: Ulli Horlacher @ 2025-10-20 12:21 UTC (permalink / raw)
To: linux-btrfs
I have just discovered, that RAID1 is possible with more than 2 devices:
https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html#profiles
What is the difference to RAID10?
I have 4 x 3.8 TB SSD and want one filesystem.
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/
REF:<20251020122115.GA1461277@tik.uni-stuttgart.de>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RAID1 vs RAID10
2025-10-20 12:21 RAID1 vs RAID10 Ulli Horlacher
@ 2025-10-20 12:28 ` Johannes Thumshirn
2025-10-20 13:05 ` Andrei Borzenkov
1 sibling, 0 replies; 5+ messages in thread
From: Johannes Thumshirn @ 2025-10-20 12:28 UTC (permalink / raw)
To: Ulli Horlacher, linux-btrfs@vger.kernel.org
On 10/20/25 2:21 PM, Ulli Horlacher wrote:
> I have just discovered, that RAID1 is possible with more than 2 devices:
>
> https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html#profiles
>
> What is the difference to RAID10?
>
> I have 4 x 3.8 TB SSD and want one filesystem.
For regular btrfs RAID, if you have more than 2 devices, btrfs will
"decluster" the data on these devices (depending on how much free space
is available). Then there is the multi copy RAID1 (RAID1C3 and RAID1C4)
which will make 2 or 3 (depending on the level) copies of the data
instead of 1.
RAID10 is the usual 4 (or more see above) drives, combine 2 into a
stripe set and mirror inside the stripe set.
Hope that helps,
Johannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: RAID1 vs RAID10
2025-10-20 12:21 RAID1 vs RAID10 Ulli Horlacher
2025-10-20 12:28 ` Johannes Thumshirn
@ 2025-10-20 13:05 ` Andrei Borzenkov
2025-11-08 2:10 ` Nicholas D Steeves
1 sibling, 1 reply; 5+ messages in thread
From: Andrei Borzenkov @ 2025-10-20 13:05 UTC (permalink / raw)
To: linux-btrfs
On Mon, Oct 20, 2025 at 3:23 PM Ulli Horlacher
<framstag@rus.uni-stuttgart.de> wrote:
>
>
> I have just discovered, that RAID1 is possible with more than 2 devices:
>
> https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html#profiles
>
> What is the difference to RAID10?
>
In RAID1 each chunk (copy) is located on a single disk. In RAID10 each
chunk (copy) is striped across multiple disks.
https://lore.kernel.org/linux-btrfs/87v8qokryt.fsf@vps.thesusis.net/T/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-11-11 18:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 12:21 RAID1 vs RAID10 Ulli Horlacher
2025-10-20 12:28 ` Johannes Thumshirn
2025-10-20 13:05 ` Andrei Borzenkov
2025-11-08 2:10 ` Nicholas D Steeves
2025-11-11 18:14 ` Andrei Borzenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox