NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ericrobotham's avatar
ericrobotham
Aspirant
Nov 03, 2021
Solved

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 8 as a global spare). DIsk 7 did not automaticall get added when disk 6 finished its Sync, so I reformatted it and then it did add.

 

However as soon as it started to add the volume got marked as Degraded (which did not happen with any other drives). There are no disk or ATA errors.

 

Nov 03, 2021 09:03:09 AM
 
Disk: Disk in channel 2 (Internal) changed state from RESYNC to ONLINE.
Nov 03, 2021 08:59:56 AM
 
Volume: Volume data health changed from Redundant to Degraded.
Nov 03, 2021 08:59:54 AM
 
Volume: Resyncing started for Volume data.
Nov 03, 2021 08:59:45 AM
 
Volume: Disk format completed on channel 2.
Nov 03, 2021 02:41:14 AM
 
Volume: Volume data is resynced.

 

I have downloaded the logs, but not expert enough to find out what has happened (nothing obvious)

Happy to post the logs or PM them

 

2nd question: The disks are in the wrong order (sda-d in slots 5-8, sde-h in 4-1), should I shut down and redorder disks in sda-h in 1-8)

 

 

PS: The change from RN104 and RN528 is a night an day change, even with the same 3TB WD RED discs (over 3x throughout and no bogging down with Time Machine)

  • Sandshark's avatar
    Sandshark
    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.

9 Replies


  • ericrobotham wrote:

    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 8 as a global spare). DIsk 7 did not automaticall get added when disk 6 finished its Sync, so I reformatted it and then it did add.

     

    However as soon as it started to add the volume got marked as Degraded (which did not happen with any other drives). There are no disk or ATA errors.

     

    Nov 03, 2021 09:03:09 AM
     
    Disk: Disk in channel 2 (Internal) changed state from RESYNC to ONLINE.
    Nov 03, 2021 08:59:56 AM
     
    Volume: Volume data health changed from Redundant to Degraded.
    Nov 03, 2021 08:59:54 AM
     
    Volume: Resyncing started for Volume data.
    Nov 03, 2021 08:59:45 AM
     
    Volume: Disk format completed on channel 2.
    Nov 03, 2021 02:41:14 AM
     
    Volume: Volume data is resynced.

     


    It looks like you formatted disk 2 (not sure what you mean by disk 7).  That was in the array already, so the NAS changed the status to degraded (which means a disk has dropped out of the array) and resynced.

     


    ericrobotham wrote:

     

    2nd question: The disks are in the wrong order (sda-d in slots 5-8, sde-h in 4-1), should I shut down and redorder disks in sda-h in 1-8)

     


    That doesn't mean the disks are in the wrong order.  When it's convenient, reboot the NAS and see what the order is.  Don't reboot if the volume is syncing.

    • ericrobotham's avatar
      ericrobotham
      Aspirant

      StephenB wrote:

      ericrobotham wrote:

      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 8 as a global spare). DIsk 7 did not automaticall get added when disk 6 finished its Sync, so I reformatted it and then it did add.

       

      However as soon as it started to add the volume got marked as Degraded (which did not happen with any other drives). There are no disk or ATA errors.

       

      Nov 03, 2021 09:03:09 AM
       
      Disk: Disk in channel 2 (Internal) changed state from RESYNC to ONLINE.
      Nov 03, 2021 08:59:56 AM
       
      Volume: Volume data health changed from Redundant to Degraded.
      Nov 03, 2021 08:59:54 AM
       
      Volume: Resyncing started for Volume data.
      Nov 03, 2021 08:59:45 AM
       
      Volume: Disk format completed on channel 2.
      Nov 03, 2021 02:41:14 AM
       
      Volume: Volume data is resynced.

       


      It looks like you formatted disk 2 (not sure what you mean by disk 7).  That was in the array already, so the NAS changed the status to degraded (which means a disk has dropped out of the array) and resynced.

       

      I meant disk 7 as in SDG (the 7th in the array, which is in slot 2, confusing bcause of the order the array is built, see not on disk order), normally a new disk chnges from formatted, reysnc stats and disk gets marked online (not marking the array as degraded, no disks have failed and no errors), here are the rest of the logs (with the snapshots removed)

      Nov 03, 2021 09:03:09 AM

       

      Disk: Disk in channel 2 (Internal) changed state from RESYNC to ONLINE.

      Nov 03, 2021 08:59:56 AM

       

      Volume: Volume data health changed from Redundant to Degraded.

      Nov 03, 2021 08:59:54 AM

       

      Volume: Resyncing started for Volume data.

      Nov 03, 2021 08:59:45 AM

       

      Volume: Disk format completed on channel 2.

      Nov 03, 2021 02:41:14 AM

       

      Volume: Volume data is resynced.

      Nov 02, 2021 10:31:33 AM

       

      Volume: Successfully made disk on channel 1 a global spare disk.

      Nov 02, 2021 10:29:58 AM

       

      Disk: Disk Model:WDC WD30EFRX-68AX9N0 Serial:WD-WCC1T0820766 was added to Channel 1 of the head unit.

      Nov 02, 2021 06:58:02 AM

       

      Disk: Disk in channel 3 (Internal) changed state from RESYNC to ONLINE.

      Nov 01, 2021 10:07:09 AM

       

      Disk: Disk in channel 4 (Internal) changed state from RESYNC to ONLINE.

      Nov 01, 2021 10:02:33 AM

       

      Volume: Disk format completed on channel 3.

      Nov 01, 2021 10:02:12 AM

       

      Volume: Resyncing started for Volume data.

      Nov 01, 2021 10:02:02 AM

       

      Volume: Disk format completed on channel 4.


      ericrobotham wrote:

       

      2nd question: The disks are in the wrong order (sda-d in slots 5-8, sde-h in 4-1), should I shut down and redorder disks in sda-h in 1-8)

       


      That doesn't mean the disks are in the wrong order.  When it's convenient, reboot the NAS and see what the order is.  Don't reboot if the volume is syncing.

       

      I meant moving the disks so SDA in slot 1, SDB in slot 2, so the disk numbers and identifiers are in the same order.


       

      • StephenB's avatar
        StephenB
        Guru

        ericrobotham wrote: I meant moving the disks so SDA in slot 1, SDB in slot 2, so the disk numbers and identifiers are in the same order.

         


        I know.

         

        The drive names (SDA, etc) are more dynamic than you are thinking.  When you add/remove disks, the system will assign different drive names to the added drives.  So if the old drive in slot 1 is SDA (for example), the system might label the new drive in that slot as SDH and not use SDA at all.  When you reboot the NAS, the drive names will revert to using SDA for slot 1, etc.  

         

        That is why I said the drive names you are seeing don't mean that the array is out-of-order.  

         

        FWIW, "out of order" generally refers to the RAID array itself (since each disk in the array is striped differently).  The array will normally be assembled correctly if the drives are out-of-order in this sense, but some troubleshooting becomes more complicated.  So I don't normally recommend shuffling the drives.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More