Hits : 5097
Last Edit: 17.07.2017 08:45
Hard Disk
gathering some useful data for future reference
Contents
Temperature
$ for i in {a..e}; do echo sudo hddtemp /dev/sd$i; done | sh /dev/sda: SanDisk SDSSDA120G: 43°C /dev/sdb: WDC WD10EURX-63FH1Y0: 37°C /dev/sdc: WDC WD10EZRX-00A8LB0: 37°C /dev/sdd: ST1000DX002-2DV162: 39°C /dev/sde: ST1000DX002-2DV162: 38°C
dmesg
disk errors on dmesg
--------------------- Kernel Begin ------------------------ WARNING: Kernel Errors Present res 40/00:20:00:32:00/00:00:00:00:00/40 Emask 0x1 (device error) ...: 1 Time(s) res 40/00:68:40:32:00/00:00:00:00:00/40 Emask 0x1 (device error) ...: 1 Time(s) res 40/00:80:00:22:00/00:00:00:00:00/40 Emask 0x1 (device error) ...: 1 Time(s) res 40/00:88:00:19:00/00:00:00:00:00/40 Emask 0x1 (device error) ...: 1 Time(s) res 41/40:00:38:22:00/00:01:00:00:00/00 Emask 0x409 (media error) <F> ...: 11 Time(s) res 41/40:00:40:32:00/00:01:00:00:00/00 Emask 0x409 (media error) <F> ...: 17 Time(s) res 41/40:00:50:19:00/00:01:00:00:00/00 Emask 0x409 (media error) <F> ...: 1 Time(s) res 41/40:00:58:19:00/00:01:00:00:00/00 Emask 0x409 (media error) <F> ...: 16 Time(s) res 41/40:08:38:22:00/00:00:00:00:00/00 Emask 0x409 (media error) <F> ...: 12 Time(s) res 41/40:08:40:32:00/00:00:00:00:00/00 Emask 0x409 (media error) <F> ...: 17 Time(s) res 41/40:08:58:19:00/00:00:00:00:00/00 Emask 0x409 (media error) <F> ...: 18 Time(s) Buffer I/O error on device sda, l ...: 30 Time(s) Buffer I/O error on device sdc, l ...: 30 Time(s) Buffer I/O error on device sdd, l ...: 20 Time(s) ata1.00: error: { UNC } ...: 34 Time(s) ata3.00: error: { UNC } ...: 35 Time(s) ata4.00: error: { UNC } ...: 23 Time(s) end_request: I/O error, dev sda, sector ...: 6 Time(s) end_request: I/O error, dev sdc, sector ...: 6 Time(s) end_request: I/O error, dev sdd, sector ...: 4 Time(s) sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocat ...: 5 Time(s) sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descr ...: 5 Time(s) sd 2:0:0:0: [sdc] Add. Sense: Unrecovered read error - auto reallocat ...: 6 Time(s) sd 2:0:0:0: [sdc] Sense Key : Medium Error [current] [descr ...: 6 Time(s) sd 3:0:0:0: [sdd] Add. Sense: Unrecovered read error - auto reallocat ...: 4 Time(s) sd 3:0:0:0: [sdd] Sense Key : Medium Error [current] [descr ...: 4 Time(s)
sys
# /bin/find /sys/devices -type f -name model -exec cat {}\ ;
ST1000DX001-1CM1 ST1000DX001-1CM1 ST1000DX001-1CM1 ST1000DX001-1CM1
proc
# cat /proc/scsi/scsi
Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST1000DX001-1CM1 Rev: CC43 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST1000DX001-1CM1 Rev: CC43 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST1000DX001-1CM1 Rev: CC43 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi3 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: ST1000DX001-1CM1 Rev: CC43 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi4 Channel: 00 Id: 01 Lun: 00 Vendor: ATA Model: ST3120811AS Rev: E Type: Direct-Access ANSI SCSI revision: 05
lsblk
# lsblk -io KNAME,TYPE,SIZE,MODEL
KNAME TYPE SIZE MODEL sdb disk 931.5G ST1000DX001-1CM1 md0 raid5 2.7T sdc disk 931.5G ST1000DX001-1CM1 md0 raid5 2.7T sdd disk 931.5G ST1000DX001-1CM1 md0 raid5 2.7T sde disk 111.8G ST3120811AS sde1 part 4G sde2 part 107.8G sda disk 931.5G ST1000DX001-1CM1 md0 raid5 2.7T
hdparm
1st Step
# for i in sd{a..d} ; do hdparm -Tt /dev/$i; done
/dev/sda: Timing cached reads: 2510 MB in 2.00 seconds = 1254.65 MB/sec Timing buffered disk reads: read(2097152) returned 294912 bytes /dev/sdb: Timing cached reads: 2512 MB in 2.00 seconds = 1255.79 MB/sec Timing buffered disk reads: 536 MB in 3.00 seconds = 178.40 MB/sec /dev/sdc: Timing cached reads: 2536 MB in 2.00 seconds = 1267.64 MB/sec Timing buffered disk reads: read(2097152) returned 1224704 bytes /dev/sdd: Timing cached reads: 2512 MB in 2.00 seconds = 1255.86 MB/sec Timing buffered disk reads: read(2097152) returned 290816 bytes
2nd Step
# for i in sd{a..d} ; do hdparm -Tt /dev/$i; done
/dev/sda: Timing cached reads: 2512 MB in 2.00 seconds = 1255.27 MB/sec Timing buffered disk reads: read(2097152) returned 294912 bytes /dev/sdb: Timing cached reads: 2504 MB in 2.00 seconds = 1251.86 MB/sec Timing buffered disk reads: 538 MB in 3.01 seconds = 178.94 MB/sec /dev/sdc: Timing cached reads: 2518 MB in 2.00 seconds = 1258.48 MB/sec Timing buffered disk reads: read(2097152) returned 1224704 bytes /dev/sdd: Timing cached reads: 2440 MB in 2.00 seconds = 1220.15 MB/sec Timing buffered disk reads: read(2097152) returned 290816 bytes
3rd Step
(after reformatting sdd)
# for i in sd{a..d} ; do hdparm -Tt /dev/$i; done
/dev/sda: Timing cached reads: 2532 MB in 2.00 seconds = 1266.11 MB/sec Timing buffered disk reads: read(2097152) returned 294912 bytes /dev/sdb: Timing cached reads: 2506 MB in 2.00 seconds = 1253.05 MB/sec Timing buffered disk reads: 538 MB in 3.01 seconds = 178.77 MB/sec /dev/sdc: Timing cached reads: 2506 MB in 2.00 seconds = 1253.10 MB/sec Timing buffered disk reads: read(2097152) returned 1224704 bytes /dev/sdd: Timing cached reads: 2446 MB in 2.00 seconds = 1222.83 MB/sec Timing buffered disk reads: 546 MB in 3.01 seconds = 181.53 MB/sec
4th Step
(after reformatting sdc)
/dev/sda: Timing cached reads: 2510 MB in 2.00 seconds = 1254.47 MB/sec Timing buffered disk reads: read(2097152) returned 294912 bytes /dev/sdb: Timing cached reads: 2462 MB in 2.00 seconds = 1230.93 MB/sec Timing buffered disk reads: 536 MB in 3.01 seconds = 178.32 MB/sec /dev/sdc: Timing cached reads: 2520 MB in 2.00 seconds = 1259.41 MB/sec Timing buffered disk reads: 538 MB in 3.00 seconds = 179.28 MB/sec /dev/sdd: Timing cached reads: 2450 MB in 2.00 seconds = 1224.46 MB/sec Timing buffered disk reads: 546 MB in 3.00 seconds = 181.81 MB/sec
5th Step
(after reformatting sda)
# for i in sd{a..d} ; do hdparm -Tt /dev/$i; done /dev/sda: Timing cached reads: 2502 MB in 2.00 seconds = 1251.34 MB/sec Timing buffered disk reads: 538 MB in 3.01 seconds = 178.94 MB/sec /dev/sdb: Timing cached reads: 2490 MB in 2.00 seconds = 1244.86 MB/sec Timing buffered disk reads: 536 MB in 3.01 seconds = 178.31 MB/sec /dev/sdc: Timing cached reads: 2524 MB in 2.00 seconds = 1262.21 MB/sec Timing buffered disk reads: 538 MB in 3.00 seconds = 179.15 MB/sec /dev/sdd: Timing cached reads: 2452 MB in 2.00 seconds = 1226.15 MB/sec Timing buffered disk reads: 546 MB in 3.01 seconds = 181.64 MB/sec
smartctl
short
# for i in sd{a..d} ; do smartctl -t short /dev/$i; done
# for i in sd{a..d} ; do smartctl -l selftest /dev/$i; done
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 10% 16758 12864 # 2 Short offline Completed without error 00% 15137 - # 3 Short offline Completed: read failure 90% 15112 9704 # 4 Short offline Completed: read failure 20% 15088 9704 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 10065 - # 2 Short offline Completed without error 00% 8444 - # 3 Short offline Completed without error 00% 8419 - # 4 Short offline Completed without error 00% 8396 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 10% 9173 6488 # 2 Short offline Completed without error 00% 7551 - # 3 Short offline Completed without error 00% 7534 - # 4 Short offline Completed: read failure 90% 7526 6480 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 10% 9031 8760 # 2 Short offline Completed without error 00% 7410 - # 3 Short offline Completed without error 00% 7385 - # 4 Short offline Completed without error 00% 7382 -
disk re-formatting
=== START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 90% 16778 12864 # 2 Short offline Completed: read failure 10% 16758 12864 # 3 Short offline Completed without error 00% 15137 - # 4 Short offline Completed: read failure 90% 15112 9704 # 5 Short offline Completed: read failure 20% 15088 9704 # 6 Short offline Completed: read failure 10% 15088 9704 # 7 Short offline Completed without error 00% 9343 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 10085 - # 2 Short offline Completed without error 00% 10065 - # 3 Short offline Completed without error 00% 8444 - # 4 Short offline Completed without error 00% 8419 - # 5 Short offline Completed without error 00% 8396 - # 6 Short offline Completed without error 00% 8396 - # 7 Short offline Completed without error 00% 2200 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 9192 - # 2 Short offline Completed: read failure 10% 9173 6488 # 3 Short offline Completed without error 00% 7551 - # 4 Short offline Completed without error 00% 7534 - # 5 Short offline Completed: read failure 90% 7526 6480 # 6 Short offline Completed: read failure 90% 7526 6480 # 7 Short offline Completed: read failure 30% 7503 6480 # 8 Short offline Completed: read failure 10% 7503 6480 # 9 Short offline Completed: read failure 10% 2656 6480 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 9051 - # 2 Short offline Completed: read failure 10% 9031 8760 # 3 Short offline Completed without error 00% 7410 - # 4 Short offline Completed without error 00% 7385 - # 5 Short offline Completed without error 00% 7382 - # 6 Short offline Completed: read failure 90% 7361 8760 # 7 Short offline Completed: read failure 10% 7361 8760 # 8 Short offline Completed: read failure 10% 2515 8760
disk re-formatting v2
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 16800 - # 2 Short offline Completed: read failure 90% 16778 12864 # 3 Short offline Completed: read failure 10% 16758 12864 # 4 Short offline Completed without error 00% 15137 - # 5 Short offline Completed: read failure 90% 15112 9704 # 6 Short offline Completed: read failure 20% 15088 9704 # 7 Short offline Completed: read failure 10% 15088 9704 # 8 Short offline Completed without error 00% 9343 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 10108 - # 2 Short offline Completed without error 00% 10085 - # 3 Short offline Completed without error 00% 10065 - # 4 Short offline Completed without error 00% 8444 - # 5 Short offline Completed without error 00% 8419 - # 6 Short offline Completed without error 00% 8396 - # 7 Short offline Completed without error 00% 8396 - # 8 Short offline Completed without error 00% 2200 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 9215 - # 2 Short offline Completed without error 00% 9192 - # 3 Short offline Completed: read failure 10% 9173 6488 # 4 Short offline Completed without error 00% 7551 - # 5 Short offline Completed without error 00% 7534 - # 6 Short offline Completed: read failure 90% 7526 6480 # 7 Short offline Completed: read failure 90% 7526 6480 # 8 Short offline Completed: read failure 30% 7503 6480 # 9 Short offline Completed: read failure 10% 7503 6480 #10 Short offline Completed: read failure 10% 2656 6480 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 9073 - # 2 Short offline Completed without error 00% 9051 - # 3 Short offline Completed: read failure 10% 9031 8760 # 4 Short offline Completed without error 00% 7410 - # 5 Short offline Completed without error 00% 7385 - # 6 Short offline Completed without error 00% 7382 - # 7 Short offline Completed: read failure 90% 7361 8760 # 8 Short offline Completed: read failure 10% 7361 8760 # 9 Short offline Completed: read failure 10% 2515 8760
Long
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 16802 - # 2 Short offline Completed without error 00% 16800 - # 3 Short offline Completed: read failure 90% 16778 12864 # 4 Short offline Completed: read failure 10% 16758 12864 # 5 Short offline Completed without error 00% 15137 - # 6 Short offline Completed: read failure 90% 15112 9704 # 7 Short offline Completed: read failure 20% 15088 9704 # 8 Short offline Completed: read failure 10% 15088 9704 # 9 Short offline Completed without error 00% 9343 - 5 of 5 failed self-tests are outdated by newer successful extended offline self-test # 1 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 10110 - # 2 Short offline Completed without error 00% 10108 - # 3 Short offline Completed without error 00% 10085 - # 4 Short offline Completed without error 00% 10065 - # 5 Short offline Completed without error 00% 8444 - # 6 Short offline Completed without error 00% 8419 - # 7 Short offline Completed without error 00% 8396 - # 8 Short offline Completed without error 00% 8396 - # 9 Short offline Completed without error 00% 2200 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 9217 - # 2 Short offline Completed without error 00% 9215 - # 3 Short offline Completed without error 00% 9192 - # 4 Short offline Completed: read failure 10% 9173 6488 # 5 Short offline Completed without error 00% 7551 - # 6 Short offline Completed without error 00% 7534 - # 7 Short offline Completed: read failure 90% 7526 6480 # 8 Short offline Completed: read failure 90% 7526 6480 # 9 Short offline Completed: read failure 30% 7503 6480 #10 Short offline Completed: read failure 10% 7503 6480 #11 Short offline Completed: read failure 10% 2656 6480 6 of 6 failed self-tests are outdated by newer successful extended offline self-test # 1 smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 9075 - # 2 Short offline Completed without error 00% 9073 - # 3 Short offline Completed without error 00% 9051 - # 4 Short offline Completed: read failure 10% 9031 8760 # 5 Short offline Completed without error 00% 7410 - # 6 Short offline Completed without error 00% 7385 - # 7 Short offline Completed without error 00% 7382 - # 8 Short offline Completed: read failure 90% 7361 8760 # 9 Short offline Completed: read failure 10% 7361 8760 #10 Short offline Completed: read failure 10% 2515 8760 4 of 4 failed self-tests are outdated by newer successful extended offline self-test # 1
Vog
# hdparm -Tt /dev/vda1 /dev/vda1: Timing cached reads: 11740 MB in 2.00 seconds = 5876.50 MB/sec Timing buffered disk reads: 620 MB in 3.01 seconds = 206.31 MB/sec
ebal
# hdparm -Tt /dev/vda1 /dev/vda1: Timing cached reads: 13576 MB in 2.00 seconds = 6797.29 MB/sec Timing buffered disk reads: 296 MB in 3.00 seconds = 98.62 MB/sec
myhomepc
# hdparm -Tt /dev/mapper/ssd /dev/mapper/ssd: Timing cached reads: 13036 MB in 2.00 seconds = 6522.07 MB/sec Timing buffered disk reads: 688 MB in 3.00 seconds = 229.20 MB/sec
ServerTwo
# for i in sd{a..d} ; do hdparm -Tt /dev/$i; done
/dev/sda: Timing cached reads: 2464 MB in 2.00 seconds = 1232.16 MB/sec Timing buffered disk reads: 570 MB in 3.00 seconds = 189.91 MB/sec /dev/sdb: Timing cached reads: 2454 MB in 2.00 seconds = 1226.94 MB/sec Timing buffered disk reads: 600 MB in 3.00 seconds = 199.70 MB/sec /dev/sdc: Timing cached reads: 2452 MB in 2.00 seconds = 1226.13 MB/sec Timing buffered disk reads: 570 MB in 3.01 seconds = 189.42 MB/sec /dev/sdd: Timing cached reads: 2438 MB in 2.00 seconds = 1218.86 MB/sec Timing buffered disk reads: 640 MB in 3.01 seconds = 212.90 MB/sec
smartctl
Short
# for i in sd{a..d} ; do smartctl -t short /dev/$i; done
Results
# for i in sd{a..d} ; do smartctl -l selftest /dev/$i; done
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 6462 - # 2 Short offline Completed without error 00% 5271 - # 3 Short offline Completed without error 00% 5161 - # 4 Short offline Completed without error 00% 4817 - # 5 Short offline Completed without error 00% 4793 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 6463 - # 2 Short offline Completed without error 00% 5272 - # 3 Short offline Completed without error 00% 5161 - # 4 Short offline Completed without error 00% 4817 - # 5 Short offline Completed without error 00% 4793 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 10765 - # 2 Short offline Completed without error 00% 9574 - # 3 Short offline Completed without error 00% 9463 - # 4 Short offline Completed without error 00% 9119 - # 5 Short offline Completed without error 00% 9095 - # 6 Short offline Completed without error 00% 8583 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === 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% 1316 - # 2 Short offline Completed without error 00% 124 - # 3 Short offline Completed without error 00% 14 -
Long
# for i in sd{a..d} ; do smartctl -t long /dev/$i; done
Results
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 6464 - # 2 Short offline Completed without error 00% 6462 - # 3 Short offline Completed without error 00% 5271 - # 4 Short offline Completed without error 00% 5161 - # 5 Short offline Completed without error 00% 4817 - # 6 Short offline Completed without error 00% 4793 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 6465 - # 2 Short offline Completed without error 00% 6463 - # 3 Short offline Completed without error 00% 5272 - # 4 Short offline Completed without error 00% 5161 - # 5 Short offline Completed without error 00% 4817 - # 6 Short offline Completed without error 00% 4793 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 10767 - # 2 Short offline Completed without error 00% 10765 - # 3 Short offline Completed without error 00% 9574 - # 4 Short offline Completed without error 00% 9463 - # 5 Short offline Completed without error 00% 9119 - # 6 Short offline Completed without error 00% 9095 - # 7 Short offline Completed without error 00% 8583 - smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 1317 - # 2 Short offline Completed without error 00% 1316 - # 3 Short offline Completed without error 00% 124 - # 4 Short offline Completed without error 00% 14 -
Full smart report on sda
# smartctl -a /dev/sda | mail -s sda root
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.3.2.el6.centos.plus.x86_64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Desktop SSHD Device Model: ST1000DX001-1CM162 Serial Number: Z1D90KEX LU WWN Device Id: 5 000c50 065c467fc Firmware Version: CC43 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ACS-2 (unknown minor revision code: 0x001f) Local Time is: Mon Jul 17 09:23:00 2017 EEST 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: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 121) The previous self-test completed having the read element of the test failed. Total time to complete Offline data collection: ( 575) seconds. Offline data collection capabilities: (0x73) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No 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. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 105) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x1081) SCT Status supported. SMART Attributes Data Structure revision number: 10 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 095 094 006 Pre-fail Always - 12032628 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 51 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 079 060 030 Pre-fail Always - 96711801 9 Power_On_Hours 0x0032 081 081 000 Old_age Always - 16779 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 52 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 016 016 000 Old_age Always - 84 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 0 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 068 059 045 Old_age Always - 32 (Min/Max 27/40) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 49 193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 3949 194 Temperature_Celsius 0x0022 032 041 000 Old_age Always - 32 (0 15 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 40 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 40 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 830h+10m+13.829s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 14226864576 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 317003175362 SMART Error Log Version: 1 ATA Error Count: 56 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 56 occurred at disk power-on lifetime: 16778 hours (699 days + 2 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 40 32 00 00 Error: UNC at LBA = 0x00003240 = 12864 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 08 40 32 00 40 00 18d+22:04:10.829 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 18d+22:04:10.828 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 18d+22:04:10.828 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 18d+22:04:10.795 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 18d+22:04:10.795 SET FEATURES [Set transfer mode] Error 55 occurred at disk power-on lifetime: 16778 hours (699 days + 2 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 40 32 00 00 Error: UNC at LBA = 0x00003240 = 12864 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 08 40 32 00 40 00 18d+22:04:07.236 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 18d+22:04:07.236 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 18d+22:04:07.236 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 18d+22:04:07.203 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 18d+22:04:07.203 SET FEATURES [Set transfer mode] Error 54 occurred at disk power-on lifetime: 16778 hours (699 days + 2 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 40 32 00 00 Error: UNC at LBA = 0x00003240 = 12864 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 08 40 32 00 40 00 18d+22:04:03.686 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 18d+22:04:03.685 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 18d+22:04:03.685 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 18d+22:04:03.652 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 18d+22:04:03.652 SET FEATURES [Set transfer mode] Error 53 occurred at disk power-on lifetime: 16778 hours (699 days + 2 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 40 32 00 00 Error: UNC at LBA = 0x00003240 = 12864 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 08 40 32 00 40 00 18d+22:04:00.135 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 18d+22:04:00.135 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 18d+22:04:00.135 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 18d+22:04:00.102 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 18d+22:04:00.102 SET FEATURES [Set transfer mode] Error 52 occurred at disk power-on lifetime: 16778 hours (699 days + 2 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 40 32 00 00 Error: UNC at LBA = 0x00003240 = 12864 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 60 00 08 40 32 00 40 00 18d+22:03:56.576 READ FPDMA QUEUED ef 10 02 00 00 00 a0 00 18d+22:03:56.576 SET FEATURES [Reserved for Serial ATA] 27 00 00 00 00 00 e0 00 18d+22:03:56.576 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 a0 00 18d+22:03:56.543 IDENTIFY DEVICE ef 03 46 00 00 00 a0 00 18d+22:03:56.543 SET FEATURES [Set transfer mode] SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: read failure 90% 16778 12864 # 2 Short offline Completed: read failure 10% 16758 12864 # 3 Short offline Completed without error 00% 15137 - # 4 Short offline Completed: read failure 90% 15112 9704 # 5 Short offline Completed: read failure 20% 15088 9704 # 6 Short offline Completed: read failure 10% 15088 9704 # 7 Short offline Completed without error 00% 9343 - 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