LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-03-2004, 07:36 AM   #1
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Rep: Reputation: 15
Recovering Data From A Freshly Reformatted Ext3 Partition


I recently installed Slackware 9.1, but accidentally instructed it to reformat my /home partition instead of merely mounting it in /etc/fstab. So now, my question is, how would I go about retrieving as much data as possible from it? I've already tried grepping it, which yielded mediocre results, but there must be a better way to get this done. Ideas? Oh, and I only performed a quick format - no checking for bad blocks or anything like that.
 
Old 02-04-2004, 01:48 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Not to be discouraging, but to my knowledge you are probably out of luck. Here's a relevant post from another website:

"Q: How can I recover (undelete) deleted files from my ext3 partition?

A: 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 he 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."

Source: http://batleth.sapienti-sat.org/proj.../ext3-faq.html

It may be that the results you got from the grep are as good as it will get. I'd also be interested if there is a way to recover from something like this. As I stated above though, unfortunately to the best of my knowledge the chances of a full recovery are unlikely. Anyone else? -- J.W.
 
  


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
My experience with data/partition recovering joker20 Slackware 51 04-15-2005 01:53 PM
Recovering A Destroyed Ext3 Rh6.2 Partition sam-zee Linux - Hardware 0 01-30-2005 05:46 PM
[B]PARTITION TABLE TOASTED - NEED help recovering data!!![/B] Daddio Linux - General 0 06-30-2004 08:05 PM
Recovering data from an ext3 fs with no superblocks UncleTaz Linux - General 2 03-07-2004 01:22 PM
recovering data from ext3 chupacabra Linux - General 2 10-21-2002 10:32 AM


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