lkml.org 
[lkml]   [1997]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ext2 data recovery
> In an unfortunate mishap, a 2Gb ext2 partition was accidentally formatted
> over. It was full of important data, and it hasn't been touched since the
> problem.
> Is there anything that can be done to rescue at least some data? I haven't
> heard of something like Unformat for Ext2, and I don't know the ext2
> filesystem structures. :-(

It depends on how it was 'formatted over'. If you formatted it as,
say, FAT, there is a slight chance that not everything is lost. There
are copies of the super block at regular intervals, see the ext2
documentation for details. Since some of the inodes might be overwritten
as well, you cannot expect complete recovery.

If you formatted it as ext2 again, then you most likely destroyed all
meta-information. The superblocks are in the very same locations again,
and the inodes are all erased. Prepare to restore from tape.

Regards,
Martin

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.026 / U:1.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site