[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Seriously corrupt ext3 root filesystem - help?

On Fri, 25 Jul 2003 07:51:32 -0400, "Theodore Ts'o" <tytso mit edu> said:
> On Sun, Jul 20, 2003 at 08:15:52AM -0500, Eddy wrote:
> > # fsck.ext3 /dev/hda1
> > e2fsck 1.28 (31-Aug-2002)
> > Group descriptors look bad... trying backup blocks...
> > fsck.ext3: Invalid argument while checking ext3 journal for /dev/hda1
> >
> > # debugfs -w /dev/hda1
> > debugfs 1.28 (31-Aug-2002)
> > /dev/hda1: Can't read an inode bitmap while reading inode bitmap
> > debugfs: open -c /dev/hda1 /dev/hda1:
> > catastrophic mode - not reading inode or group bitmaps
> > debugfs: stat
> > <8> stat: Invalid argument while reading inode 8
> If you can't find any good backup group descriptors, something to try
> is the -S option to mke2fs.

Hi Ted!

I just wanted to publicly thank you for your suggestion to try 'mke2fs
-S'. After making a backup of the trashed partition with 'dd', and not
making any progress using any other programs, I finally got up the nerve
to try your suggestion. After it re-wrote the superblocks and group
descriptors, I ran 'e2fsck -y' and it complained about a _LOT_ of things.
It didn't look good, but I figured I had nothing left to lose.

After it was done, I mounted up the filesystem and 'ls' showed nothing
but 'lost+found'. Inside that dir, however, were a bunch of files and
directories with numbered names, and after a little searching, I was able
to find some of the important files that I thought were lost forever! So
far, everything I've looked at it is intact!

Needless to say, I am overjoyed, and owe you a big THANKS!

I very much appreciate you taking the time to reply.


http://www.fastmail.fm - Accessible with your email software
                          or over the web

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]