Every time I boot into Fedora Core 4, my root account receives e-mail messages like the following:
From: root <root@localhost.localdomain>
To:
root@localhost.localdomain
Subject: SMART error (CurrentPendingSector) detected on host: MyHost
This email was generated by the smartd daemon running on:
host name: MyHost
DNS domain: localdomain
NIS domain: (none)
The following warning/error was logged by the smartd daemon:
Device: /dev/hda, 2 Currently unreadable (pending) sectors
For details see host's SYSLOG (default: /var/log/messages).
You can also use the smartctl utility for further investigation.
No additional email messages about this problem will be sent.
I grepped the message file for message logged by smartd, and these are the resutls I got:
Apr 9 13:25:59 localhost smartd[2288]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Apr 9 13:25:59 localhost smartd[2288]: Home page is
http://smartmontools.sourceforge.net/
Apr 9 13:25:59 localhost smartd[2288]: Opened configuration file /etc/smartd.conf
Apr 9 13:25:59 localhost smartd[2288]: Configuration file /etc/smartd.conf parsed.
Apr 9 13:25:59 localhost smartd[2288]: Device: /dev/hda, opened
Apr 9 13:25:59 localhost smartd[2288]: Device: /dev/hda, found in smartd database.
Apr 9 13:26:00 localhost smartd[2288]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Apr 9 13:26:00 localhost smartd[2288]: Monitoring 1 ATA and 0 SCSI devices
Apr 9 13:26:00 localhost smartd[2288]: Device: /dev/hda, 2 Currently unreadable (pending) sectors
Apr 9 13:26:00 localhost smartd[2288]: Sending warning via mail to
root@localhost.localdomain ...
Apr 9 13:26:00 localhost smartd[2288]: Warning via mail to
root@localhost.localdomain: successful
Apr 9 13:26:00 localhost smartd[2288]: Device: /dev/hda, 2 Offline uncorrectable sectors
Apr 9 13:26:00 localhost smartd[2288]: Sending warning via mail to
root@localhost.localdomain ...
Apr 9 13:26:00 localhost smartd[2288]: Warning via mail to
root@localhost.localdomain: successful
Apr 9 13:26:00 localhost smartd[2296]: smartd has fork()ed into background mode. New PID=2296.
It seems that Linux thinks I have some kind of problem with my hard drive. The system is set up to dual boot between Linux and Window XP. This means the hard drive has an NTFS partition on it. I'm wondering if the smartd daemon gets confused when looking at this partition and thinks something is wrong.
I'm not familiar with smartctl command suggested in the log output. I conculted the man page for smartctl and was overwhealmed by the options, and I'm not sure how I would want to use it.
What should I do to look into this potential hard drive problem?