How to recover 700K out of 14 million files
#1 OFFLINE
Posted 18 September 2009 - 09:17 PM
I deleted a bunch of files (about 14.8 million). Turns out I need about 700 thousand of them back. They are all in a single directory tree. Nothing has been written to the disk since. Scanning the MFT should find everything. The problem I am having is that no software I've tried so far can deal with that many deleted files without running out of memory or hanging, including Recuva.
System has RAID array with 2.75 TB, dual Xeon 3.6 GHz, 3 GB RAM. Recuva went all the way through to the end of Stage 1, reporting 14,840,569 files, 100%, 0 seconds left. Then it just sat there. Left it overnight, no change. It was using about 2.8 GB of RAM and occasionally a 1% of CPU. Pagefile was up to 22 GB. Finally had to kill the process. Maddening.
Is there some way I can tell Recuva only to process files in the directory tree that I care about (say F:\data\important\stuff) during Stage 1 (and 2)? Would it actually have finished if I had left it? Any way to tell what it was doing?
Any other programs out there that deal with memory in a better way?
Thanks,
Fran
#2 OFFLINE
Posted 18 September 2009 - 10:58 PM
The easier way to tackle it might seem to be to try and do it in smaller chunks, as you've already suggested. Though the problem I assume that you've encountered with the folder scan is that you might at first think that "one folder" seems a smaller place to search ... but files in that folder could be all over the place so you still have to initially scan the whole partition in order to filter out matches on "your folder".
Did you actually try that though? Since I assume it would "filter as it went along" you might still only get a relatively small result set. Unless of course by "single directory tree" you are also saying "single folder" ... in which case the whole folder argument goes out of the window as a way of splitting the files into chucks ..... and you need to try something else .....
These guys also do various bits of recovery software. I've used their stuff and their Active@ File Recovery can work by specifying various attributes; file sizes / dates (created, modified, accessed, deleted) and filename extensions/wildcards. So you could try that for piecemeal recovery too - not everything at once. Again, it will always mean scanning a whole partition though. Their stuff isn't free like Recuva, but you could run the scan on the trial version and at least see if it finished.
#3 OFFLINE
Posted 19 September 2009 - 01:54 AM
I thought of trying to restore some files, even those I don't care about, to reduce the total number of deleted files. I am worried that this might cause some blocks on the disk to get written to, however. I suppose in theory, all it should have to do is unset the deleted bit in the MFT, but I'm not exactly sure how this works. If I instead restore the (unwanted) files to a different disk, it won't help, since they will still be marked deleted on the original disk. What would help is if there were some way to ignore those unwanted files.
Also, there is no way using attributes, dates, or filenames to get just the files I want. The only way is to specify the base directory (and yes, I want the whole subtree, not just one directory).
-Fran
#4 OFFLINE
Posted 19 September 2009 - 08:17 AM
Recovering files creates a new file, so the old deleted entry in the MFT still remains (the new file uses a 'random' deleted MFT entry). The new file will overwrite something if placed on the same disk - hence the warning message. I think it's safe to say that you must recover (if you get to that happy state) to another volume.
Although you can filter the initial scan, as far as I know filtering just limits the display, the full scan is always done whatever the filter says, so you won't save much if any memory by filtering. Selecting a particular disk, if you can, would of course ease the problem.
#5 OFFLINE
Posted 19 September 2009 - 10:19 AM
Francis Favorini, on Sep 19 2009, 01:54 AM, said:
Augeas that's an interesting little gem about cancelling stage 2. I've just been reading the Recuva documentation and Stage 2 only assesses "recoverability potential" - superfluous for the OP since the files are known to be intact. So that would save a helluva lot of time!
[[ Going off on a complete tangent for a sec (and not aimed at you Fran) the Recuva "Technical Information" section should be compulsory reading for anyone on these forums with deletion / recovery problems ... very misunderstood area! ]]
Francis Favorini, on Sep 19 2009, 01:54 AM, said:
I did a test recovering a single folder containing 340,000 deleted files - though obviously I couldn't simulate your 15,000,000 total deletions. Cancelling Recuva after Stage 1 caused no issues and the file list displayed without problem. I also started the recovery off and it didn't seem to have any problem handling the list size (it would have taken longer than I was prepared to wait for it to finish so I cancelled it). But I'm thinking that if you can identify the right folder(s) then you may be okay.
Incidentally "Active@ File Recovery" has a tree view pane like Windows Explorer, so if you have forgotten or don't know what the folder names are, that might be a useful way of identifying the folder names to feed into Recuva.
And to the Recuva devs ... how a tree view
Augeas, on Sep 19 2009, 08:17 AM, said:
As an aside, is your RAID a stripe or a mirror? If it was a mirror I was wondering out of curiosity whether you were going to take one disk out as a "back up".
#6 OFFLINE
#7 OFFLINE
Posted 19 September 2009 - 12:33 PM
Augeas said:
#8 OFFLINE
Posted 21 September 2009 - 04:35 PM
Augeas, on Sep 19 2009, 03:17 AM, said:
Augeas, on Sep 19 2009, 03:17 AM, said:
Augeas, on Sep 19 2009, 03:17 AM, said:
#9 OFFLINE
Posted 21 September 2009 - 04:43 PM
marmite, on Sep 19 2009, 05:19 AM, said:
marmite, on Sep 19 2009, 05:19 AM, said:
marmite, on Sep 19 2009, 05:19 AM, said:
marmite, on Sep 19 2009, 05:19 AM, said:
marmite, on Sep 19 2009, 05:19 AM, said:
Thanks for any help you can think of.
#10 OFFLINE
Posted 21 September 2009 - 04:50 PM
#11 OFFLINE
Posted 21 September 2009 - 04:54 PM
EASEUS Deleted File Recovery
Free Undelete
Glary Undelete
Pandora
PCInspector File Recovery
Undelete & Unerase RecoverFiles
Restoration
TestDisk & PhotoRec
UndeletePlus
Uneraser
They all either crashed at some point, complained the disk was corrupt (it isn't), or were taking so long it didn't seem likely they would work.
#12 OFFLINE
Posted 21 September 2009 - 05:53 PM
As I assume from the system size and data volume the data must have some value. Have you contacted a data recovery company for advice? I think that they would be best equipped to recover this amount of data. It will cost, but we don't know the cost of not recovering it. It doesn't really look as if a self-recovery is going to work, and your disk(s), or the data on them, is possibly deteriorating as each day passes.
#13 OFFLINE
Posted 21 September 2009 - 07:46 PM
Francis Favorini, on Sep 21 2009, 04:43 PM, said:
Maybe Augeas is right - time to consider specialist assistance? It ain't gonna come cheap is it.
At least you know what you're doing now isn't harming the data - so you can exhaust reasonable possibilities first.
If you do decide to try Active@, the time for a one-pass "quick scan" (which should be sufficient for files that aren't overwritten) extrapolated from the number of files on my system partition should give you a scan time of 90-odd minutes (probably slower than Recuva, before it hung?). I'm sure it's not going to be as simple as that, especially based on your experiences so far; but because it's one-pass you should be able to gauge progress. The downside of course is that you can't recover files of any size with the trial version; so if you went ahead and you got grief at the recovery stage you'd be stung there.
#14 OFFLINE
Posted 28 September 2009 - 08:06 AM
We will re-test and report back.
MrRon
#15 OFFLINE
Posted 28 September 2009 - 03:38 PM
MrRon, on Sep 28 2009, 03:06 AM, said:
We will re-test and report back.
Also, if there were a way to set a filter so that resources are not kept around for files that don't match the filter, that would reduce the amount of memory needed. In my can, all of the files start with a known path (E:\Data\Some\Dir\). Most of the deleted files are in other directory trees, so storing their info is not necessary. The above discussion goes into more detail. Let me know if this is not clear.
Thanks,
Fran
#16 OFFLINE
Posted 03 October 2009 - 11:25 PM
Francis Favorini, on Sep 18 2009, 09:17 PM, said:
I deleted a bunch of files (about 14.8 million). Turns out I need about 700 thousand of them back. They are all in a single directory tree. Nothing has been written to the disk since. Scanning the MFT should find everything. The problem I am having is that no software I've tried so far can deal with that many deleted files without running out of memory or hanging, including Recuva.
System has RAID array with 2.75 TB, dual Xeon 3.6 GHz, 3 GB RAM. Recuva went all the way through to the end of Stage 1, reporting 14,840,569 files, 100%, 0 seconds left. Then it just sat there. Left it overnight, no change. It was using about 2.8 GB of RAM and occasionally a 1% of CPU. Pagefile was up to 22 GB. Finally had to kill the process. Maddening.
Is there some way I can tell Recuva only to process files in the directory tree that I care about (say F:\data\important\stuff) during Stage 1 (and 2)? Would it actually have finished if I had left it? Any way to tell what it was doing?
Any other programs out there that deal with memory in a better way?
Thanks,
Fran
Handy Recovery undeletes files, including those from password protected user accounts on XP & Vista. It is payware though, but if you have the full version, it works really well. It structures the results exactly the same as you would have seen the folder trees if they had not been deleted.
You can restore using folder structure on there as well as preview pics before recovery. In addition, you can drill down & right click a folder to recover & only select that folder if you wish. Or, select multiple folders. It can also scan for deleted partitions & try to find those as well.
It is one of the best programs I have tried so far, although Recuva does keep improving. It would be nice to see Recuva implement folder recovery in the future, as well as partition recovery, or at least the option to scan for deleted partitions, then recover files from deleted partitions, even if it did not restore them!
http://www.handyrecovery.com/ is the website for it. If you want to buy it, you will not regret it, I assure you.











