NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
markwoll
Apr 22, 2020Guide
Volume degraded after scrub, next steps
I have a 516 with 6 2tb drives (WD red ) in an xraid raid 6. OS 6.10.3 Upgrading the drives to 8tb. In preperation I ran a scrub starting yesterday. I want to do a in place disk swap instead of a ...
- Apr 24, 2020
markwoll wrote:
it looks like the 4 8tb drives are becoming another raid.
Since your drives are now of unequal size, your data volume needs multiple RAID groups.
The first RAID group is 6x2TB (taking the first 2 TB of the larger drives). The second is 4x6TB. Those two RAID groups are then concatenated into a single volume.
Since you are using RAID-6, you need at least 4 disks in the group. So the second RAID group wasn't created until you upgraded the fourth drive. Completing this step will take a while (and upgrading the final two will actually take longer).
Note when you are done, you will still have two RAID groups - even though your disks will end up the same size.
markwoll wrote:
After this resync is done will I be able to swap the remaining 2 2tb and the unit will resync again to the final size, or will it resync twice after each swap?
The capacity rule for XRAID dual redundancy is sum the disks and subtract the two largest.
So 4x8TB+2x2TB will give you a 20 TB volume. (~18.2 TiB)
When you add the next drive, the md127 group will be rebuilt, and then md126 group will be converted to 5x6TB. Every block on every disk is either read or written as part of this process. It will take longer than the current step, because you're adding another 6 TB to the array. You'll end up with a 26 TB volume (~23.6 TiB).
Similarly, when you insert the last drive, the md127 group is first rebuilt, and then the md126 group is converted to 6x6TB. Again, this step will take longer than the previous ones. Then you'll end up with your final volume size of 32 TB (~29 TiB)
So there are two resync steps as you add each disk - one for each RAID group. FWIW, the process would have been faster if you'd backed up the data and did a factory default with all the disks in place (and then restored all the data from backup). Then the RAID array would only have been built once, instead of rebuilding it 6 times.
markwoll
Apr 24, 2020Guide
I attached the mdstat.log
So I replaced 4 then 1,2,3 ( with 8tb drives). After disk 3 switched to online the unit started another resync.
The remaining 2 2tb drives still show as online, but it looks like the 4 8tb drives are becoming another raid.
The statistics still show the used space the same ( 2.13tb ) but the free space is 16.05 tb.
After this resync is done will I be able to swap the remaining 2 2tb and the unit will resync again to the final size, or will it resync twice after each swap?
StephenB
Apr 24, 2020Guru - Experienced User
markwoll wrote:
it looks like the 4 8tb drives are becoming another raid.
Since your drives are now of unequal size, your data volume needs multiple RAID groups.
The first RAID group is 6x2TB (taking the first 2 TB of the larger drives). The second is 4x6TB. Those two RAID groups are then concatenated into a single volume.
Since you are using RAID-6, you need at least 4 disks in the group. So the second RAID group wasn't created until you upgraded the fourth drive. Completing this step will take a while (and upgrading the final two will actually take longer).
Note when you are done, you will still have two RAID groups - even though your disks will end up the same size.
markwoll wrote:
After this resync is done will I be able to swap the remaining 2 2tb and the unit will resync again to the final size, or will it resync twice after each swap?
The capacity rule for XRAID dual redundancy is sum the disks and subtract the two largest.
So 4x8TB+2x2TB will give you a 20 TB volume. (~18.2 TiB)
When you add the next drive, the md127 group will be rebuilt, and then md126 group will be converted to 5x6TB. Every block on every disk is either read or written as part of this process. It will take longer than the current step, because you're adding another 6 TB to the array. You'll end up with a 26 TB volume (~23.6 TiB).
Similarly, when you insert the last drive, the md127 group is first rebuilt, and then the md126 group is converted to 6x6TB. Again, this step will take longer than the previous ones. Then you'll end up with your final volume size of 32 TB (~29 TiB)
So there are two resync steps as you add each disk - one for each RAID group. FWIW, the process would have been faster if you'd backed up the data and did a factory default with all the disks in place (and then restored all the data from backup). Then the RAID array would only have been built once, instead of rebuilding it 6 times.
- markwollApr 24, 2020Guide
Ok, moving on to the next drive. I have lots of time.
- markwollApr 26, 2020Guide
The 6th drive finished and the system resync finished.
The total capacity is still short of expectations.
Is there a final step to trigger the adoption of the last disk to bring to total up to ~32tb.
As it stands now I have 2.13tb used with 26.96tb free 29tb total.
Hmm the terabyte to tebibyte calculator says 29 is what 32 becomes.
I guess thats it. Took a couple of days, but zero down time.
Related Content
NETGEAR Academy

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