Re: EXT2 problems with 2.3.99pre3 and 2.3.48

From: Theodore Y. Ts'o (tytso@MIT.EDU)
Date: Tue Apr 11 2000 - 17:14:04 EST


   Date: Wed, 12 Apr 2000 00:39:08 +0300 (EEST)
   From: <sampsa@staff.netsonic.fi>

   hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
   hda: read_intr: error=0x01 { AddrMarkNotFound }, LBAsect=816947,
   sector=816884

This means that you have low-level media errors with your filesystem.

When you see this kind of thing, if there's anything really
critical/important on the filesystem which you haven't backed up, I
usually recommend an *immediate* backup of the disk. If you're really
paranoid, find another empty hard disk which is at least as big as the
disk with problems, and then do a disk to disk backup:

        dd if=/dev/hda of=/dev/hdb bs=1k conv=sync,noerror

The reason for this is that in the worst case, you've suffered a head
crash, where the disk heads (for whatever reason) have crashed into the
surface of disk platters which are spinning at 5,000+ RPM. This can
gouge bits of iron oxide off the platter, which then start spinning
around about the disk platters, and when they smash into disk heads,
they can cause yet another head crash. Rinse. Lather. Repeat.

In the worst case, you can have an exponential increase in the number of
bad blocks, as more and more head crashes happen, and more and more disk
blocks get gouged off the disk platters. Of course, this is a worse
case scenario. Many times things you'll have a few errors, and that'll
be it. So I don't want to scare you that badly ---- but OF COURSE, you
DID follow a discpline of making regular backups, so you don't have
anything to worry about. RIGHT? :-)

In any case, if it's only an isolated few numbers of bad blocks, which
don't seem to be increasing, you can cause e2fsck to find the bad blocks
and map around them by using the -c option to e2fsck. (Check the man
page for details, but it's basically /sbin/e2fsck -c /dev/hda1).

However, if more badblocks are found after you do this, then it's
probably the disk's way of telling you that it's time to go buy a new
disk drive, before it fails on you completely.

Good luck!

                                                        - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:17 EST