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 replace and restore of the backup I have.
I really don't want to reinstall an app I have running that is kind of picky ( Logitech LMS )
Anyhow this moring I get a message that the system is degraded, after about 85% of the scrub is done.
All of the lights are green in frontview, just the yellow indicator in the volume tab
I had noticed that the 4th drive had accumulated 4 'Current Pending Sector Count' over the course of the scrub.
All of the drives started with zero errors, and all but drive 4 ended with zero errors.
If I continue with the drive replacement, I suppose that starting with drive 4 would be the ticket.
Any other suggestions?
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.
8 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
markwoll wrote:If I continue with the drive replacement, I suppose that starting with drive 4 would be the ticket.
Definitely start there, since it's already been removed from the array.
But also download the log zip file, and look in disk_info.log for the stats on the other disks.
General advice here: Make sure you have a backup of your data, since if one of the other three has bad sectors you will lose your data when you resync. And of course if another drive fails before you start upgrading, then you will also lose the volume.
- markwollGuide
I checked the logs and found errors only on that one drive.
Replacing drive 4 now
- markwollGuide
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?
- markwollGuide
Related Content
NETGEAR Academy

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