我已经在五台不同的计算机上运行smartctl -a(主要是使用smartctl 6.2的CentOS 7 Linux),并且我注意到了两种smartctl输出风格。 为什么会改变它的输出格式? 一种样式包含一个在智能维基百科页面上很好地解释的属性表。 另一个不是很明确,我想我只需要使用总的未修正的错误列。 但是我希望我能得到像第一个那样直接和可以理解的东西。
机器如下; 除非另有说明,否则均为CentOS7 / smartctl 6.2。
在前3台机器上,smartctl包含了很好的SMART属性; 这里是典型的输出:
# smartctl -a -d cciss,1 /dev/sda smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-123.el7.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org /dev/sda [cciss_disk_01] [SCSI]: Device open changed type from 'sat,auto+cciss' to 'cciss' === START OF INFORMATION SECTION === Vendor: HP Product: EG0300FCSPH Revision: HPD0 User Capacity: 300,000,000,000 bytes [300 GB] Logical block size: 512 bytes Rotation Rate: 10000 rpm Form Factor: 2.5 inches Logical Unit id: 0x5000039578312bc4 Serial number: 44T0A3NDFTM91418 Device type: disk Transport protocol: SAS Local Time is: Thu Sep 10 18:15:54 2015 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 22 C Drive Trip Temperature: 65 C Manufactured in week 18 of year 2014 Specified cycle count over device lifetime: 50000 Accumulated start-stop cycles: 32 Specified load-unload count over device lifetime: 200000 Accumulated load-unload cycles: 0 Elements in grown defect list: 0 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 1 0 0 0 80988.717 0 write: 0 0 0 0 0 16041.817 0 Non-medium error count: 74 SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 22 - [- - -] # 2 Background short Completed - 17 - [- - -] # 3 Background short Completed - 14 - [- - -] Long (extended) Self Test duration: 2782 seconds [46.4 minutes]
在G5或更糟糕的Supermicro上,我得到以下结果,而且我无法find与HP机器或台式机类似的SMART Attributes:
# smartctl -a -d megaraid,25 /dev/sda smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-229.7.2.el7.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: SEAGATE Product: ST300MM0026 Revision: 0003 User Capacity: 300,000,000,000 bytes [300 GB] Logical block size: 512 bytes Logical block provisioning type unreported, LBPME=0, LBPRZ=0 Rotation Rate: 10500 rpm Form Factor: 2.5 inches Logical Unit id: 0x5000c50075e3261f Serial number: S0K2CJ1D0000C44065GJ Device type: disk Transport protocol: SAS Local Time is: Thu Sep 10 13:44:34 2015 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 19 C Drive Trip Temperature: 50 C Manufactured in week 16 of year 2014 Specified cycle count over device lifetime: 10000 Accumulated start-stop cycles: 735 Specified load-unload count over device lifetime: 300000 Accumulated load-unload cycles: 991 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 2366764968 Blocks received from initiator = 42603654 Blocks read from cache and sent to initiator = 2410106 Number of read and write commands whose size <= segment size = 591527 Number of read and write commands whose size > segment size = 71 Vendor (Seagate/Hitachi) factory information number of hours powered up = 6262.87 number of minutes until next internal SMART test = 52 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 3614146604 0 0 3614146604 0 1143.056 0 write: 0 0 0 0 0 53.204 0 verify: 29492 0 0 29492 0 0.008 0 Non-medium error count: 0 [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] No self-tests have been logged