LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-16-2009, 06:33 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
RAID calculation formula


I understand different RAID levels but confused about the formula to use in calculating the disk space it would take. Eg. if I have 6x200GB disk and do RAID 5, how much disk space will I have? With the same scenario, how much disk space would I have if I do RAID 1+0 or RAID 1?

I have read http://compreviews.about.com/od/stor...aRAIDPage1.htm but the calculation/ wording is not very clear on this one.

Thanks.
 
Old 07-16-2009, 06:42 AM   #2
pi314
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 2
With RAID 5 you loose the space of 1 disk.
eg. 6x200GB in RAID5 -> 1000 GB

With RAID 1 there is a "backup disk" for each disk so you loose half space
eg. 6x200GB in RAID1 -> 600 GB

With RAID 1+0 you make RAID 1 arrays and then you combine them using RAID 0, so basically you loose half space
eg. 6x200GB in RAID1+0 -> 600 GB

Last edited by pi314; 07-16-2009 at 11:41 AM. Reason: mistakes
 
1 members found this post helpful.
Old 07-16-2009, 07:10 AM   #3
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pi314 View Post
With RAID 5 you loose the space of 1 disk.
eg. 6x200GB in RAID5 -> 1000 GB

With RAID 1 there is a "backup disk" for each disk so you loose half space
eg. 6x200GB in RAID1 -> 600 GB

With RAID 1+0 you make RAID 1 arrays and the you combine them using RAID 0, so basically you loose half space
eg. 6x200GB in RAID1 -> 600 GB
Thanks for the explanation. Your explanation is much better than what I've read.

If I have 6x300GB disk and I do RAID 5, I will loose 300GB and will be left with 1.5TB disk space, right?

What if I have 3x300GB and 1x100GB and 1x200GB - how much disk space will I loose in this case?

Thanks.
 
Old 07-16-2009, 08:34 AM   #4
pi314
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 2
Quote:
Originally Posted by noir911 View Post
If I have 6x300GB disk and I do RAID 5, I will loose 300GB and will be left with 1.5TB disk space, right?
Right.

Quote:
Originally Posted by noir911 View Post
What if I have 3x300GB and 1x100GB and 1x200GB - how much disk space will I loose in this case?
I'm not sure if you can build a RAID 5 array with hard disks of different size. Does anybody know?
 
Old 07-16-2009, 09:02 AM   #5
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
Usually with hardware RAID, the drives should be identical.
However, with software RAID the drives need not be identical.
 
Old 07-21-2009, 03:59 PM   #6
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
Quote:
Originally Posted by noir911 View Post
Thanks for the explanation. Your explanation is much better than what I've read.

If I have 6x300GB disk and I do RAID 5, I will loose 300GB and will be left with 1.5TB disk space, right?

What if I have 3x300GB and 1x100GB and 1x200GB - how much disk space will I loose in this case?

Thanks.
When you use disks of varying sizes in a RAID5 setup(I have only done this with zfs) you lose the space of the largest disk, i.e. - 3x300GB and 1x100GB and 1x200GB, you will lose 1x300GB disk -

But dont forget to take a spare into account .

Last edited by ADxD_7; 07-21-2009 at 04:02 PM.
 
  


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 and Formula One LXer Syndicated Linux News 0 04-30-2008 12:10 AM
RAID storage capacity calculation 2007fld Linux - Newbie 1 01-31-2008 10:50 AM
formula-1 2d game bong.mau Linux - Games 1 08-08-2007 04:10 AM
Crypto Formula rubadub Programming 2 09-06-2006 10:16 AM
Bitwise >> formula concept... debiant Programming 10 08-31-2006 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:00 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