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

Forum Discussion

Learning2NAS's avatar
Nov 09, 2015
Solved

X-RAID 2 Operation and Downsizing

I've tested answers in other posts on my NAS and found some of them to be incorrect, so please cite when you can to support your response.   Questions: (1) If I lose a disk in a RAID-5 and don't h...
  • StephenB's avatar
    StephenB
    Nov 09, 2015

    Learning2NAS wrote:

    Hey Stephen,


    Thanks for answering my questions. You addressed everything in my original post, but I have a clarification to your response to #2 (quoted below). Using your hypo, if I have a base layer of 1TB that is always there and my current array is 1x1TB (original disk that hasn't died yet) and 2x3TB, can I replace the 1x1TB with another 1TB? Additionally, can I replace the 3TB with a 1TB if it fails? It sounds like the answer to that second question is no, because there might be data stored somewhere in the 2TB layer, but I just want to verify this.

     


    You can replace the 1 TB drive with another 1 TB drive.  But you can't replace the 3 TB drive with a 1 TB drive.

     


    Learning2NAS wrote:

     

     

    If that's true, that brings me full circle back to what I'm having such a hard time understanding: when you have a failure in RAID 5 there is enough redundancy to rebuild an effected file from the remaining drives (that's the point, right?). With this being so, I don't understand why the RAID can't rebuild the missing files on any size drive I stick in, so long as it is at least large enough to support the amount of data that needs to be striped to the new drive. 



    The RAID software sits between the physical disks and the file system - and has no idea about how the file system is organized (e.g., where files are stored, and where there is free space; or even what the file system is).  When you replace a drive, the RAID software reconstructs all the disk blocks on the drive from the blocks on the other drives (whether there is data in them or not).  Likewise, a resync always takes the same amount of time, no matter if the file system is full or empty.  So RAID treats all data blocks on the drives identically (used or not).

     

     

    There potentially are some advantages to fully integrating RAID-like redundancy into the file system itself - then features like the ones you are envisioning would be easier to do.  The BTRFS team is working on a design like that, but it is still experimental - so Netgear (wisely) isn't using it.  If they were to switch to it, it would likely require a factory reset.

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