LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2008, 10:34 AM   #1
2007fld
Member
 
Registered: Mar 2007
Distribution: FD4,6
Posts: 52

Rep: Reputation: 15
RAID storage capacity calculation


I'm learning RAID 5. I know it provides redundacy and improve the read/write performance by data striping and parity. The data striping means spreading data (say, a file) on several disks.

But how does the parity work exactly? mirroring? So with a RAID system, the storage capacity is one half of the real hard disk size?
 
Old 01-31-2008, 10:50 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by 2007fld View Post
So with a RAID system, the storage capacity is one half of the real hard disk size?
Not really. Actually if you have N disks and the smaller one has size S, the total size of the array will be
Code:
(N-1)*S
Raid 5 distributes the parity information through disks. Parity information uses an exclusive OR mechanism: it stores one extra bit to reconstruct data if one or more bits are lost. You can find a good and simple explanation here. Due to this setup if a disk is lost you can recover all data, if two disk fail simultaneously all data are lost: it is a compromise between the advantages of striping and a certain degree of redundancy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux-based NAS storage devices expand capacity LXer Syndicated Linux News 0 12-22-2007 01:20 PM
How to provision Data Storage Capacity for content caching rsean LQ Articles Discussion 0 07-30-2007 02:06 PM
hardware raid 5, online capacity expansion, and parted hondaman Linux - Software 0 07-05-2006 12:00 PM
SUSE storage capacity javi0084 SUSE / openSUSE 1 02-07-2006 03:50 PM
RAID-6 and Storage Networking satimis Linux - Hardware 0 07-19-2005 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration