Re: raid10 redundancy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, May 12, 2021 at 01:22:42PM -0400, David T-G wrote:
> RAID10 is striping AND mirroring (leaving out for the moment the distinction
> of striping mirrors vs mirroring stripes).  How can one have both with only
> two disks??  You either stripe the two disks together for more storage or
> mirror them for redundant storage, but I just don't see how one could do both.

Linux RAID-1 is a mirror - all devices are identical. A reading
thread picks a device and reads from it. You get up to 1 device
worth of IOPS.

Linux RAID-10 splits the data into chunks and stripes them across
the devices with as many copies as desired (default 2). So a single
threaded reader can get up to n devices worth of IOPS.

When n is 2 and there's only 2 identical devices and the load is
multi-thread/process then you may not see much difference. Measure
it and let us know!

Cheers,
Andy



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux