How to protect data from a disk crash
Disk mirroring: principle
Disk mirroring: write
and read operations
Disk mirroring: additional benefits and
cost
Intro to RAID (Redundant Array of Independent Disks)
RAID level 4 using n disks
Example of RAID level 4
using 4 disks
using even parity
disk1,
disk2 and
disk3 are
data disks
disk4 stores
the
computed parity on
all the data disks
RAID level 4: read operation
RAID level 4: write operation
Example write operation:
updating a disk block on disk2
Example write operation:
updating a disk block on disk2
Example write operation:
updating a disk block on disk2
Example write operation:
updating a disk block on disk2
The parity disk makes
recovery
possible after
a disk failure !!!
Example write operation:
updating a disk block on disk2
Property of RAID disks
Recover from
disk failure using RAID disks
Recover from
disk failure using RAID disks
Problem with the
RAID level 4 algorithm
Solution: RAID 5 - spread parity function
over
multiple disks
Example of RAID 5
- parity cylinder (RAID 5)
❮
❯