Re: Recover data from accidentally created raid5 over raid1

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

 



On Wed, Apr 12, 2023 at 5:45 AM Phil Turmel <philip@xxxxxxxxxx> wrote:
>
> What is nonsense?  A two-disk raid5 does have exactly the same content
> on both disks, just like a mirror.  The parity for any given single byte
> is that same byte.

Only if it's using even parity.  If it's using odd parity, the second
disk is the inverse of the first.

(I think Linux RAID uses even parity, but if it's documented anywhere,
I haven't found it.)

-- 
Mark




[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