LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-12-2008, 12:20 PM   #1
Apt Quadruped
LQ Newbie
 
Registered: Jul 2007
Location: PA, USA
Distribution: Debian & Gentoo
Posts: 19

Rep: Reputation: 0
Testdisk help, stupid mkfs.ext3...


Okay, yes, I'm an idiot. I just resized an ext3 partition so that I can make a new one to back up my data temporarily. However, after I resized I accidently ran mkfs.ext3 on the wrong partition. Rather than running it on the new space, I ran it on the data that I wanted to transfer! So I fired up testdisk and I found some interesting stuff. HERE it says that I should be able to run fsck.ext3 and fix the blocks that were screwed up. I'm just wondering, do I have to do this for every single block, or just the first/last one?
Here is the output from testdisk...
Quote:
superblock 32768, blocksize=4096
superblock 98304, blocksize=4096
superblock 163840, blocksize=4096
superblock 229376, blocksize=4096
superblock 294912, blocksize=4096
superblock 819200, blocksize=4096
superblock 884736, blocksize=4096
superblock 1605632, blocksize=4096
superblock 2654208, blocksize=4096
superblock 4096000, blocksize=4096
Any help would be greatly appreciated as I require all data that has just been lost. Thanks.
 
Old 07-12-2008, 01:16 PM   #2
Apt Quadruped
LQ Newbie
 
Registered: Jul 2007
Location: PA, USA
Distribution: Debian & Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
I tried fsck but it asked me if i wanted to clear several files. I'm afraid to do so as it seems that the files may be deleted forever. At the moment I'm running photorec. It seems to be working, but I'm not sure if the recovered files will be in good condition. Could someone please help?
 
Old 07-12-2008, 02:31 PM   #3
Apt Quadruped
LQ Newbie
 
Registered: Jul 2007
Location: PA, USA
Distribution: Debian & Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
I did the fsck command for all the superblocks and I still don't have any luck :-(. However, I am now trying a "Deeper Search" with testdisk. Hopefully I can recover this valuable data.
 
  


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
ext3 super block get modified after mkfs.ext3 amitpardesi Programming 1 04-25-2008 10:42 AM
how to fix when testdisk cant recover ext2/ext3? frenchn00b Linux - Newbie 3 07-19-2007 04:46 PM
HELP: QTparted says There was a problem with mkfs.ext3 dhruba.bandopadhyay Linux - General 2 06-14-2006 10:27 AM
mkfs.ext3 nearly stops at about 61% of blocks ejkeebler Linux - Newbie 1 04-27-2006 06:23 PM


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