forums
new posts
donate
UER Store
events
location db
db map
search
members
faq
terms of service
privacy policy
register
login




UER Forum > Private Boards Index > Tech Talk > Ext3 recovery (Viewed 1026 times)
Seventh Stage 


Location: Boston, MA
Gender: Male
Total Likes: 3 likes




 |  | 
Ext3 recovery
< on 11/1/2009 5:14 PM >
Reply with Quote
Posted on Forum: UER Forum
So recently I had a failure for an Ext3 file system. I do not know what caused the problem but now I am at the state where when I attempt to run e2fsck it tells me that the superblock is bad and no backup superblock can be found. I attempted running it with the standard backup block numbers and the -b argument but to no avail.

I may have found additional backup superblocks using a technique I read about online. What I read was that if you use the same binary to write the file system with the same block size it will write the backup superblocks to the same place. Using those numbers the e2fsck command got further, but warned of data loss if it continued. I am currently making a backup of the FS so that I can test out the procedure.

I guess the lesson is to keep the journal on a different drive when you have a journaled file system because the mounting of the file system is a single point of failure.

Does anyone else have any experience with ext2|3 recovery?




Brute force is the last resort of the incompetent.
trent 

I'm Trent! Get Bent!


Location: Drainwhale hunting
Gender: Male
Total Likes: 9 likes


Not on UER anymore.

 |  |  | infinitedecay
Re: Ext3 recovery
< Reply # 1 on 11/2/2009 1:20 PM >
Reply with Quote
Posted on Forum: UER Forum
No, not Ext3 specifically. Damn that sucks. Best of luck. Looks like you're going about the problem well.




He who rules the underground, rules the city above.
Washu 


Location: Ottawa
Gender: Male
Total Likes: 0 likes




 |  |  | Yahoo! IM | AIM Message
Re: Ext3 recovery
< Reply # 2 on 11/2/2009 8:27 PM >
Reply with Quote
Posted on Forum: UER Forum
If you make a new ext3 filesystem on an identical but different drive/partition it will tell you where your backup superblocks are. You can even "format" an identically sized file if you have somewhere to put a file that big.





Washu 


Location: Ottawa
Gender: Male
Total Likes: 0 likes




 |  |  | Yahoo! IM | AIM Message
Re: Ext3 recovery
< Reply # 3 on 11/2/2009 8:39 PM >
Reply with Quote
Posted on Forum: UER Forum
One more thing, you can try dumpe2fs to find the superblocks if the filesystem isn't too hosed. If it's really broken then you'll need to try the stuff above.




Seventh Stage 


Location: Boston, MA
Gender: Male
Total Likes: 3 likes




 |  | 
Re: Ext3 recovery
< Reply # 4 on 11/2/2009 11:57 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Washu
One more thing, you can try dumpe2fs to find the superblocks if the filesystem isn't too hosed. If it's really broken then you'll need to try the stuff above.


Thanks, I will check that out. If all fails I am going to start diving into the specification for ext3. Worst case scenario I can probably write something to recognize the headers/magic numbers for specific file types and use that to scrape the data.




Brute force is the last resort of the incompetent.
UER Forum > Private Boards Index > Tech Talk > Ext3 recovery (Viewed 1026 times)


Add a poll to this thread



This thread is in a public category, and can't be made private.



All content and images copyright © 2002-2024 UER.CA and respective creators. Graphical Design by Crossfire.
To contact webmaster, or click to email with problems or other questions about this site: UER CONTACT
View Terms of Service | View Privacy Policy | Server colocation provided by Beanfield
This page was generated for you in 155 milliseconds. Since June 23, 2002, a total of 740414942 pages have been generated.