Greetings,
I recently started having those infamous "DataRequest Error" messages
on my /dev/hda:
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=6703451,
sector=98972
end_request: I/O error, dev 03:07 (hda), sector 98972
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest
Error }
hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=6710665,
sector=106186
I checked to see which partition these come from:
~> /sbin/fdisk -lu /dev/hda
Device Boot Start End Blocks Id System
/dev/hda1 63 40319 20128+ 83 Linux
/dev/hda2 40320 7814015 3886848 5 Extended
/dev/hda5 40383 3322367 1640992+ 83 Linux
/dev/hda6 3322431 6604415 1640992+ 83 Linux
/dev/hda7 6604479 7136639 266080+ 83 Linux
/dev/hda8 7136703 7668863 266080+ 83 Linux
/dev/hda9 7668927 7805951 68512+ 82 Linux swap
and it looks like /dev/hda7 is the problematic area (I know I have to
replace the entire HDD, but until I buy it I would like to see what I
can do to keep the system running).
/dev/hda7 was mounted on /var, so I moved /var to somewhere else,
unmounted /dev/hda7 and did:
~> /sbin/e2fsck -pc /dev/hda7
/dev/hda7: 17025/66528 files (5.5% non-contiguous), 127766/266080
blocks
I expected to be prompted by e2fsck to fix errors, or at least
*report* some errors. Instead, it displayed a single line, which I
interpret as "everything is OK". What am I missing here?
I also tried:
~> /sbin/badblocks /dev/hda7 266080
56664
56664 is the only output from badblocks, which I interpret as block
#56664 from the start of /dev/hda7. (am I correct?)
Can someone please explain why this discrapency and what am I missing?
Many thanks in advance,
L.L.