PDA

View Full Version : Smartd Warning


The_Jaymz
2nd July 2007, 02:12 AM
Anyone know what this means and how to fix it?

--------------------- Smartd Begin ------------------------


Currently unreadable (pending) sectors detected:
/dev/sda - 3 Time(s)
1 unreadable sectors detected

Warnings:
Warning via mail to root: successful - 1 Time(s)
Sending warning via mail to root ... - 1 Time(s)

---------------------- Smartd End -------------------------

Hlingler
2nd July 2007, 02:58 AM
Looks like a warning about a damaged HDD sector. Try (as root):smartctl -H /dev/sdato get a quick summary of the disk's overall health status. You might need to add "-d ata" (as I do) to get a read.

Full report:smartctl -a -d ata /dev/sdaYou may or may not need the "-d ata" option.

stevea
2nd July 2007, 03:06 AM

You're disk is reporting an unreadable sector (3 times).

Try " smartctl /dev/sda -l error" and related smartctl commands for more detail.
# smartctl -t short /dev/sda # short test
# smartctl -all /dev/sda
Check the messages to see if this is a real event or something silly.


If I were you I'd go find out of your disk vendor has a diagnostic disk (most have bootable floppies) that will check the whole surface for readability. You can actually dd the entire disk as a quick and cheesy test too (dd if=/dev/sda of=/dev/null) and then check the logs for errors,

Modern drives will remap bad sectors when they are formatted (long format) so a single bad sector is not a disaster. If you find several on a single track or many over the disk - then it's backup/replace time.

The_Jaymz
2nd July 2007, 03:16 AM
That's what I thought. Thanks guys.