NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ilan24
Oct 17, 2020Aspirant
X-RAID horizontal expansion and storage size
Hi everyone, I've been reading up on X-RAID horizontal expansion for my RN314. I have been running a single 3TB HDD for a few years and recently bought another 3TB HDD to expand storage. I ma...
- Oct 18, 2020
ilan24 wrote:
But how, if I add another 3TB after that, will I get that full 3TB as well? Wouldn't that mean that I would be sacrificing redundany somewhere?
You wouldn't be sacrificing redundancy.
With 4 disks, you just end up with 3 data blocks and a corresponding parity block. Like the three disk case, the parity block is the sum (actually xor) of the data blocks. You can still compute the missing bytes if any single disk fails - adding up the three data bytes if the parity byte is missing, or subtracting the remaining data bytes from the parity byte if a data byte is missing.
The expansion process includes re-organizing the pattern of data blocks and recomputing all the parity blocks on the disks.
There is one subtilty - redundancy allows you to reconstruct any missing disk, but if the data (or parity) is corrupted, RAID can't figure out which elements of the data is wrong. So it can't repair actual errors.
StephenB
Oct 17, 2020Guru - Experienced User
ilan24 wrote:
Assuming I fill up the extra 3TB, how will I have redundancy for all 6TB of used storage?
It's a math trick. The data in the redundancy block isn't a copy.
The basic idea is that you take a byte A on disk 1, and the corresonding byte B on disk 2. You then create a parity byte R=A+B on disk 3. Then if any disk fails, you can reconstruct the data from the other two. For instance if disk 2 fails, then you'd recompute the missing byte by computing R-A. Every time you write new data to the disk, the parity bytes are also updated.
This same approach is used with four disks.
In practice, the math doesn't use normal arithmetic - it uses a different operation called xor. Also, the redundancy blocks are scattered across all three disks - they aren't all on one disk.
- ilan24Oct 18, 2020Aspirant
Thanks for the quick response Steven.
For the most part I get it, and am conscious that I probably don't need to understand the finer details of how it all works. But is the upshot of your explanation that if I have 3 x 3TB HDDs / 4 x 3TB HDDs, I'll have 6TB / 9TB of usable storage, and if one disk fails I'll simply be able to remove it and replace it without any data loss? And the final question would be whether I am losing any more usable storage space when I move from 3 HDDs to 4? In your example I can see how I get 6TB from 3 x 3TB HDDs, but I'm wondering whether I would lose a part of the additional 4th HDD when I added it as well for the redundancy?
- SandsharkOct 18, 2020Sensei - Experienced User
The basic rule is the total space is the sum of the drives minus the largest. So if you add 2 more 3TBs to the NAS, you'll gain 6TB. And if you add a 3TB and a 6TB, then you'll also only get an additional; 5TB untill the extra 4TB of the 6TB drive has a "mate" for it's redundancy.
There are exceptions if you expand with drives that are not at least as large as the largest one already installed.
- ilan24Oct 18, 2020Aspirant
Thanks Sandshark.
Apologies for this, but I'm still missing something. I understand how adding another 3TB to my existing 2 x 3TB HDDs will get me another 3TB in line with the logic Stephen shared. But how, if I add another 3TB after that, will I get that full 3TB as well? Wouldn't that mean that I would be sacrificing redundany somewhere?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!