LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 12-17-2007, 01:57 PM   #1
yello
LQ Newbie
 
Registered: Nov 2007
Location: Hawaii
Distribution: Fedora8
Posts: 6

Rep: Reputation: 0
Strategies for recovering JPEG files from a damaged filesystem


Hi all,

I've recently found myself with what appears to be a damaged ext3 filesystem residing on a logical volume with RAID5 underpinnings.

I have recently uploaded about 500 JPEG files to it from my camera (before the filesystem fell apart). When I examine the bytes residing on the volume, it appears the data is still there.

My question is: What strategies do I use to get these 2-3 megabyte files off of the volume?

I have tried 'foremost', 'photorec', 'magicrescue' and 'RecoverDataLinux' to try to get the files. I get the small files, thumbnails, etc, but cannot get any of the larger files.

What does one do to get any of the larger files?

Thanks for your insight!

--dave;
 
Old 12-17-2007, 03:04 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I've used foremost. It recovers jpg, avi, mpg files from hard disks, since these files have very consistent headers.
 
Old 12-17-2007, 03:22 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,524
Blog Entries: 51

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
File carvers string together bits of files by looking for the start and end of file. The problem is that finding an end-of-file marker (or any adjacent start of file marker in case the sig doesn't have a footer) does not guarantee file integrity: it's kind of a brute force approach so the result may be missing pieces or stray data may have been trapped in it. IIRC Photorec can set a maximum recovered file size. If you oversize it it may yield more results but does not guarantee image consistency. To "cleanse" the images you may have to resort to stuff like this but that means lotsa work so it depends on the value of the images. And unless you executed all your carving with a readonly mounted system any writing can deteriorate what's there. Do make a copy and work on that if possible. You say you copied it off you cam. Would it be possible to carve images out of that as well?
 
  


Reply

Tags
files, jpeg, lost, recover


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help recovering damaged partition matheusleite Linux - Newbie 1 10-10-2007 12:48 PM
Recovering tar files burnt to cd without a filesystem?? mazinoz DamnSmallLinux 2 11-22-2005 05:47 PM
Recovering Files From Another Filesystem eklitzke Linux - General 3 03-14-2005 11:39 AM
Frontend for recovering deleted files from ext3 filesystem jayakrishnan Linux - General 3 12-16-2004 02:21 PM
Recovering data from damaged CD corn Linux - Hardware 4 09-23-2004 12:32 AM


All times are GMT -5. The time now is 08:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration