LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 08-22-2004, 09:09 PM   #1
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Post DISCUSSION: ReiserFS Data Recovery Tips


This thread is to discuss the article titled: ReiserFS Data Recovery Tips
 
Old 08-26-2004, 02:41 PM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Original Poster
Rep: Reputation: 33
BROKEN URL

Hmmm.............it seems the URL to the article I mentioned, called Adventures in Undeleting, is broken in the time I first submitted my article and when it finally appeared in LQ..................

I did make a copy of that article at the time I first came across it for my personal use, and if I can find the author, POLAX, I will ask his permission to post the copy here for everyone's benefit.........


---thegeekster
 
Old 08-26-2004, 03:35 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,311

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
Thanks thegeekster.

--jeremy
 
Old 08-26-2004, 07:58 PM   #4
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Original Poster
Rep: Reputation: 33
Okay, after digging around a bit, I found the article...............It seems the "/forum/" postings are now in "/blog/", so that article, Adventures in Undeleting, has a new URL..............

<snip>

Last edited by thegeekster; 08-27-2004 at 02:46 PM.
 
Old 08-27-2004, 08:53 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,311

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
The article has been updated.

--jeremy
 
Old 08-27-2004, 01:45 PM   #6
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Original Poster
Rep: Reputation: 33
Thanx...........
 
Old 12-14-2004, 06:23 AM   #7
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
just wanted to say thanks, this really helped me after ive rm -rf my /etc the other day
sure it was just /etc and you cant kill slack that easy but there were few configs i would like to keep.
and yeah make backups and actually read before you press enter when doing rm -rf on something as root on a Sunday morning
 
Old 02-18-2005, 07:07 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

Rep: Reputation: Disabled
Hm. Perhaps a silly question. Why the use of grep? I mean, in that case you have to remember a text-(snippet) to start it or just grep * when you want to recover all text files. So why not use
Code:
dd if=/dev/hdxy | strings
Should be much faster on a large partition without pattern matching and still deliver all text...

Furthermore, would your scheme work also on Reiserfs with LVM (logical volume manager) or is Reiserfscheck constrained to physical partitions?

Last edited by JZL240I-U; 04-11-2005 at 02:09 AM.
 
Old 04-10-2005, 12:25 PM   #9
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
just a big Thanks to you thegeekster...
your article helps me a lot to recover a file which was mis-ovrewritten due to the crash of the appli
Note that the URL about Adventures in Undeleting is broken
 
Old 04-10-2005, 07:03 PM   #10
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Original Poster
Rep: Reputation: 33
Quote:
Originally posted by Oliv'
just a big Thanks to you thegeekster...
your article helps me a lot to recover a file which was mis-ovrewritten due to the crash of the appli
Note that the URL about Adventures in Undeleting is broken
Thank you. I'm glad it was helpful........

As for the broken link, I know about it, and it is no longer at the sig9.com site, period..........However, last month the author of that article was looking for it (through Google) and was pointed to my article.............Seems he was looking for it online and couldnt find it so he emailed me and asked if I still had my local copy of his article and also told me he would release his article under this Creative Commons License.....

I've been meaning to post his article here at LQ since I have his permission, but haven't been able to get to it just yet..........Hopefully soon, though, as it contains some really useful information..........
 
Old 04-10-2005, 08:00 PM   #11
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Original Poster
Rep: Reputation: 33
Quote:
Originally posted by JZL240I-U
Hm. Perhaps a silly question. Why the use of grep? I mean, in that case you have to remember a text-(snippet) to start it or just grep * when you want to recover all text files. So why not use
Code:
dd /dev/hdxy | strings
Should be much faster on a large partition without pattern matching and still deliver all text...

Furthermore, would your scheme work also on Reiserfs with LVM (logical volume manager) or is Reiserfscheck constrained to physical partitions?
First off, sorry for the late reply.......I haven't been online very much in the last few months........

When using grep, it's easier to grep the whole partition, unless you know _exactly_ what you're looking for and how many lines to include before and after........The reason for using grep I got from one of the recoverNet links: recoverNet - Unix-section, which describes using grep as I outlined it in my article........But, I don't see any reason for not using dd in place of grep as long as the output file is written to another partition so as not to corrupt the one you're searching on (ie, unmount it before the search to avoid accidently writing to it).......

And, sorry, I don't know anything about LVM, so I can't help you there............I've never set up logical volumes but, as I understand it, the linux kernel uses device mapper to allocate space with the userland LVM tools, and the volumes have their own device designation..............So wouldn't the partition tools work as expected, since you are partitioning a volume instead of a disk?............Again, I'm not real sure how it works, but it seems like it would work, unless I'm missing an important piece of the LVM puzzle.........
 
Old 08-04-2005, 09:47 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

Rep: Reputation: Disabled
Next silly question:

OpenOffice is currently storing documents as zip-archives or zipped files. Would something like this (or any version with grep) work:
Code:
dd if=/dev/hdxy | bunzip | strings
I can't try it myself since I converted back to ext2 from ReiserFS (with LVM) after loss of data and these were the files my wife wanted the most to have back...

Last edited by JZL240I-U; 08-04-2005 at 09:49 AM.
 
Old 02-22-2006, 05:53 PM   #13
Monster_user
LQ Newbie
 
Registered: Feb 2005
Location: Georgia, U.S.A
Distribution: Xandros 3.02 OCE (currently)
Posts: 14

Rep: Reputation: 0
I could have used this thread. Hadn't anybody heard of Archive.org in 05??? (a.k.a "The WayBack Machine", or "The Internet Archive Project")

http://web.archive.org/web/200410240...node.php?id=85

There is the link to the article.
This is the page from the "/blogs/"link above.

http://web.archive.org/web/200410140...ndex.php?or=32

THANK YOU Geekster, for posting the link in Post#4. Thank you, thank you, thank you.

I needed it, because I just stupidly mounted (and then unmounted)) my Reiser 3.x partition, while running badblocks in Knoppix 3.9. Killed the file system completely.

Sorry to ressurect an old thread, but I did not want to let such valuable data dissapear. Then have people think it is gone for good.

I did do a search for similiar threads. Appearently I need to relearn how to use the search feature, because I just noticed a few threads below. They are not as helpfull as this thread though.

Side note. I've got my data back.

Last edited by Monster_user; 02-22-2006 at 06:00 PM.
 
Old 01-02-2010, 08:32 AM   #14
beislhur
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
Thumbs up Thank you!!!!!

reiserfsck did the trick!

I have learned my lesson: It is NEVER a good idea to use the same directory name on different hierarchy levels. I had messed up my /shared directory assuming to be in /backup/shared!

Thanks again, you prevented me from being awarded the "Dumbass Of The Year-Award"

beislhur
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: IceWM Tips macondo LinuxAnswers Discussion 9 08-09-2005 03:50 PM
ReiserFS data recovery jclu Linux - Software 1 07-13-2005 12:26 PM
DISCUSSION: A Couple Quick find Tips beg84all LinuxAnswers Discussion 0 02-09-2005 03:47 PM
Manual recovery of data from trashed reiserfs Gantrep Linux - Hardware 7 02-28-2003 10:36 PM
Backup and Recovery Tips hacketta Linux - Newbie 0 10-08-2001 04:58 AM


All times are GMT -5. The time now is 03:00 AM.

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