LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2006, 06:57 PM   #1
ohcrap
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Question fatal mistake


In the process of trying to get an IDE drive with a big ext3 fs mounted in openbsd, I sort of wrote an ffs filesystem over top of it. "newfs -N" was what I was looking for. I forgot the -N.

newfs, mount_mfs - construct a new file system

-N Causes the file system parameters to be printed out without
really creating the file system.

So I was wondering if any data recovery is possible and where to begin looking? The ffs only took about 30 sec to build on a 180gb drive so I would hope some files might be recoverable since there's no way every block was written to.
 
Old 04-25-2006, 07:21 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
In any case keep the overwritten ext3fs partitions read-only no matter what. The last thing you want is any well-meant process stirring in the bit soup and so loose any chance of recovery. Now if the majority of data was human readable text you could use grep on it. If the majority of files was binary, like images, you could try a simple forensics tool like Foremost. What you're able to recover depends on a lot of things but I'll not go into details now if you don't mind. If all else fails you can still try to recover data using forensic tools but the ROI (time invested vs guaranteed results) is wickedly low.


where to begin looking?
//Searching LQ I would guess. We've amassed quite a bit of threads on this unfortunate subject.
 
  


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
Mounting mistake.... adric Linux - Software 2 10-19-2005 02:50 PM
BIG mistake!!! djib Linux - Software 5 05-14-2005 07:29 AM
permissions mistake dezert_fox Linux - Newbie 1 03-20-2004 08:15 AM
Mistake Compiling 2.6.0 Inexactitude Linux - Hardware 7 01-11-2004 06:25 PM
I made a mistake! Need help now jcksrobbins Mandriva 8 08-30-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration