Author Topic: Restore - The system cannot find the path specified  (Read 191 times)

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Restore - The system cannot find the path specified
« on: November 09, 2017, 04:31:20 pm »
I lost a DRU drive, but still have the parity and other drive intact.  I ran a quick validate and it completed with success, showing a whole lot of WARN : Deleted on all the files that used to exist on the DRU, BUT at least appearing to acknowledge that and read the parity??

When I try to restore I get this:

[2017-11-10 08:35:08,236] ERROR: [restore] error: IOException[The system cannot find the path specified]
java.io.IOException: The system cannot find the path specified
   at java.io.WinNTFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(Unknown Source)
   at com.tchegbe.lib.common.j.h.a(Unknown Source)
   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)
[2017-11-10 08:35:08,236] INFO : [restore] completed at: Fri Nov 10 08:35:08 EST 2017

I have tried specifying the meta path by giving the parity drive a drive letter and just placing P:\ in the config for meta path.  I restarted the service and this made no difference.  Trace logging has not added any info to the above error.  There is just one meta file with any data, the other backup files are all zero sized.

Is there any hope of bringing those deleted files back?

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #1 on: November 10, 2017, 10:47:17 am »
Please enable TRACE logging and retry the Restore task that more detail can be captured.

As you have the PPU drive mounted to a drive letter, try taking a screenshot of its content and posting it here.

From the line "java.io.File.createNewFile", it could be that writing to the Restored-To disk is not successful. More detail is needed (logs and screenshot) before being more conclusive.

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #2 on: November 10, 2017, 03:50:07 pm »
I have trace logging enabled, I removed the log file and retried the restore to get the full output of just that action:

[2017-11-11 07:58:39,282] INFO : Setting core service port to 9595
[2017-11-11 07:58:39,283] INFO : Setting Http port to 8080
[2017-11-11 07:58:39,283] INFO : Https port not set. Https requests will not be serviced...
[2017-11-11 07:58:39,288] INFO : Starting FlexRAID...
[2017-11-11 07:58:39,288] INFO : FlexRAID 2.1 [Snapshot 1.1 / Storage Pool 2.0] [2015.11.01]
[2017-11-11 07:58:39,288] INFO : Started: 11 November 2017 7:58:39 AM
[2017-11-11 07:58:39,470] TRACE: keepalive=true
[2017-11-11 07:58:39,470] TRACE: keepalive=true
[2017-11-11 07:58:40,676] TRACE: Building view for class1_0
[2017-11-11 07:58:47,318] TRACE: Executing: upload
[2017-11-11 07:58:47,319] TRACE:    => {"success": true, "status": {"referenceCode": "1", "task": "restore", "status": "STATUS_STARTED", "progress": null, "report": null, "processes": 0, "processesRequested": 0}, "commandMessages": [{"messageCode": "successTaskInitiated", "messageData": ["restore", "1"]}], "serverMessages": null}
[2017-11-11 07:58:47,319] INFO : Executing restore...
[2017-11-11 07:58:47,320] INFO : [restore] started at: Sat Nov 11 07:58:47 EST 2017
[2017-11-11 07:58:55,705] TRACE: Starting the Storage Pool - checking if instance is active...
[2017-11-11 07:58:55,705] TRACE: Starting the Storage Pool - checking if reboot is required...
[2017-11-11 07:58:55,705] TRACE: Starting the Storage Pool - validating dependencies...
[2017-11-11 07:58:55,706] INFO : Initiating FlexRAID Storage Pool...
[2017-11-11 07:58:55,767] INFO : Host OS = Microsoft Windows [Version 10.0.10586]
[2017-11-11 07:58:55,767] INFO : Building View Registry...
[2017-11-11 07:58:55,768] INFO : Building Auto View Registry...
[2017-11-11 07:58:55,772] INFO : Loading View options...
[2017-11-11 07:58:55,774] DEBUG: Processing match list...
[2017-11-11 07:58:55,775] DEBUG: Processing unique roots...
[2017-11-11 07:58:55,775] DEBUG: Processing unique root: C:\FlexRAID-Managed-Pool\class1_0\{a73b94f1-dbb8-4c58-bb6a-d961b8431f1b}
[2017-11-11 07:58:55,775] DEBUG: Processing unique root: C:\FlexRAID-Managed-Pool\class1_0\{00233c0a-0000-0000-0000-100000000000}
[2017-11-11 07:58:55,776] TRACE: Loading AutoRegistry options...
[2017-11-11 07:58:55,776] TRACE: Completing AutoRegistry options...
[2017-11-11 07:58:55,777] TRACE: Loading View definition...
[2017-11-11 07:58:55,777] INFO : Using Auto-View definition...
[2017-11-11 07:58:55,777] INFO : Building View Handler...
[2017-11-11 07:58:58,496] INFO : Mounting Storage Pool drive...
[2017-11-11 07:59:13,976] TRACE: Disabling recycle bin if needed...
[2017-11-11 07:59:18,471] TRACE: Checking and executing after pool start instructions..
[2017-11-11 07:59:18,854] INFO : Reconnecting z$="Z:" /GRANT:abc\aaa,FULL
[2017-11-11 07:59:19,113] INFO : Reconnecting "bbb's Projects"="Z:\Projects\bbb" /GRANT:abc\bbb,CHANGE
[2017-11-11 07:59:19,922] INFO : Reconnecting ccc="Z:\Projects\ccc" /GRANT:abc\ddd,READ /GRANT:abc\ccc,READ /GRANT:abc\aaa,FULL
[2017-11-11 08:02:11,640] ERROR: [restore] error: IOException[The system cannot find the path specified]
java.io.IOException: The system cannot find the path specified
   at java.io.WinNTFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(Unknown Source)
   at com.tchegbe.lib.common.j.h.a(Unknown Source)
   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)
[2017-11-11 08:02:11,640] INFO : [restore] completed at: Sat Nov 11 08:02:11 EST 2017

The sys.c1-1.log doesn't tell a lot, but it does document the last thing it did I suppose:

[2017-11-11 07:58:40.701615][14720][DLL_THREAD_ATTACH] ID=14720
[2017-11-11 07:58:58.496217][13604]Build Timestamp [Nov  1 2015 04:04:22]
[2017-11-11 07:58:58.496218][13604]


--------------- Storage Pool Start ---------------
[2017-11-11 07:58:58.496218][13604][Mounting Storage Pool]
[2017-11-11 07:58:58.497218][13604][VM already acquired...]
[2017-11-11 07:58:58.497218][13604][Building options...]

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #3 on: November 11, 2017, 09:45:37 am »
1. Can you post a screenshot of your RAID configuration?

2. Delete all the flxr.meta.old.xxx files.

3. Reboot the system.

4. Retry and post the logs.

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #4 on: November 11, 2017, 04:19:12 pm »
Okay, I removed the flxr.meta.old.xxx files and rebooted, then attempted restore from the toolbox - this got the same result.  Also tried restore without swapping out, this results in the same error.  In the supplied screenshot I removed the drive letter for the PPU otherwise it displays as missing (I did try restore with/without the drive letter attached)

You can see both attempts captured:

[2017-11-12 08:35:03,615] TRACE: Executing: view
[2017-11-12 08:35:03,615] TRACE: Building view for class1_0
[2017-11-12 08:35:03,615] TRACE: View Manager - executing state
[2017-11-12 08:35:03,622] TRACE:    => {"success": true, "status": null, "commandMessages": [], "serverMessages": null, "infos": [{"installed": true, "rebootRequired": false, "published": true, "markedToStartAutomatically": true, "autoStartDelay": 15000, "hasSharesToReconnect": true, "running": false, "starting": false, "stopping": false}]}
[2017-11-12 08:35:03,623] TRACE: Executing: view
[2017-11-12 08:35:03,623] TRACE: Building view for class1_0
[2017-11-12 08:35:03,623] TRACE:    => {"success": true, "status": null, "commandMessages": [{"messageCode": "successSuccessfulOperation", "messageData": []}], "serverMessages": null}
[2017-11-12 08:35:03,623] TRACE: Executing: view
[2017-11-12 08:35:03,623] TRACE: Building view for class1_0
[2017-11-12 08:35:03,630] TRACE:    => {"success": true, "status": null, "commandMessages": [{"messageCode": "successSuccessfulOperation", "messageData": []}], "serverMessages": null}
[2017-11-12 08:35:03,630] TRACE: Executing: view
[2017-11-12 08:35:03,630] TRACE: Building view for class1_0
[2017-11-12 08:35:03,632] TRACE:    => {"success": true, "status": null, "commandMessages": [{"messageCode": "successSuccessfulOperation", "messageData": []}], "serverMessages": null}
[2017-11-12 08:35:44,595] TRACE: Executing: upload
[2017-11-12 08:35:45,006] TRACE:    => {"success": true, "status": {"referenceCode": "1", "task": "restore", "status": "STATUS_STARTED", "progress": null, "report": null, "processes": 0, "processesRequested": 0}, "commandMessages": [{"messageCode": "successTaskInitiated", "messageData": ["restore", "1"]}], "serverMessages": null}
[2017-11-12 08:35:45,007] INFO : Executing restore...
[2017-11-12 08:35:45,008] INFO : [restore] started at: Sun Nov 12 08:35:45 EST 2017
[2017-11-12 08:36:38,352] ERROR: [restore] error: IOException[The system cannot find the path specified]
java.io.IOException: The system cannot find the path specified
   at java.io.WinNTFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(Unknown Source)
   at com.tchegbe.lib.common.j.h.a(Unknown Source)
   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)
[2017-11-12 08:36:38,353] INFO : [restore] completed at: Sun Nov 12 08:36:38 EST 2017
[2017-11-12 08:41:25,785] TRACE: Executing: upload
[2017-11-12 08:41:25,786] TRACE:    => {"success": true, "status": {"referenceCode": "2", "task": "restore", "status": "STATUS_STARTED", "progress": null, "report": null, "processes": 0, "processesRequested": 0}, "commandMessages": [{"messageCode": "successTaskInitiated", "messageData": ["restore", "2"]}], "serverMessages": null}
[2017-11-12 08:41:25,786] INFO : Executing restore...
[2017-11-12 08:41:25,786] INFO : [restore] started at: Sun Nov 12 08:41:25 EST 2017
[2017-11-12 08:42:19,518] ERROR: [restore] error: IOException[The system cannot find the path specified]
java.io.IOException: The system cannot find the path specified
   at java.io.WinNTFileSystem.createFileExclusively(Native Method)
   at java.io.File.createNewFile(Unknown Source)
   at com.tchegbe.lib.common.j.h.a(Unknown Source)
   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)
[2017-11-12 08:42:19,518] INFO : [restore] completed at: Sun Nov 12 08:42:19 EST 2017

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #5 on: November 11, 2017, 04:20:02 pm »
And the final screenshot

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #6 on: November 11, 2017, 08:27:34 pm »
Looking at this image, there is something potentially wrong with the file system on your other disks.


The icon (with yellow warning) indicates something wrong with the file system on the healthy drives. The drives are physically healthy, but the something is going on with the file system.
The exception you are getting has to do with an operation whereas the system says a file is missing when it is actually there.

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #7 on: November 11, 2017, 10:32:15 pm »
A chkdsk found no problems, likewise I did a short test on both drives and both passed.  Also did a scan for invalid dates and scan for hardlinks and junctions with no errors found.  DRU3 doesn't have any files (never did), it just has the _flxr_ folder, system volume information and two recycle folders.

Any ideas on what I can do, I don't know what the exclamation marks are telling me.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #8 on: November 12, 2017, 04:30:54 am »
The warning icons indicate that there is something abnormal with the mount, which could be due to file system issue or other.
It is difficult to say without access to the system and analyzing various things.

Try granting yourself access to and navigating to C:\FlexRAID-Managed-Pool\class1_0\. Take a screen shot of the content of that folder and post it.

Also, if you have any sort of anti-virus or the likes, try disabling them as a test.
« Last Edit: November 12, 2017, 04:33:08 am by Brahim »

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #9 on: November 12, 2017, 04:38:38 pm »
Sophos was installed and running so I uninstalled it, rebooted and checked that it was gone.  That didn't help so it mustn't be the factor.  I did get the screenshots though.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #10 on: November 14, 2017, 05:33:57 am »
Why are both of the drives showing as relatively empty?
Which one is the PPU?

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #11 on: November 14, 2017, 04:01:50 pm »
I had to edit this post to correct my own mistake.  I ran a program as administrator so that I could browse files as admin using File->Open.  I mistakenly left the program's file filter active so it wouldn't show any of the flexraid files.  Here is the corrected screenshot of the PPU (next post because I can't attach in an edit).  DRU3 is pretty much empty because there was nothing on there.

« Last Edit: November 14, 2017, 05:47:16 pm by ebswift »

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #12 on: November 14, 2017, 05:48:09 pm »
PPU referred to above.

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,400
  • Karma: +201/-15
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #13 on: November 14, 2017, 06:32:20 pm »
I see. I can't think of why the file system on the PPU is misbehaving.

One thing to try in order to get more understanding, would be to use Process Monitor (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) and track the file access of the RAID-F process. Filter for errors and see what might be happening.

Offline ebswift

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Restore - The system cannot find the path specified
« Reply #14 on: November 14, 2017, 09:54:27 pm »
It can't find the meta file because it's looking for a folder that does not exist.  See the attached screenshot where it is attempting to open flxr.meta, that folder is not in the previous screenshot of the folders under FlexRAID-Managed-Pool.  So I guess we now know why the error is happening, so how do I correct this location mismatch?