Hello smartmon support,

I tried to use smartmontools to monitor my divece. I meet one question and I mail for support.

I am using ATA disk.
The below is my /etc/smartd.conf.
#DEVICESCAN
/dev/hda -a -o on -S on


I invoke smartd using the below command.
root@OMCP1-n4s30#/etc/init.d/smartd start
Starting S.M.A.R.T. daemon: smartd.


And I got the following log information  in /var/log/messages
Jul 23 02:53:59 n4s30 smartd[31864]: smartd 5.39 2009-12-09 r2995 [i686-montavista-linux-gnu] (local build) Copyri
ght (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net 
Jul 23 02:53:59 n4s30 smartd[31864]: Opened configuration file /etc/smartd.conf
Jul 23 02:53:59 n4s30 smartd[31864]: Configuration file /etc/smartd.conf parsed.
Jul 23 02:53:59 n4s30 smartd[31864]: Device: /dev/hda, opened
Jul 23 02:53:59 n4s30 smartd[31864]: Device: /dev/hda, found in smartd database.
Jul 23 02:53:59 n4s30 smartd[31864]: Device: /dev/hda, enabled SMART Attribute Autosave.
Jul 23 02:53:59 n4s30 smartd[31864]: Device: /dev/hda, enabled SMART Automatic Offline Testing.
Jul 23 02:53:59 n4s30 smartd[31864]: Device: /dev/hda, is SMART capable. Adding to "monitor" list.
Jul 23 02:53:59 n4s30 smartd[31864]: Monitoring 1 ATA and 0 SCSI devices
Jul 23 02:54:00 n4s30 smartd[31866]: smartd has fork()ed into background mode. New PID=31866.
Jul 23 02:54:00 n4s30 smartd[31866]: file /var/run/smartd.pid written containing PID 31866

According to the man page, smartd will monitor the device every 30 minutes. But I couldn't get further messages output in /var/log/messages.

I am wondering how can I get detailed smartmontools information.
For example, I can get the below information if I run "#smartctl -a /dev/hda". Why is this kind of information printed into /var/log/messages?

smartctl 5.39 2009-12-09 r2995 [i686-montavista-linux-gnu] (local build)
Copyright (C) 2002-9 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Fujitsu MHV series
Device Model:     FUJITSU MHV2060AS
Serial Number:    NT13T65259NH
Firmware Version: 00000096
User Capacity:    60,011,642,880 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Fri Jul 23 03:26:11 2010 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                 ( 323) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  41) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   100   100   046    Pre-fail  Always       -       121868
  2 Throughput_Performance  0x0005   100   100   030    Pre-fail  Offline      -       17891328
  3 Spin_Up_Time            0x0003   100   100   025    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       3576
  5 Reallocated_Sector_Ct   0x0033   100   100   024    Pre-fail  Always       -       0 (2000, 0)
  7 Seek_Error_Rate         0x000f   100   100   047    Pre-fail  Always       -       3577
  8 Seek_Time_Performance   0x0005   100   100   019    Pre-fail  Offline      -       0
  9 Power_On_Seconds        0x0032   046   046   000    Old_age   Always       -       27314h+25m+07s
 10 Spin_Retry_Count        0x0013   100   100   020    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3560
192 Power-Off_Retract_Count 0x0032   092   092   000    Old_age   Always       -       2051
193 Load_Cycle_Count        0x0032   091   091   000    Old_age   Always       -       197466
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       38 (Lifetime Min/Max 16/46)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       300
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0 (0, 7023)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000f   100   100   060    Pre-fail  Always       -       9790
203 Run_Out_Cancel          0x0002   100   100   000    Old_age   Always       -       429522090616

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     27270         -
# 2  Short offline       Completed without error       00%     27266         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.