Tuesday 16 August 2011

Different RAID levels .....!


What are the different RAID levels? Which one is recommended for file server and database server?

A Redundant Array of Independent Drives (or Disks), also known as Redundant Array of Inexpensive Drives (or Disks) (RAID) is an term for data storage schemes that divide and/or replicate data among multiple hard drives. RAID can be designed to provide increased data reliability or increased I/O performance, though one goal may compromise the other.
There are total 10 types of RAID levels:
  • RAID level 0
  • RAID level RAID level 1
  • RAID level 2
  • RAID level 3
  • RAID level 4
  • RAID level 5
  • RAID level 6
  • RAID level 10
  • RAID level 50
  • RAID level 0+1

Commonly used RAID levels for UNIX / Linux and Windows server

Following are commonly used RAID levels :
RAID levelMinimum hard disksSuggested applicationNotes
RAID 0 - Striped Set without parity2 Hard disks1. Video Production and Editing
2. Image Editing
3. Any application requiring high bandwidth
Provides improved performance and additional storage but no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array.
RAID 1 -MirroredSet (2 disks minimum) without parity.2 Hard disks1. Office application
2. Financial application
3. Payroll application etc
Provides fault tolerance from disk errors and single disk failure. Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing. Array continues to operate so long as at least one drive is functioning
RAID 53 Hard disks1. File and Application servers
2. Internet Web, E-mail servers
3. Intranet servers
Highest Read data transaction rate, Medium Write data transaction rate, Overall good (aggregate) transfer rate. drive failure requires replacement, but the array is not destroyed by a single drive failure. Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive
RAID 10 (nested RAID 1+0)4 Hard disks1. Database server (such as Oracle / MySQL / MS-SQL) which requiring high performance and fault toleranceProvides fault tolerance and improved performance but increases complexity.
See also - Understanding RAID and required number of minimum disk in graphical format below.
I had noticed that many new admins and end user get confused with RAID concept. Many think that RAID 0 offers backup protection.
A few points:
a) Redundant array of independent disks (RAID) refers to a data storage scheme using multiple hard drives to share or replicate data among the drives.
b) No matter which RAID array you use backup regularly.
c) For performance always use hardware based RAID controller. If you are tight on budget go for software based RAID. For any production environment I recommend hardware based RAID controller.
c) To make your decision final regarding RAID consider following points:
Your requirements
  • Fault tolerant
  • Speed vs performance vs overhead
  • Your application and required bandwidth
  • Final Cost

(click to enlarge image)

No comments:

Post a Comment

Do not post irrelevant comments, please!

Browser Name:
Browser Version:
Browser Code Name:
User-Agent: