Module 4: Intelligent Storage Systems (RAID) Flashcards
What is RAID?
Redundant Array of Independent Disks - combines multiple drives into RAID set for protection and performance
How are RAID sets organized?
divided into multiple LUNs - each LUN connected to a host and appears as a single drive
How does RAID help with protection and performance?
protects against drive failures
serves IOs from multiple drives simultaneously to help performance
What are the techniques RAID uses to protect data loss during drive failure?
mirroring and parity
How is RAID typically implemented?
using specialized controller called RAID controller - present either on the storage or compute system
What is software RAID?
uses compute system based software to perform RAID at the OS level
What are the different RAID techniques?
striping
mirroring
parity
What is striping?
spreading LUN data across multiple drives to use the drives in parallel
all read/write heads work simultaneously - allows more data to be processed in shorter time
What is the set of strips across drives in striping called?
stripe - stripe size is the number of blocks in a strip - every strip in stripe must have same number of blocks
For example: in a four-disk striped RAID set with a strip size of 64 KB, the stripe size is 256 KB (64 KB x 4)
What is the reason for striping?
high performance - no protection
What happens if a drive fails during striping only?
no way to get that data back so whole LUN is considered unusable
What is mirroring?
where same data is stored on two or more disks resulting in multiple copies of the same data
What happens during drive failure in mirroring?
data remains intact on the surviving disk drive - controller continues to service data requests from surviving disk
when failed disk is replaced controller copies data from surviving disk to new one
What is a drawback of mirroring?
very expensive - preferred for mission critical apps where data loss can’t be afforded
write performance slows since it needs to write twice
What is a benefit of mirorring?
full protection from failure
read performance improves since reads can be serviced by both disks in pair
What is parity?
method to protect striped data from drive failure w/o cost of mirroring
parity = mathematical construct that allows recreation of missing data
What is the advantage of parity?
ensures protection of data without maintaining full set of duplicate date
What is a downfall of parity?
RAID controller needs to do more work than for mirroring - has to do drive rebuilds by making calculations which slows rebuild times
not as safe as full mirror due to longer rebuild times
RAID 0?
striping