Raid Levels - Raid 0, Raid1, Raid 10, Raid 5, Raid 6 (Complete Tutorial)
Raid Levels - Raid 0, Raid1, Raid 10, Raid 5, Raid 6 (Complete Tutorial)
(/)
ABOUT US (HTTP://SLASHROOT.IN/ABOUTUS)
CONTACT US (/CONTACT)
ARCHIVE (HTTP://SLASHROOT.IN/ARCHIVE)
ARCHIVES (/TAXONOMY/TERM/2)
NETWORKING (/NETWORKING)
Tweet
31
Like
17 (#)
Share
(#)
Hard Disk drives are one of the most complex devices that are
attached to a computer system(or a server machine). The
complexity of a hard disk is due to the fact that it is a mechanical
device, used for storage. Most of the internal parts of a disk drive
are moving parts, that moves its head to fetch data for the user.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 1/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
What is RAID?
When data is fetched from different disks, the CPU does not
have to wait, because the throughput will be a combined one of
all the disks.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 2/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
In the above shown example diagram you can see that all three
disks contains different data(data that needs to be stored, will be
striped in chunks and will be spreaded across different disks).
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 3/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
1 1 0
We Provide System Administration and Devops Services Click Here
1 0 1
0 1 1
0 0 0
And now if one of the disk fails, you can easily construct the data
on the failed disk with the help of the parity disk and the other
disk which is not failed.
Which means one stripe on one of the disk, while storing data
will be used for parity of the data in other disks.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 4/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
Which means the hot spare will automatically take the role of the
We Provide System Administration and Devops Services Click Here
failed drive once data rebuilding is complete.
There is no "One size fits all" solution as far as raid levels are
concerned. Selecting the suitable raid level for your application
depends on the following things.
RAID 0 or No RAID
If your main priority is performance, then raid 0 fits right.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 5/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
In fact raid level 0 is not RAID, because raid was primarily build
for redundancy, and raid 0 does not provide any kind of
redundancy, although it provides high performance.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 6/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
You can cleary see in the above diagram, each and every stripe
set contains two parity on multiple disks.
So even even if two disks gets failed at one time, data can still
be recreated.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 7/14
4/3/2017 RAID Levels: RAID 0,RAID1,RAID 10,RAID 5,RAID 6(Complete Tutorial)
This is best suitable for heavy IO usage & also provides 100
percent redundancy. Minimum number of drives required is 4. It
is quite expensive, as you can clearly see that you are
dedicating one disk per raid 1 array for redundancy.
http://www.slashroot.in/raidlevelsraid0raid1raid10raid5raid6completetutorial 8/14