bad blocks on my EXT2 partition

Jose Vilmar Estacio de Souza (vilmar@informal.com.br)
Fri, 26 Jul 1996 14:47:28 -0300 (EST)


Hello all,

I had a problem but I don't know if this list is the corret place to ask
about a solution for it.
So, excuse me if I'm wrong and please, if possible, direct me to a
correct place.

Now here's my problem:

I have bad blocks on my EXT2 root partition and I don't know how to
correct them. I executed the badblocks program with the following
syntax:

badblocks -v -o haja1 /dev/hda3 761957 761955

The contents of the file haja1 was:

--------
761956
--------

After that, I executed e2fsck as follows:



informal:~# e2fsck -n -l haja1 /dev/hda3

The results of the statement above was:
------------------

e2fsck 1.04, 16-May-96 for EXT2 FS 0.5b, 95/08/09
/dev/hda3 is mounted. Do you really want to continue (y/n)? yes

Pass 1: Checking inodes, blocks, and sizes
WARNING: Severe data loss possible!!!!
Bad block 761956 in group 93's inode table. Relocate? no

Error reading block 761956 (Attempt to read block from filesystem
resulted in short read) while doing inode scan. Ignore error? no

e2fsck: Can't read next inode while doing inode scan



------------------

Is it possible to corret it without reinstalling linux?

Many thanks in advance for your help.