Diff for /wikisrc/tutorials/how_to_check_the_smart_status_of_your_harddisk.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/20 20:55:21 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 #  atactl  #  atactl 
   
 S.M.A.R.T. is a monitoring tool for hard disks. With NetBSD you can show the smart values using following command:  S.M.A.R.T. is a monitoring tool for hard disks. With NetBSD you can show the smart values using following command: 
          
          
     # atactl wd0 smart status      # atactl wd0 smart status
     SMART supported, SMART enabled      SMART supported, SMART enabled
     id value thresh crit collect reliability description                    raw      id value thresh crit collect reliability description                    raw
       1 100    0     no  online  positive    Raw read error rate            2446        1 100    0     no  online  positive    Raw read error rate            2446
       4  98    0     no  online  positive    Start/stop count               2492        4  98    0     no  online  positive    Start/stop count               2492
       5 253    9     yes online  positive    Reallocated sector count       0        5 253    9     yes online  positive    Reallocated sector count       0
       7 253   51     yes online  positive    Seek error rate                0        7 253   51     yes online  positive    Seek error rate                0
       8 253    0     no  offline positive    Seek time performance          0        8 253    0     no  offline positive    Seek time performance          0
       9  99    0     no  online  positive    Power-on hours count           1112403        9  99    0     no  online  positive    Power-on hours count           1112403
      12  99    0     no  online  positive    Device power cycle count       1418       12  99    0     no  online  positive    Device power cycle count       1418
     194 161    0     no  online  positive    Temperature                    53 Lifetime max/min 0/0      194 161    0     no  online  positive    Temperature                    53 Lifetime max/min 0/0
     197 253    9     yes online  positive    Current pending sector         0      197 253    9     yes online  positive    Current pending sector         0
     198 253    9     yes offline positive    Offline uncorrectable          0      198 253    9     yes offline positive    Offline uncorrectable          0
     199 100    0     no  online  positive    Ultra DMA CRC error count      0      199 100    0     no  online  positive    Ultra DMA CRC error count      0
     200 100   51     yes online  positive    Write error rate               0      200 100   51     yes online  positive    Write error rate               0
     201 100   51     yes online  positive    Soft read error rate           0      201 100   51     yes online  positive    Soft read error rate           0
          
   
 #  smartctl  #  smartctl 
   
 Another utility to monitor hard disks is smartctl. This utility is part of the sysutils/smartmontools package.  Another utility to monitor hard disks is smartctl. This utility is part of the sysutils/smartmontools package. 
          
          
     # cd /usr/pkgsrc/sysutils/smartmontools/      # cd /usr/pkgsrc/sysutils/smartmontools/
     # make package      # make package
          
   
 With smartctl you can show the smart values using following command:  With smartctl you can show the smart values using following command: 
          
          
     # smartctl -s on /dev/sd0d      # smartctl -s on /dev/sd0d
     smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen      smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen
     Home page is http://smartmontools.sourceforge.net/      Home page is http://smartmontools.sourceforge.net/
          
     Informational Exceptions (SMART) enabled      Informational Exceptions (SMART) enabled
     Temperature warning enabled      Temperature warning enabled
          
     # smartctl -a /dev/sd0d      # smartctl -a /dev/sd0d
     smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen      smartctl version 5.36 [i386--netbsdelf] Copyright (C) 2002-6 Bruce Allen
     Home page is http://smartmontools.sourceforge.net/      Home page is http://smartmontools.sourceforge.net/
          
     Device: MAXTOR   ATLAS10K5_300WLS Version: HPM7      Device: MAXTOR   ATLAS10K5_300WLS Version: HPM7
     Serial number: J8033RSK      Serial number: J8033RSK
     Device type: disk      Device type: disk
     Transport protocol: Parallel SCSI (SPI-4)      Transport protocol: Parallel SCSI (SPI-4)
     Local Time is: Sun Nov 18 19:39:10 2007 CET      Local Time is: Sun Nov 18 19:39:10 2007 CET
     Device supports SMART and is Enabled      Device supports SMART and is Enabled
     Temperature Warning Enabled      Temperature Warning Enabled
     SMART Health Status: OK      SMART Health Status: OK
          
     Current Drive Temperature:     47 C      Current Drive Temperature:     47 C
     Manufactured in week 05 of year      Manufactured in week 05 of year 
     Current start stop count:      1074003968 times      Current start stop count:      1074003968 times
     Recommended maximum start stop count:  1124401151 times      Recommended maximum start stop count:  1124401151 times
     Elements in grown defect list: 0      Elements in grown defect list: 0
          
     Error counter log:      Error counter log:
                Errors Corrected by           Total   Correction     Gigabytes    Total                 Errors Corrected by           Total   Correction     Gigabytes    Total
                    ECC          rereads/    errors   algorithm      processed    uncorrected                     ECC          rereads/    errors   algorithm      processed    uncorrected
                fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors                 fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
     read:          0        0         0         0          0          0.000           0      read:          0        0         0         0          0          0.000           0
     write:         0        0         0         0          0          0.000           0      write:         0        0         0         0          0          0.000           0
          
     Non-medium error count:     1115      Non-medium error count:     1115
          
     Last n error events log page      Last n error events log page
     No self-tests have been logged      No self-tests have been logged
     Long (extended) Self Test duration: 5760 seconds [96.0 minutes]      Long (extended) Self Test duration: 5760 seconds [96.0 minutes]
          
   
 #  smartd  #  smartd 
   
 Smartd is a SMART Disk Monitoring Daemon (part of the smartmontools).  Smartd is a SMART Disk Monitoring Daemon (part of the smartmontools). 
   
      
 The data may be useful to detect defective or old hard drives.  The data may be useful to detect defective or old hard drives. 

Removed from v.1.1  
changed lines
  Added in v.1.2


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