NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
powellandy1
Aug 29, 2020Virtuoso
Possible Failed RAID5 to RAID6 Converstion
Hi I have a RN528X. I moved a 6 drive RAID5 (XRAID2) array from a RN516. This consisted of 4x14TB and 2x10TB. They have been vertically expanded before (6x6TB -> 6x10TB -> replace 4 with 14TB). ...
StephenB
Aug 29, 2020Guru - Experienced User
powellandy1 wrote:
It would appear md127 is still RAID5 - this has already done it's reshaping. It looks like free space did go up by 4TB - which wasn't the intention.
Am I right in saying at the end of this I won't have true RAID6 dual redundancy and md127 would be vulnerable to >1 disk failure??
It looks like it only converted the RAID groups with 6 disks (now 7) to RAID-6, and left md127 - which had 4 disks (now 5) as RAID-5.
That is weird, and I would consider it a bug. It likely is possible to resolve it with ssh - Sandshark has done some experimentation along these lines. Though this is risky, so make sure your backup is up to date first.
- SandsharkAug 30, 2020Sensei - Experienced User
I've not done any experiments changing the RAID type of one group of a multiple RAID group configuration. While I'm sure it could be done, the first thing you have to do is turn off XRAID. Otherwise, the OS is going to try and "reclaim" any partitions made free by the SSH commands. And once switched to FlexRAID, this expanded RAID configuration will refuse to go back to XRAID. While it is a lot of work, the only way to have that configuration and XRAID is to back up, factory default, and restore.
While many think XRAID is a proprietary format, it's not. It's "just" a set of logic that determines how to use standard Linux tools (MDADM and BTRFS for OS6, or MDADM, LVM, and EXT for earlier OSes) to expand a RAID volume without operator involvement. I quote "just", because that's not a simple thing. There are a huge number of possible old and new configurations. So, they must have established rules that are intended to handle similar configurations in a similar way. That you ran into a configuration where the logic failed to do what it should is pretty clear, probably because your configuration is a rare one -- maybe even one the programmer(s) didn't anticipate at all.
- powellandy1Aug 30, 2020Virtuoso
Thanks.
So what exactly does the XRAID/FlexRAID toggle button in the GUI actually change??
If I was able to convert md127 and all the prequisites of XRAID still existed (which I assume is to do with consistant arrays/partitions etc.. such that it can automatically expand) can it not be toggled back??
Interestingly I had a different problem (https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Adding-a-4th-10TB-drive-to-a-XRAID-array-on-Pro6-6-9-3-please/m-p/1614423#M147974) before when it somehow toggled out of XRAID into FlexRAID, but issuing commands via SSH to correct the issue - vertical expansion not triggering automatically - fixed it and upon rebooting it was back in XRAID!
Cheers
A
- StephenBAug 30, 2020Guru - Experienced User
powellandy1 wrote:
So what exactly does the XRAID/FlexRAID toggle button in the GUI actually change??
In XRAID mode, the system automatically expands when new disks are added (or when smaller disks are replaced with larger ones).
If FlexRAID mode, you need to do all steps manually - creating RAID groups, or adding new disks to the appropriate RAID groups, and concatenating the RAID groups together.
powellandy1 wrote:
If I was able to convert md127 and all the prequisites of XRAID still existed (which I assume is to do with consistant arrays/partitions etc.. such that it can automatically expand) can it not be toggled back??
That should be possible. There are some scenarios when the system won't let you switch from FlexRAID to XRAID - I don't think they are all well characterized.
Related Content
NETGEAR Academy

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