LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-16-2012, 07:35 AM   #1
danielhilst
LQ Newbie
 
Registered: Apr 2010
Location: Brazil
Distribution: Gentoo,Archlinux
Posts: 24

Rep: Reputation: 1
Recover a filesystem overwrited by RHEL installation


Hi for all folks...

The was an ext3 filesystem on disk with a database.. no backup..
Then it was overwrited by an RHEL installation..
Its an 1 tera disk, and the RHEL installation takes about 3G.. Before the format there was about 100Gbs of data that I need to recover...

I'm searching for recovery tools, I'm trying TestDisk and Photorec..
I will try lde too.. There other alternatives???

Also... I hope I can search for ext3 superblocks from previous fs.. How can I differentiate the new superblocks from old ones??? Is that possible?

I'm searching for "how ext3 filesystem works" knowledge to dig in inode tables, superblocks and datablocks and search for my data, or something like, if tools don't help.. So any ext3 troubleshooting stuff is welcome

So there is two strategies..
- One working with tools
- And other digging on ext3 filesystem

There is an dd image being created right now.. I hope I can work on this image and let the disc intact.. The disc is already a mess and I don't want it to get wrose

Cheers and Thanks in advance!

Hilst,
 
Old 06-16-2012, 07:54 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,839

Rep: Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008
Erk. I don't like your chances. There is no substitute for backups.

File scrapers (like photorec) go through the disk looking for file signatures - that will be mighty difficult for a database. When you installed RHEL presumably it did a mkfs on the filesystem - which splats all the metadata. At that point it might (might, not would) have been possible to recover the filesystem (and data).
Once a few Gig of (new) files have overwritten the old meta-data, I think it's a lost cause.

A "dd" image" to work on is an excellent decision, but I think you'll need some luck.
 
Old 06-16-2012, 03:08 PM   #3
danielhilst
LQ Newbie
 
Registered: Apr 2010
Location: Brazil
Distribution: Gentoo,Archlinux
Posts: 24

Original Poster
Rep: Reputation: 1
Thanks for reply I'm surelly needing lucky here :-)

I'm running photorec on dd image right now... searching for dump files...

Cheers
 
Old 06-16-2012, 07:47 PM   #4
danielhilst
LQ Newbie
 
Registered: Apr 2010
Location: Brazil
Distribution: Gentoo,Archlinux
Posts: 24

Original Poster
Rep: Reputation: 1
So, TestDisc, and PhotoRec don't help.. I will try to lde, search for inodes... or something..
 
  


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
recover encrypted filesystem aggrishabh Linux - Newbie 5 03-16-2011 03:39 AM
How do I recover the / root filesystem from backup? Earwig Linux - Newbie 19 05-05-2010 01:50 PM
Recover from filesystem failure? ummmmm22 Linux - General 4 05-21-2006 10:26 PM
Reformatted ext3 filesystem - recover? addy86 Linux - General 11 01-10-2005 12:49 AM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:24 PM.

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