Definition:

  • Clone data across multiple disks to have redundancy
  • Two different designs manage RAID arrays: hardware and software.
    • Hardware RAID uses a dedicated controller attached to the motherboard. This is usually faster, more flexible, and more expensive.
    • Software RAID relies on the operating system to manage the storage, which is usually slower, less flexible, and less expensive
  • Parity bit:
    • Algebrac on other disks to have the equivalent bit used to find info of 1 disk when its lost
    • example: parity of XOR
      • disk 1: 1, 0, 1
      • disk 2: p, p, p
      • parity: 1, 1, 1
      • disk 2: 0, 1, 0

Hardware RAID:

RAID LevelMinimum DrivesCapacityFault TolerancePerformanceExplain
RAID 0 (disk stripping)2Total of all drivesNoHighStriping data across multiple drives.
RAID 1 (disk mirroring)2Capacity of one driveOne driveModerate, faster readMirroring data across multiple drives.
RAID 43Capacity of (n-1) drivesOne driveModerateBlock-level striping with dedicated parity drive.
RAID 5 (disk stripping with parity)3Capacity of (n-1) drivesOne driveHighBlock-level striping with distributed parity across drives.
RAID 64Capacity of (n-2) drivesTwo drivesModerateBlock-level striping with double distributed parity across drives.
RAID 0+14Capacity of half the drivesOne drive in a stripeHighMirroring striped disks.
RAID 1+04Capacity of half the drivesOne drive in a mirrorHighStriping mirrored disks.
As same as RAID 1 but 2x amount of disk

Software RAID: