Search found 17 matches

by SHaran
11 Oct 2019, 03:46
Forum: Partition Recovery
Topic: segmentation fault on start
Replies: 1
Views: 1572

segmentation fault on start

The older version works...testdisk 7.0-3+b3

But not the newer versions. They fail on program startup...

# testdisk-7.1/photorec_static
segmentation fault testdisk-7.1/photorec_static
:(
# testdisk-7.2-WIP/photorec_static
segmentation fault testdisk-7.2-WIP/photorec_static

# uname -a
Linux ...
by SHaran
19 Jul 2019, 21:26
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

Thank you for the suggestions. I think we can agree that automated file verification is a complex process with so many different file types to consider. And it appears that Photorec can be at least a part of the solution.
by SHaran
19 Jul 2019, 18:45
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

It depends what bit you flip. If you flip a bit that contains the file type signature then Photorec verification will fail.

In a data recovery scenario where you are trying to verify files that were generated by filesystem reconstruction tools. You can open each file manually to verify if it is ...
by SHaran
19 Jul 2019, 16:06
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

In Linux as they say everything is a file. And Photorec with the /help option says it will work on a file or a device. For example it is common to use Photorec on device image files created via dd or ddrescue.

# photorec /h
PhotoRec 7.0, Data Recovery Utility, April 2015
Christophe GRENIER ...
by SHaran
18 Jul 2019, 22:13
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

Yes I understand what you are saying but fragmentation is not in play if you are running Photorec at the filesystem level against a single file. If Photorec can not carve an exact copy of the source file then the source file is corrupt. So for example if Photorec is run against HelloWorld.jpg but ...
by SHaran
18 Jul 2019, 17:55
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

Yes false positives are possible where a souce file could still be carved and also be corrupt. But if Photorec can not carve the source file then we can say with certainty the file is corrupt.

A tool like this can be useful to weed out corrupt files after using data recovery tools that use file ...
by SHaran
18 Jul 2019, 17:08
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Re: Data Set for Photorec Testing .jpg .pdf .zip etc.

The defragmentation issue is one of the things I want to test for to see how Photorec operates on different filesystem types.

I'm also working on a script that runs Photorec on a per file basis to see if Photorec can extract an exact match to the source file. And the reason for this is to use ...
by SHaran
17 Jul 2019, 20:21
Forum: File recovery
Topic: Data Set for Photorec Testing .jpg .pdf .zip etc.
Replies: 12
Views: 9415

Data Set for Photorec Testing .jpg .pdf .zip etc.

For research purposes I am wondering if there exists a downloadable collection of files where each file represents a unique file format? So that all the different file formats supported by Photorec can be tested.
by SHaran
15 Sep 2015, 21:48
Forum: Filesystem repair
Topic: 14TB ext4 damaged filesystem...how does TD mount it?
Replies: 0
Views: 1469

14TB ext4 damaged filesystem...how does TD mount it?

Hello, I am trying to recover data from a damaged ext4 filesystem. Using TestDisk I am able to see the folder structure and filenames and I can recover some data. I can also see data using debugfs -c (catastrophic mode). But I can not mount the filesystem in the normal way.

My question is how is ...
by SHaran
17 May 2015, 17:30
Forum: Partition Recovery
Topic: QNAP TS-439 Pro II lost RAID-5-configuration / Filesystem
Replies: 30
Views: 17675

Re: QNAP TS-439 Pro II lost RAID-5-configuration / Filesyste

Bernd,
That's odd, mount normally guesses the correct filesystem type. But in any case that's great news. I'm glad I could help you recover your data.

And yes I perform remote data recovery for clients world wide and work on a lot of failed RAID/NAS systems.

Stephen