Thanks Bruce for the explanation, Things are making more sense
Peter
----- Original Message -----=20
From: Bruce Allen=20
To: pslists=20
Cc: smartmontools-support@...
Sent: Thursday, November 11, 2004 12:57 AM
Subject: Re: [smartmontools-support]Tracking down errors
> Short and extended off line tests were failing (Read Failure) noting
> two LBA's. I ran 'badblocks' (in default mode) on each partition to
> find out where the problems were and during the scanning of one
> partition a 'badblocks' found 16 bad blocks. During the scan, a =
bunch
> of errors where logged my SMARTD and Redhat.
>=20
> from SMARTD :
>=20
> smartd[24190]: Device: /dev/hdg, ATA error count increased from 0 to =
116
> SMART Prefailure Attribute: 5 Reallocated_Sector_Ct changed from 253 =
to 239
>=20
> and running 'smartctl -a /dev/hdg'
>=20
> Error 116 occurred at disk power-on lifetime: 2235 hours (93 days + =
3 hours)
> When the command that caused the error occurred, the device was in =
an=20
> unknown state.
>=20
> After command completion occurred, registers were:
> ER ST SC SN CL CH DH
> -- -- -- -- -- -- --
> 40 51 02 33 49 e4 e0 Error: UNC 2 sectors at LBA =3D 0x00e44933 =
=3D 14960947
>=20
>=20
> And then there were lots of kernel messages like:
>=20
> Nov 8 11:29:29 tan kernel: hdg: dma_intr: status=3D0x51 { =
DriveReady=20
> SeekComplete Error }
> Nov 8 11:29:29 tan kernel: hdg: dma_intr: error=3D0x40 {=20
> UncorrectableError }, LBAsect=3D283396403, high=3D16, =
low=3D14960947,
>=20
> Since running 'badblocks' the disk has logged no errors and things a =
working=20
> fine.
That's good: smartmontools and badblocks have done their job.
> Can anyone shed some light on what I am experiencing?
Your disk had some unreadable sectors. This happens -- but keep an =
eye on
it since if this continues to happen something may be wrong with your
disk.
> I am not sure why the SMARTD self tests did not find these errors =
prior to=20
> running 'badblocks'.
It did. But SMART self-tests only report the first failing block
found. In your case there were more failing blocks.
> Is my disk worse off now after running 'badblocks'?? Did I create
> problems or just find them?
Even better, you repaired the problems (or more precisely, your disk
repaired them). The bad sectors on the disk have now been replaced =
with
undamaged sectors. But be sure to run self-tests on a regular basis =
(see
-s Directive in smartd.conf) to watch for additional failing sectors.
Cheers,=20
Bruce
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support@...
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
|