Re: Massive Corruption

Andreas Dilger (adilger@turbolinux.com)
Tue, 27 Feb 2001 09:50:16 -0700 (MST)


MC Vai writes:
> I have a problem with my filesystem, the kernel panics
> as soon as it tries to mount the root filesystem.
>
> I guess it is because of the IDE bug in the driver
> Russell found, but he (Russell) suggest me to post
> my message here.
>
> What I've tried up to now:
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> % e2fsck -B 4096 /dev/<part>
> % e2fsck -B 8192 /dev/<part>
> ... (16384, 32768, etc.)
>
> % e2fsck -b 4097 /dev/<part>
> % e2fsck -b 8193 /dev/<part>
> ... (16385, 32769, etc.)

There is a tool called gpart which will search a disk for filesystem
headers and such, and will optionally re-build your partition table
(if it is corrupted). You should give it a try.

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/