lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbad blocks on my EXT2 partition
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.









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