Author Topic: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2  (Read 822 times)

Offline meltek

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
After 4 and a bit years of using FlexRaid, I had my first disk failure. I replaced the 2Tb disk with a new 4Tb disk however during the pre-validation of the restore I received the following error.

[2018-01-25 19:35:54,598] ERROR: [restore] error: IOException[Too many failed devices! Failed=2 - Number of devices supported to be restored at a time: 1]
java.io.IOException: Too many failed devices! Failed=2 - Number of devices supported to be restored at a time: 1
   at com.tchegbe.lib.io.a.e.t.a(Unknown Source)
   at com.tchegbe.lib.io.a.e.c.a.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

I have only one failed disk and FlexRaid proves this by showing all others as 'healthy'.

Happy to email the full log to anyone able to help.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2
« Reply #1 on: January 25, 2018, 06:28:57 pm »
Set your logs to TRACE mode and retry. Then, look at the logs.
Chances are, your RAID has another drive with lots of missing files.

Last, make sure you are on the latest release.

Offline meltek

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2
« Reply #2 on: January 27, 2018, 05:41:34 pm »
Thank you Brahim,

I updated to the latest version and the restore process completed, I thought I had all of my files back however once I tried to open one I realized they have all been corrupted. I have set the log to trace.

2018-01-27 11:18:16,542] WARN : Issues detected on DRU1
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 0
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 16
[2018-01-27 11:18:16,542] WARN :       Failed Size = 9279833164
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU2
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 14
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 0
[2018-01-27 11:18:16,542] WARN :       Failed Size = 301078318
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU4
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 0
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 19
[2018-01-27 11:18:16,542] WARN :       Failed Size = 26385338558
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU5
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 1
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 31
[2018-01-27 11:18:16,542] WARN :       Failed Size = 16613870966
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU6
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 1
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 43
[2018-01-27 11:18:16,542] WARN :       Failed Size = 1266411372
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU7
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 1
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 0
[2018-01-27 11:18:16,542] WARN :       Failed Size = 2005720
[2018-01-27 11:18:16,542] WARN : Issues detected on DRU8
[2018-01-27 11:18:16,542] WARN :       Failed = false
[2018-01-27 11:18:16,542] WARN :       Changed = 1
[2018-01-27 11:18:16,542] WARN :       Corrupted = 0
[2018-01-27 11:18:16,542] WARN :       Missing = 0
[2018-01-27 11:18:16,542] WARN :       Failed Size = 34996
[2018-01-27 18:00:10,173] WARN : Corrupted restored file: D:2:0\Share\Media\Movies\Godfather Part III, The (1990) [BD Remux]\Godfather Part III, The (1990) [BD Remux].mkv
[2018-01-27 18:00:10,173] WARN : Corrupted restored file: D:2:0\Share\Media\Movies\Godfather, The (1972) [BD Remux]\Godfather, The (1972) [BD Remux].mkv
[2018-01-27 18:00:10,173] WARN : Corrupted restored file: D:2:0\Share\Media\Movies\Godfather Part II, The (1972) [BD Remux]\Godfather Part II, The (1972) [BD Remux].mkv
[2018-01-27 18:00:10,173] WARN : Corrupted restored file: D:2:0\Share\Media\Movies\Avengers, The (2012) [3D Remux]\Avengers, The (2012) [3D Remux].mkv
[2018-01-27 18:00:10,173] WARN : Corrupted restored file: D:2:0\Share\Media\Movies\Wolf of Wall Street, The (2013) [BD Remux]\Wolf of Wall Street, The (2013) [BD Remux].mkv
.
.
.
etc.


Have I got any way of recovering the data from this point on?

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2
« Reply #3 on: January 27, 2018, 08:33:22 pm »
You array looks like it was badly out of sync. Once that happens, you are bound to have corrupted restored files.
There is no fix for this as far as the software itself. Your last recourse is attempting to revive the failed disk itself and recover as much data off it as possible.

It does not look like you had the Universal Recycle Bin (URB) feature enabled either.
With Snapshot RAID, it is critical to maintain an updated parity. See: http://wiki.flexraid.com/2011/10/18/understanding-the-limitations-of-snapshot-raid/

Offline kevin.r

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2
« Reply #4 on: January 28, 2018, 05:43:23 pm »
Assuming the Flexraid One system doesn't change this too much, in the future, I would recommend setting up an appropriate schedule for Quick Validate, Validate, and Update (it's automatable within Flexraid).

Also, not sure the circumstances by which your drive failed, but if it hasn't been destructively handled, the old data can most likely be used; if you're near FL, I'd be happy to lend my assistance.

Offline meltek

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Pre-Validation on Restore Failed - Too many Failed Devices! Failed =2
« Reply #5 on: January 31, 2018, 08:26:57 pm »
Thank you for your help. I am from Sydney.

Luckily I had an old backup with most of the data I lost. Flexraid restored the folder names so it was easy to see what was gone (corrupted).

I will be sure to now include daily update and weekly validate schedules.