In Wikipedia, it says RAID 1 has a space efficiency of 1/n. Can that be correct?

2

right now on Wikipedia, it says RAID 1 (Mirroring) has a space efficiency of 1/n, and

Space efficiency is given as the amount of storage space available in an array of n disks, in multiples of the capacity of a single drive. For example, if an array holds n=5 drives of 250GB size, and efficiency is n-1, then available space is 4 × 250GB, or roughly 1TB.

so the more hard drives you have, the less capacity you have according to 1/n ? Can that be right? Even the "unit" is not correct... (n-1) is still in TB... 1/n is like 1 / TB. What is that? Shouldn't it be something like n / 2?

The screenshot is here:

alt text

nonopolarity

Posted 2010-06-26T15:37:41.003

Reputation: 7 932

Here is a definition of efficiency: http://en.wikipedia.org/wiki/Storage_efficiency

– Tobu – 2010-06-26T16:02:21.437

2All information on Wikipedia is ALWAYS correct! ;) – TFM – 2010-06-26T16:31:09.313

Answers

4

Yes. In RAID 1, you have the total available capacity of the smallest member of the array. If you have 10x1TB drives, you will only have 1TB of usable space as the data is mirrored across all members.

Typically this doesn't matter, since a RAID 1 usually consists of 2 drives, which gives you 1/2 total capacity.

MDMarra

Posted 2010-06-26T15:37:41.003

Reputation: 19 580

so if "Space efficiency is given as the amount of storage space available in an array of n disks, in multiples of the capacity of a single drive" -- should it be n then? Given 6 hard drives of 200GB each, the amount of storage space is 1 times the capacity of a single drive, so 1 is the multiple, which is the space efficiency. – nonopolarity – 2010-06-26T15:49:23.350

3@Jian - Huh? 1 is talking about the capacity of 1 disk. If you have a 2 disk RAID 1 you have 1/2 total space available. If you have a 10 disk, you have 1/10 raw space available. – MDMarra – 2010-06-27T04:41:48.067

2

You are right.

The RAID0 setup is correctly specified as having n capacity. This is: n * (disk capacity) = (total capacity)

The RAID1 setup should then have a space efficiency of 1. That is: 1 * (disk capacity) = (total capacity)

This inconsistency suggests that the ratio of space efficiency between RAID0 and RAID1 is: n / (1/n) = n^2

Sidenote: I see the line you quoted above (from Wikipedia) has been changed to: "Space efficiency is given as an equation in terms of the number of drives, n, which results in a value between 0 and 1, representing the fraction of the sum of the drives' capacities that is available for use." and the space efficiency for RAID0 has been changed to 1

GummiV

Posted 2010-06-26T15:37:41.003

Reputation: 621