LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   accidentally deleted files--need help restoring on reiserfs (https://www.linuxquestions.org/questions/linux-general-1/accidentally-deleted-files-need-help-restoring-on-reiserfs-119243/)

darksarin 11-23-2003 03:15 PM

accidentally deleted files--need help restoring on reiserfs
 
I am using MDK 9.1, with reiserfs as my fs. I accidentally deleted some VERY important files, but cannot recover them.

I tried: reiserfsck --rebuild-tree -S -l rebuild.log /dev/hdb6 (this is my /home partition).

This FAILED to recover the files in question, although it DID recover some. If you have ANY suggestions as to what to do. I have had some ppl suggest that I use Midnight Commander, but AFAIK it only works for ext2.

PLEASE HELP!!!!!!!

fancypiper 11-23-2003 04:25 PM

I think you are SOL. :(

darksarin 11-23-2003 05:31 PM

ACK!
 
Surely that can't be true. I have tried to find the information everywhere, but without luck.


Somehow, I don't believe it, though. There must be a way to recover these, above and beyond the specified method.

fancypiper 11-23-2003 05:49 PM

Of course, you have done the usual Google seach, right?

Tinkster 11-23-2003 07:13 PM

And there's always "the hard way" :}

Quote:

from http://recover.sourceforge.net/unix/
Recovering files in Unix

If you really need to undelete a file, that's the way to do it:

grep -a -B[size before] -A[size after] 'text' /dev/[your_partition]

Replace [size before], [size after] and [your_partition] with something meaningfull. Don't know what your partition is? Read the Linux undelete manual!

e.g.: If you want to undelete a letter (+- 200 lines) starting with "Hi mum" which was stored on /dev/hda1 you can try:

grep -a -B2 -A200 "Hi mum" /dev/hda1

Make sure you do this as root (System administrator)

Read the grep manual page for more information!

Read your unix's manual. Perhaps it contains an own undeletion program.
I had success with this a few times ;)

Cheers,
Tink


All times are GMT -5. The time now is 01:50 PM.