Anyone have a utility to recover Corrupted PEF files?

P. J. Alling webstertwentysix at
Wed Oct 7 01:08:45 EDT 2009

Forgot about the /c switch.  I'll have to try that.

Paul Sorenson wrote:
> Have you tried copying from the command line?  Try using xcopy with 
> the /c switch.  That should copy the file(s) regardless of errors.
> -p
> P. J. Alling wrote:
>> Been there done that.  The file recovered has the same read problem.  
>> I don't know if it's got the CRC failure because I simply deleted the 
>> recovery directory when image I wanted to work with failed in the 
>> same way when trying to open it with the raw converter..  I've got 
>> five Ultra II extreme cards two 4gb and three 2gb cards, I'm not sure 
>> which card these came from so this will become a bit of a project...
>> Graydon wrote:
>>> On Tue, Oct 06, 2009 at 11:21:20PM -0400, P. J. Alling scripsit:
>>>> This is absolutely weird.   I can view it in Pentax Photo browser, 
>>>> with  Ifranview or as a thumbnail using the Windows PEF Codec.  I 
>>>> get a CRC  failure when I attempt to copy the files. I haven't seen 
>>>> a file fail  with CRC failure for years.  Especially one that can 
>>>> be read by /any/  program at all.  I've run a file structure and 
>>>> hardware diagnostic on  the drive and there are no reported 
>>>> problems.  So I have data files that  cannot be backed up with the 
>>>> standard copy utility.
>>> You probably don't have a complete file; all of those viewers are going
>>> to pull the embedded thumbnail (usually one camera LCD sized, plus one
>>> full sized), and it comes before the actual raw data in the file.
>>> Sounds like you've got a bad sector on the card, which is a bad sign 
>>> for
>>> the card, and probably means a chunk of the raw data is gone if the 
>>> copy
>>> operation fails.
>>> You might want to run disk recover tools on the card and see what that
>>> gets you. Flash memory should fail to read-only and the data may still
>>> be there, and the problem is that the copy operation can't update some
>>> aspect of the file meta-data.
>>> -- Graydon


The free man owns himself. He can damage himself with either eating or
drinking; he can ruin himself with gambling. If he does he is certainly
a damn fool, and he might possibly be a damned soul; but if he may not,
he is not a free man any more than a dog.

	--G. K. Chesterton

More information about the PDML mailing list