LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 11-23-2003, 03:15 PM   #1
darksarin
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.1
Posts: 4

Rep: Reputation: 0
Angry 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!!!!!!!
 
Old 11-23-2003, 04:25 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
I think you are SOL.
 
Old 11-23-2003, 05:31 PM   #3
darksarin
LQ Newbie
 
Registered: Nov 2003
Distribution: MDK 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 11-23-2003, 05:49 PM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Of course, you have done the usual Google seach, right?
 
Old 11-23-2003, 07:13 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie deleted some files accidentally twysm Red Hat 2 04-08-2005 05:00 PM
accidentally deleted some files and I don't know what I need to do to get them back Michele Linux - Newbie 2 06-26-2004 05:42 AM
Accidentally deleted files rwalkerphl Linux - Newbie 3 06-24-2004 06:11 PM
accidentally deleted /etc/profile tanbetien Fedora 2 11-21-2003 09:42 PM
undeleting accidentally deleted files darksarin Linux - Newbie 3 11-21-2003 08:08 AM


All times are GMT -5. The time now is 06:34 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