ASE Labs
Welcome Guest. Please register or log in now. There are 44 people online (0 Friends).
  • Home
  • Articles
  • News
  • Forum
  • Register/Login
You are at ASE Labs » Articles » Reviews Index » RAID Technology Part 1

RAID Technology Part 1

Author
Aron Schatz
Posted
October 16, 2006
Views
17449
RAID Technology Part 1
RAID is a buzzword that you hear often in the realm of computing. What does it mean and what technology is behind it? In this first part of a series of articles on RAID, learn about the technology behind the word.
Tags Technology Guides RAID

Page 1: RAID Tech

Intro:

RAID: Redundant Array of Independent (or Inexpensive) Disks. What does that mean? Basically, you have two or more drive and combine them for either speed or redundancy or both. There are many RAID technologies and RAID levels in the marketplace today. This article will go over the technologies.

When RAID is not:

There are many different factors that determine the RAID level you should or are using. The technical aspects coincide with the requirements of redundancy that you have as well as other performance characteristics. There is a RAID level that has nothing to do with RAID at all and we will get into that in the next article on RAID at a later date. Each RAID level contains technologies and many share the same type of technologies which is why going over the technology behind the RAID levels is important.

Mirroring:

Mirror


A mirror is the simplest form of redundancy. You take the normal stream of data and output it to two or more drives. Basically, what is on one drive is on all drives. A mirror usually consists of two drives and the space you get is n/2 where n is the total amount of space. If the drives are not equal you would only get n space from m drives where n is the smallest drive. If you have two equal drives you loss half the amount of space to redundancy. This is fine with hard drives being so cheap. Mirroring also gives you an advantage on reads since it can read from both drives at the same time. You suffer on writes since the controller needs to write to both drives. When you use a mirror, if a logical entity (such as a single drive) fails, the array is still functioning and up. The controller should report that a drive failed and should be replaced. No data loss should happen unless all the logical devices fail or the controller fails.

Duplexing:

Duplex


Duplexing takes the mirroring a step further. Instead of just allowing the drives to be mirrored, the controller itself is mirrored with another one. This situation is usually done with some form of software RAID solutions since most hardware controllers do not support this. Duplexing takes away the single point of failure on the controller to provide extra redundancy. It also costs more than mirroring because you are duplicating more hardware. Since hardware RAID is typically set up so that the RAID controller will handle all the drives in the array, duplexing is not supported as an option in most PC hardware RAID solutions. The only real duplexing solution I have seen is on some external RAID devices.

Striping:

Stripe


Striping is the concept of streaming data to multiple physical hard drives while seeming like one contiguous space. Striping is the only RAID technology that does not offer redundancy and is only used for high performance non-critical data. There are upsides to using a stripe. The first is speed. You get the fastest speed with a stripe on reading and writing. The second is that you do not lose any space. All your space on your drives is used if they are equal. The downside is that if one drive goes, the entire array is destroyed. This RAID technology should not be used by itself if you do not have a proper backup plan.

Striping with Parity:

Stripe w/Parity


There are a few RAID levels that use this. It takes the concept of striping and adds a 'parity' check to the data. It is more than just a parity check, it can correct data errors if a drive goes bad. The smallest array size of this technology would be three. You basically lose one drive due to the use of parity. The upside of this technology is that you get redundancy and speed. On reads this technology is very fast. On writes, not so much. You do not lose as much space with this as with mirroring.

How does this error checking and correcting thing work? XOR! How about an example... We have a three drive array and byte 1 is written to drive 0 and byte 2 is written to drive 1. To determine what we need to write to drive 2 for the parity check we just XOR byte 1 and byte 2 together. XOR is a bitwise function and basically means not equal.

Code

.
    11001011 Drive 0
XOR 11101100 Drive 1
---
    00100111 XOR


Bitwise, meaning that the operation acts on individual bits independently of each other. Notice that when the bits are equal (0,0 or 1,1) the XOR function outputs 0. When they are different (1,0 or 0,1) it outputs 1. Now, if drive 0 goes down, we can calculate the missing data with the parity. How? If you XOR something that has been XORed, you get the original thing!

Code

.
    11001011 Drive 1
XOR 00100111 XOR
---
    11101100 Missing Data!


Interesting?

Interesting ehh?

Much Talking...

I didn't know there'd be this much talking...

Blank...

And then the blank stare... This is from Korgoth of Barbaria on Adult Swim.


JBOD:

JBOD? Just a bunch of disks. That is the term used to mean no RAID technology in use. Anyone that has multiple drives with no array is using JBOD. Anyone using a single drive is using JBOD.

Next Up:

The next article will focus on performance and positioning of each of these technologies and stay tuned for a follow-up describing the RAID levels. Thank you for reading and be sure to enter our monthly contests located in the forums. Read the second part »here.
 
Page 1
View As Single Page Print This Page Print Entire Article
Related Articles
  • OpenLDAP Installation On Ubuntu
  • DOS USB Bootable Drive
  • RAID Technology Part 2: RAID Levels
  • Cisco IOS: Home Router Configuration
  • Video Card Recommendations

Title

Medium Image View Large
Login
Welcome Guest. Please register or log in now.
Forgot your password?
Navigation
  • Home
  • Articles
  • News
  • Register/Login
  • Shopping
  • ASE Forums
  • Anime Threads
  • HardwareLogic
  • ASE Adnet
Latest News
  • Welcome to the new server
  • Gmail Gets Optional Preview Pane
  • HBO Go on Consoles
  • HP Touchpad Update
  • Happy System Administrator Day!
  • Apple Releases OS X 10.7 Lion
  • More Android Apps Found to be Malware
  • This Weeks News
  • Happy Birthday USA!
  • Windows Phone Gets Angry Birds, Custom Rings Coming To Mango
Latest Articles
  • Sapphire Edge HD4 Mini PC
  • Logitech G710+ Mechanical Gaming Keyboard
  • EnerPlex Kickr IV And Jumpr Solar Power Pack
  • Kingston Wi-Drive
  • Kingston SDX10V/128GB SDXC Memory
  • In-Win K1 All In One Convertible Case
  • Kingston MobileLite G3 USB3 SDXC Card Reader
  • Synology DS712+ Network Application Server
  • Rapoo Wireless Touchpad Keyboard E9080
  • Netgear NeoTV NTV200 Streaming Player
Latest Topics
  • Pokemon: The Ongaku Region
  • Random Fact of the Day
  • What are you listening to now?
  • ufc 160
  • watch iron man 3 online free
  • watch scary movie 5 online free
  • watch tyler perry's temptatinon online free hd 2013
  • watch movies online free without downloading
  • watch star trek into darkness online free
  • watch fast and furious 6 online free
  • Recharge your cellphone in 20 seconds
  • Qu'est-ce charme si fascinant
  • Some Legacy of Music From Standard Pandora Beads
  • track down those behind the brutal
  • Minister David Cameron said Britain
  • Britain would be "absolutely resolute"
Advertisement
Advertisement
Affiliate Reviews
  • A New X.Org-Free Wayland LiveCD Released at Phoronix
  • GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance at Phoronix
  • Unity 8, Mir Made Progress This Week On Features at Phoronix
  • LLVM Clang 3.3 RC2 Is Ready For Testing at Phoronix
  • AMD RadeonSI Gallium3D Begins Simple CL Demos at Phoronix
  • Intel Shows Off GNOME3-Based Tizen Shell at Phoronix
  • Wine 1.5.31 Pulls In New Gecko Release at Phoronix
  • NVIDIA GeForce Chips Comparison Table at Hardware Secrets
  • Deep Cool M6 2.1 Speaker System ad Laptop Cool Review at Pro-Clockers
  • Microsoft Announces Mice with Windows 8 Start Button Built-in at Hardware Secrets
  • EVGA GTX 780 Superclocked w/ ACX Cooler 3 GB Review at techPowerUp!
  • Linux Desktop Security Could Be A Whole Lot Better at Phoronix
  • KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release at Phoronix
  • New NVIDIA Linux Driver Supports The GeForce GTX 780 at Phoronix
Press Release
  • KingsIsle Expands Pirate101 With Two New Worlds
  • Hamilton Watches to Close the Cannes Film Festival with Zulu by Jerome Salle
  • =?ISO-8859-1?Q?Supermicro=AE_Announces_the_Highest_Density_Server?= =?ISO-8859-1?Q?_Solutions_with_Coming_Intel=AE_Haswell_Processors?=
  • Game-Changer Beamforming Microphone Array Takes Another Leap Ahead and Now Features Tabletop and Wall Mode Capabilities
  • IGXE Successfully Launches Shopping Mall Mode: A New Era Is Coming
  • Got Words? New Word Game "Words in a Pic" Tops Global Mobile Charts
  • Infor Announces Cloud Initiative Using Amazon Web Services to Tackle Big Data With Amazon Redshift
  • HP's New MFPs Deliver Increased Productivity With Reduced Costs
  • CompanionLink Injects Business Companion for Verizon's Galaxy S4
  • Walmart Statement on Hisense Sero 7 Tablet Launch
Home - ASE Publishing - About Us
© 2010 Aron Schatz (ASE Publishing) [Queries: 18 (8 Cached)] [Rows: 303 Fetched: 46] [Page Generation time: 0.30214095115662]