Page 1 of 1

Scan repeatedly restarts from lower point

Posted: 09 Mar 2017, 22:31
by nickd
Howdy! I'm running PhotoRec on a drive, curious why it's restarting. It appears to have recovered a lot files, but now it starts from an earlier point over and over every couple of days.

So it'll go from e.g.:

Pass 1 - Reading sector 316755605/976745984, 51485 files found
Elapsed time 101h23m43s - Estimated time to completion 211h16m00


Pass 1 - Reading sector 97068011/976745984, 51487 files found
Elapsed time 334h44m47s - Estimated time to completion 3033h38m10


Pass 1 - Reading sector 131172202/976745984, 51488 files found
Elapsed time 389h26m13s - Estimated time to completion 2510h25m21

It's reading a lower number of sectors, even though it's found lots of files. It might recover 1 or 2 more before it restarts.

Thoughts on why this may be? Should we just end the scan?

Re: Scan repeatedly restarts from lower point

Posted: 10 Mar 2017, 06:51
by cgrenier
Please try using latest 7.1-WIP version.
To avoid to restart from the beginning, you can copy the file from the old version of photorec to the directory where the latest version is.
If needed, explains how to install the latest version.

Re: Scan repeatedly restarts from lower point

Posted: 16 Mar 2017, 17:26
by nickd
Thanks! I just ran 7.1-WIP and it completed the scan successfully. Appreciate the help.

One more thing, though: instead of generating a bunch of directories with files in them as before, photorec appears to have generated two files:

f905091823.diskimage, which is 293.5GB
report.xml, which is 2kb (and is pasted).

What's the best way to unzip the diskimage file and access its contents? Disk Utility and hdiutil appear to not work. Thanks!

Code: Select all

<?xml version='1.0' encoding='UTF-8'?>
<dfxml xmloutputversion='1.0'>
    <dc:type>Carve Report</dc:type>
      <compiler>GCC 4.0</compiler>
      <library name='libext2fs' version='1.42.8'/>
      <library name='libewf' version='20120504'/>
      <library name='libjpeg' version='62'/>
      <library name='libntfs' version='libntfs-3g'/>
      <library name='zlib' version='1.2.3'/>
      <os_version>Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64</os_version>
        <byte_run offset='0' img_offset='4096' len='4000751550464'/>
      <byte_run offset='0' img_offset='3707256111104' len='293495443456'/>

Re: Scan repeatedly restarts from lower point

Posted: 31 Mar 2017, 14:55
by nickd
Hello! Just following up on this – how does one read .diskimage files?