Le Tue, 05 Jun 2007 08:41:32 +0200
alex(a)loes.org.lu a écrit :
I accidently erased 6GB of photos taken on holiday on
my HD. It is an
ext3 Partition.
After googling, I found no tool to recover the photos.
Does anybody knnow how to recover files in an exxt3 partition?
If you have space, copy the whole partition with a "dd", just ask
Google. You can remount in read only mode the partition, too. It will be
like a backup that you can restore whenever you want.
http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html states:
"""""""""""""""""""""""""""
Q: How can I recover (undelete) deleted files from my ext3 partition?
Actually, you can't! This is what one of the developers, Andreas
Dilger, said about it:
In order to ensure that ext3 can safely resume an unlink after a crash,
it actually zeros out the block pointers in the inode, whereas
ext2 just marks these blocks as unused in the block bitmaps and marks
the inode as "deleted" and leaves the block pointers alone.
Your only hope is to "grep" for parts of your files that have been
deleted and hope for the best.
""""""""""""""""""""""""""""
The grep method does work for text files. It just implies searching
everywhere in the partition to grab some chucks of text. I am afraid to
tell you that for binary files, like jpg, that should not work that
good.
Be aware that if ext2 allows some recovering, ext3 deletes most
useful things. The file pointer are altered so that you cannot guess
where the files are. Plus, if you made some disk access you (or your
system) may have scratched the previous data.
One more authoritative post:
http://lists.samba.org/archive/linux/2003-January/006114.html
Good luck,
--
Christophe HENRY
http://www.sbgodin.fr - Site perso