Annotation of wikisrc/tutorials/how_to_check_the_smart_status_of_your_harddisk.mdwn, revision 1.1

1.1     ! mspo        1: #  atactl 
        !             2: 
        !             3: S.M.A.R.T. is a monitoring tool for hard disks. With NetBSD you can show the smart values using following command: 
        !             4:     
        !             5:     
        !             6:     # atactl wd0 smart status
        !             7:     SMART supported, SMART enabled
        !             8:     id value thresh crit collect reliability description                    raw
        !             9:       1 100    0     no  online  positive    Raw read error rate            2446
        !            10:       4  98    0     no  online  positive    Start/stop count               2492
        !            11:       5 253    9     yes online  positive    Reallocated sector count       0
        !            12:       7 253   51     yes online  positive    Seek error rate                0
        !            13:       8 253    0     no  offline positive    Seek time performance          0
        !            14:       9  99    0     no  online  positive    Power-on hours count           1112403
        !            15:      12  99    0     no  online  positive    Device power cycle count       1418
        !            16:     194 161    0     no  online  positive    Temperature                    53 Lifetime max/min 0/0
        !            17:     197 253    9     yes online  positive    Current pending sector         0
        !            18:     198 253    9     yes offline positive    Offline uncorrectable          0
        !            19:     199 100    0     no  online  positive    Ultra DMA CRC error count      0
        !            20:     200 100   51     yes online  positive    Write error rate               0
        !            21:     201 100   51     yes online  positive    Soft read error rate           0
        !            22:     
        !            23: 
        !            24: #  smartctl 
        !            25: 
        !            26: Another utility to monitor hard disks is smartctl. This utility is part of the sysutils/smartmontools package. 
        !            27:     
        !            28:     
        !            29:     # cd /usr/pkgsrc/sysutils/smartmontools/
        !            30:     # make package
        !            31:     
        !            32: 
        !            33: With smartctl you can show the smart values using following command: 
        !            34:     
        !            35:     
        !            36:     # smartctl -s on /dev/sd0d
        !            37:     smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen
        !            38:     Home page is http://smartmontools.sourceforge.net/
        !            39:     
        !            40:     Informational Exceptions (SMART) enabled
        !            41:     Temperature warning enabled
        !            42:     
        !            43:     # smartctl -a /dev/sd0d
        !            44:     smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen
        !            45:     Home page is http://smartmontools.sourceforge.net/
        !            46:     
        !            47:     Device: MAXTOR   ATLAS10K5_300WLS Version: HPM7
        !            48:     Serial number: J8033RSK
        !            49:     Device type: disk
        !            50:     Transport protocol: Parallel SCSI (SPI-4)
        !            51:     Local Time is: Sun Nov 18 19:39:10 2007 CET
        !            52:     Device supports SMART and is Enabled
        !            53:     Temperature Warning Enabled
        !            54:     SMART Health Status: OK
        !            55:     
        !            56:     Current Drive Temperature:     47 C
        !            57:     Manufactured in week 05 of year 
        !            58:     Current start stop count:      1074003968 times
        !            59:     Recommended maximum start stop count:  1124401151 times
        !            60:     Elements in grown defect list: 0
        !            61:     
        !            62:     Error counter log:
        !            63:                Errors Corrected by           Total   Correction     Gigabytes    Total
        !            64:                    ECC          rereads/    errors   algorithm      processed    uncorrected
        !            65:                fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
        !            66:     read:          0        0         0         0          0          0.000           0
        !            67:     write:         0        0         0         0          0          0.000           0
        !            68:     
        !            69:     Non-medium error count:     1115
        !            70:     
        !            71:     Last n error events log page
        !            72:     No self-tests have been logged
        !            73:     Long (extended) Self Test duration: 5760 seconds [96.0 minutes]
        !            74:     
        !            75: 
        !            76: #  smartd 
        !            77: 
        !            78: Smartd is a SMART Disk Monitoring Daemon (part of the smartmontools). 
        !            79: 
        !            80:   
        !            81: The data may be useful to detect defective or old hard drives. 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb