Use of Smartctl

Source: Internet
Author: User

1 Machine io has been very high, prior to the memory   then the development there has been reduced log output is still very high, and finally use the SMARTCTL command to query the relevant state of the hard disk, and finally after the replacement of the hard disk, problem solving one, the basic Environment 1, release version cat /etc/ debian_version 5.0.22, Core  uname -r2.6.18-6-amd64  3, models  dmidecode -s  system-product-namepoweredge r410   Second, use SMARTCTL command 1, view current overall health status 1) smartctl -h /dev/ sdasmartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64]  (Local build) copyright  (C)  2002-11 by bruce allen, http://smartmontools.sourceforge.netsmart  Health Status: OK             &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;2) Parameter Description-H ,  --health   check: ask the device to report its smart  health status or pending tapealert messages.2, turn on or off the smart function of/DEV/SDA Smartctl  -s on/off /dev/sda                         3, means to turn on smart features and view all information on the drive                                                         smartctl -s on -a /dev/sda                          smartctl version 5.38 [x86_64-unknown-linux-gnu] copyright   (C)  2002-8 bruce allenhome page is http://smartmontools.sourceforge.net/ device: seagate  st9300603ss      version: fs62serial  number: 3se22pbddevice type: disktransport protocol: saslocal time is: fri aug 14  12:48:36 2015 cstdevice supports smart and is enabledtemperature  warning enabledsmart health status: okcurrent drive temperature:      31 cdrive trip temperature:        68  CElements in grown defect list: 95Vendor  (Seagate)  cache  information  blocks sent to initiator = 719156962  blocks  Received from initiator = 2801578489  blocks read from cache  and sent to initiator = 877477222  number of read and  write commands whose size <= segment size = 1623777706   number of read and write commands whose size > segment size = 0vendor  ( Seagate/hitachi)  factory information  number of hours powered up  = 45424.20  number of minutes until next internal smart test  = 31Error counter log:            errors corrected by           total    Correction     Gigabytes    Total                ECC           rereads/    errors   algorithm       processed    uncorrected            fast&nbSp;| delayed   rewrites  corrected  invocations   [10^9  bytes]  errorsread:   824692357         0         0  824692357   824692357       24554.464            0write:         0         0        94        94          94      23861.799            0verify:    42585         0         0      42585      42585          3.000            0non-medium error count: 142795552smart  Self-test logNum  Test               Status                  segment  LifeTime  LBA_first_err [SK ASC ASQ]      Description                               number     (Hours) # 1  background short  completed                   16        0                 - [-    -    -]Long  (Extended)  self test duration: 3180  seconds [53.0 minutes]ps:elements in grown defect list: 95non-medium  error count: 142795552 compared the other machine hard disk parameters, these 2 values are somewhat higher, may affect the IO performance, so finally decided to replace the hard drive

This article is from the "7928217" blog, please be sure to keep this source http://7938217.blog.51cto.com/7928217/1684786

Use of Smartctl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.