NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
StrawDragon
Feb 21, 2022Aspirant
ReadyNas 6 locked up and now array is inactive
Hello! I have a 6 bay ReadyNas running 6.10.6. System has been expanded from 6x 6TB - > 4x10TB and 2x6TB about a year ago running RAID5 +XRAID. This afternoon the box just locked up, so I reboo...
StephenB
Feb 21, 2022Guru - Experienced User
StrawDragon wrote:
System has been expanded from 6x 6TB - > 4x10TB and 2x6TB about a year ago running RAID5 +XRAID.
I ssh into the NAS and found /devt/md0, md1, md126 (27TB) and md127 (11TB)
md126 contains /dev/sd[abcdef]3
md127 contains /dev/sd[abcd]4
So that is where I am lost on how to try and resolve this. I only had one DATA volume created in the ReadyNAS gui.
How does btrfs play in here with the two volumes? I should have a single DATA volume of nearly 40TB.
You do have only one volume. But because of the expansion you have two RAID groups - which are concatenated together.
One is 6x6TB, the other is 4x4TB (filling the remaining space on the four 10 TB drives).
Raw space on the 6x6 TB group is 36 TB (32.7 TiB). Available storage - subtracting RAID redundancy - is 30 TB ( 27 TiB)
Raw space on the 4x6 TB group is 16 TB (14.5 TiB), and available storage is 12 TB (10.9 TiB).
So this part looks correct.
StrawDragon wrote:
This afternoon the box just locked up, so I rebooted it.
When logging into my NAS I saw that all drives were not inactive volumes.
Do you mean that you have inactive volume (s) on the volume tab???
StrawDragon
Feb 21, 2022Aspirant
Thank you.
The total usable space should be ~38TB (10TB x 4 & 6TB x 2) in RAID 5 with XRAID.
Yes it was a single volume.
- StephenBFeb 21, 2022Guru - Experienced User
StrawDragon wrote:
The total usable space should be ~38TB (10TB x 4 & 6TB x 2) in RAID 5 with XRAID.
Agreed. Which is the sum of the two RAID groups that comprise the volume - 27 + 10.9 TiB. The NAS reports space in TiB.
Once again: Do you mean that you have inactive volume (s) on the volume tab??? Your original post wasn't clear on that.
- StrawDragonFeb 21, 2022Aspirant
Yes, they show as red inactive drives and the gui suggests to remove them from the raid.
I did include a picture of the volume page in my last post. (see below).
How does the system uses the two defined arrays as a single? (md126 and md127) to form a single array of 38.18TB?
- StephenBFeb 21, 2022Guru - Experienced User
StrawDragon wrote:
How does the system uses the two defined arrays as a single? (md126 and md127) to form a single array of 38.18TB?
Each array creates a virtual disk. And you can create file systems in linux that span multiple disks (concatenating the space). The file system is the volume.
Thanks for the screenshot, it is helpful. Don't remove those inactive volumes.
I suggest starting by looking at the smart stats for the disks. smartctl -x /dev/sda will show you stats for the first one, then proceed to sdb, etc. There is a lot of data (much of it extraneous). But -x adds in the error log stored on the drive, so look at that section for any recent errors. Note the time is in power-on hours, so you do need to look at the current power on hours to get some idea of how recent the errors are.
I also suggest running the smart self test with smartctl for each drive. If you want to take the time, you could also run the full test - though that will take a long time, given the number and size of the disks you have.
There is a command you could try which (if successful) will allow the volume to be remounted - with perhaps a small amount of data corruption/loss. But let's check the disk health before we move onto that.
Note there is another avenue - you could get a data recovery contract with Netgear. That is expensive, but it would give you the best odds of data recovery. https://kb.netgear.com/69/ReadyNAS-Data-Recovery-Diagnostics-Scope-of-Service
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!