NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ericrobotham
Nov 03, 2021Aspirant
Volume data health changed from Redundant to Degraded on adding disk 7
Hi to the Netgear community (I am new here) I upgraded my RN104 to an RN528 (went well). Have been adding in identical disks, which went perfectly until it got to Disk7 (I had already marked disk...
- Nov 04, 2021
You must turn off XRAID before you do this to insure it doesn't try to do anything you don't want.
The command is specific to the configuration of your NAS, but it's general form is MDADM --grow mdxxx --level=5 --raid-devices=z where mdxxx is your volume (typically md127) and z is the number of drives to include (typically, all of them). Note that if you screw this up and specify too few devices, it could kill your volume because the BTRFS volume is too big for it. If you have a multi-layer RAID, then you would have to do the same for each level, though I've never done so
When I did this the first time, I didn't specify the number of devices, and my 12-drive RAID6 became an 11-drive RAID5 with a spare and I had to add the spare after the RAID5 sync. I'm not sure if that's a safer approach, but it definately took longer with the two re-syncs.
Normally, the NAS will automatically expand the BTRFS volume when the RAID grows. But if it doesn't, follow with btrfs filesystem resize max /data (assuming volume name data).
As with any case of making changes with SSH, be sure you have a backup first. If something goes sideways, you may have to destroy and re-create the volume.
ericrobotham
Nov 03, 2021Aspirant
Thanks Guys,
StephenB As I dont need the space currently I will leave as a RAID 6 and the "global spare" as it has 9TB free now (I only put the last 2 in as I got them at low cost :smileyhappy:)
I will worry about if it starts to fill up. Then I'll add the global spare 1st.
@Sandshark I would like to know the commands to move it back to RAID 5 by command line, as you never know (still easier than swapping all the disks for the extra space). I agree with your comment about a pop-up, although I has seen you could run RAID 6 on great than 6 disks, I did not know it would automatically choose it (and have old version of OS6.x documentation)
I appreciate your help, in what was non-issue
Have a good one
Eric
Sandshark
Nov 04, 2021Sensei - Experienced User
You must turn off XRAID before you do this to insure it doesn't try to do anything you don't want.
The command is specific to the configuration of your NAS, but it's general form is MDADM --grow mdxxx --level=5 --raid-devices=z where mdxxx is your volume (typically md127) and z is the number of drives to include (typically, all of them). Note that if you screw this up and specify too few devices, it could kill your volume because the BTRFS volume is too big for it. If you have a multi-layer RAID, then you would have to do the same for each level, though I've never done so
When I did this the first time, I didn't specify the number of devices, and my 12-drive RAID6 became an 11-drive RAID5 with a spare and I had to add the spare after the RAID5 sync. I'm not sure if that's a safer approach, but it definately took longer with the two re-syncs.
Normally, the NAS will automatically expand the BTRFS volume when the RAID grows. But if it doesn't, follow with btrfs filesystem resize max /data (assuming volume name data).
As with any case of making changes with SSH, be sure you have a backup first. If something goes sideways, you may have to destroy and re-create the volume.
Related Content
NETGEAR Academy

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