Skip to content

Instantly share code, notes, and snippets.

@dlangille
Last active February 4, 2019 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/76802e4b7655d092c3b906876803b08f to your computer and use it in GitHub Desktop.
Save dlangille/76802e4b7655d092c3b906876803b08f to your computer and use it in GitHub Desktop.
I have to figure out why this scrub is so slow: FreeBSD slocum.int.unixathome.org 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
[dan@slocum:~] $ for disk in `sysctl -n kern.disks`; do sudo diskinfo -t $disk ; done
da9
512 # sectorsize
32017047552 # mediasize in bytes (30G)
62533296 # mediasize in sectors
0 # stripesize
0 # stripeoffset
3892 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA SanDisk SDSSDRC0 # Disk descr.
133887400683 # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.031503 sec = 0.126 msec
Half stroke: 250 iter in 0.044725 sec = 0.179 msec
Quarter stroke: 500 iter in 0.077399 sec = 0.155 msec
Short forward: 400 iter in 0.049667 sec = 0.124 msec
Short backward: 400 iter in 0.057982 sec = 0.145 msec
Seq outer: 2048 iter in 0.243306 sec = 0.119 msec
Seq inner: 2048 iter in 0.134527 sec = 0.066 msec
Transfer rates:
outside: 102400 kbytes in 0.257187 sec = 398154 kbytes/sec
middle: 102400 kbytes in 0.267369 sec = 382991 kbytes/sec
inside: 102400 kbytes in 0.248449 sec = 412157 kbytes/sec
da8
512 # sectorsize
32017047552 # mediasize in bytes (30G)
62533296 # mediasize in sectors
0 # stripesize
0 # stripeoffset
3892 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA SanDisk SDSSDRC0 # Disk descr.
134106400102 # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.031908 sec = 0.128 msec
Half stroke: 250 iter in 0.045417 sec = 0.182 msec
Quarter stroke: 500 iter in 0.076899 sec = 0.154 msec
Short forward: 400 iter in 0.049622 sec = 0.124 msec
Short backward: 400 iter in 0.057529 sec = 0.144 msec
Seq outer: 2048 iter in 0.159634 sec = 0.078 msec
Seq inner: 2048 iter in 0.138938 sec = 0.068 msec
Transfer rates:
outside: 102400 kbytes in 0.248664 sec = 411801 kbytes/sec
middle: 102400 kbytes in 0.246766 sec = 414968 kbytes/sec
inside: 102400 kbytes in 0.248211 sec = 412552 kbytes/sec
da7
512 # sectorsize
500107862016 # mediasize in bytes (466G)
976773168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
60801 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA Samsung SSD 850 # Disk descr.
S2RANX0J441094Z # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.010540 sec = 0.042 msec
Half stroke: 250 iter in 0.018872 sec = 0.075 msec
Quarter stroke: 500 iter in 0.025665 sec = 0.051 msec
Short forward: 400 iter in 0.014737 sec = 0.037 msec
Short backward: 400 iter in 0.016573 sec = 0.041 msec
Seq outer: 2048 iter in 0.056245 sec = 0.027 msec
Seq inner: 2048 iter in 0.065652 sec = 0.032 msec
Transfer rates:
outside: 102400 kbytes in 0.212759 sec = 481296 kbytes/sec
middle: 102400 kbytes in 0.210611 sec = 486204 kbytes/sec
inside: 102400 kbytes in 0.207856 sec = 492649 kbytes/sec
da6
512 # sectorsize
500107862016 # mediasize in bytes (466G)
976773168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
60801 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA Samsung SSD 850 # Disk descr.
S2RANX0J433600X # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.011095 sec = 0.044 msec
Half stroke: 250 iter in 0.018094 sec = 0.072 msec
Quarter stroke: 500 iter in 0.024860 sec = 0.050 msec
Short forward: 400 iter in 0.017718 sec = 0.044 msec
Short backward: 400 iter in 0.015720 sec = 0.039 msec
Seq outer: 2048 iter in 0.069731 sec = 0.034 msec
Seq inner: 2048 iter in 0.563012 sec = 0.275 msec
Transfer rates:
outside: 102400 kbytes in 0.230337 sec = 444566 kbytes/sec
middle: 102400 kbytes in 0.211313 sec = 484589 kbytes/sec
inside: 102400 kbytes in 0.218099 sec = 469512 kbytes/sec
da5
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA MD04ACA5 # Disk descr.
653EK93XFS9A # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 20.903727 sec = 83.615 msec
Half stroke: 250 iter in 10.900890 sec = 43.604 msec
Quarter stroke: 500 iter in 9.004646 sec = 18.009 msec
Short forward: 400 iter in 6.239151 sec = 15.598 msec
Short backward: 400 iter in 4.067121 sec = 10.168 msec
Seq outer: 2048 iter in 0.382234 sec = 0.187 msec
Seq inner: 2048 iter in 0.696881 sec = 0.340 msec
Transfer rates:
outside: 102400 kbytes in 1.869082 sec = 54786 kbytes/sec
middle: 102400 kbytes in 0.965008 sec = 106113 kbytes/sec
inside: 102400 kbytes in 4.518929 sec = 22660 kbytes/sec
da4
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA MD04ACA5 # Disk descr.
653BK12IFS9A # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 9.237971 sec = 36.952 msec
Half stroke: 250 iter in 4.413439 sec = 17.654 msec
Quarter stroke: 500 iter in 7.113511 sec = 14.227 msec
Short forward: 400 iter in 3.737784 sec = 9.344 msec
Short backward: 400 iter in 4.525187 sec = 11.313 msec
Seq outer: 2048 iter in 0.105934 sec = 0.052 msec
Seq inner: 2048 iter in 0.263940 sec = 0.129 msec
Transfer rates:
outside: 102400 kbytes in 0.891562 sec = 114855 kbytes/sec
middle: 102400 kbytes in 0.638126 sec = 160470 kbytes/sec
inside: 102400 kbytes in 3.599033 sec = 28452 kbytes/sec
da3
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA MD04ACA5 # Disk descr.
652FK58FFS9A # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 8.528830 sec = 34.115 msec
Half stroke: 250 iter in 11.736399 sec = 46.946 msec
Quarter stroke: 500 iter in 8.362671 sec = 16.725 msec
Short forward: 400 iter in 3.601996 sec = 9.005 msec
Short backward: 400 iter in 2.931705 sec = 7.329 msec
Seq outer: 2048 iter in 0.143487 sec = 0.070 msec
Seq inner: 2048 iter in 0.501722 sec = 0.245 msec
Transfer rates:
outside: 102400 kbytes in 0.579776 sec = 176620 kbytes/sec
middle: 102400 kbytes in 0.632598 sec = 161872 kbytes/sec
inside: 102400 kbytes in 1.105193 sec = 92654 kbytes/sec
da2
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA HDWE150 # Disk descr.
4725K6ECF57D # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 8.423344 sec = 33.693 msec
Half stroke: 250 iter in 7.623262 sec = 30.493 msec
Quarter stroke: 500 iter in 10.324828 sec = 20.650 msec
Short forward: 400 iter in 4.365584 sec = 10.914 msec
Short backward: 400 iter in 2.113165 sec = 5.283 msec
Seq outer: 2048 iter in 0.150387 sec = 0.073 msec
Seq inner: 2048 iter in 0.294059 sec = 0.144 msec
Transfer rates:
outside: 102400 kbytes in 0.737736 sec = 138803 kbytes/sec
middle: 102400 kbytes in 0.903260 sec = 113367 kbytes/sec
inside: 102400 kbytes in 2.114895 sec = 48418 kbytes/sec
da1
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA HDWE150 # Disk descr.
4725K6DVF57D # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 8.610575 sec = 34.442 msec
Half stroke: 250 iter in 9.356116 sec = 37.424 msec
Quarter stroke: 500 iter in 8.817414 sec = 17.635 msec
Short forward: 400 iter in 2.764148 sec = 6.910 msec
Short backward: 400 iter in 3.514364 sec = 8.786 msec
Seq outer: 2048 iter in 0.163271 sec = 0.080 msec
Seq inner: 2048 iter in 0.395044 sec = 0.193 msec
Transfer rates:
outside: 102400 kbytes in 0.501495 sec = 204189 kbytes/sec
middle: 102400 kbytes in 1.196096 sec = 85612 kbytes/sec
inside: 102400 kbytes in 1.347448 sec = 75996 kbytes/sec
da0
512 # sectorsize
5000981078016 # mediasize in bytes (4.5T)
9767541168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
608001 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
ATA TOSHIBA MD04ACA5 # Disk descr.
653DK7WBFS9A # Disk ident.
No # TRIM/UNMAP support
7200 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 11.719749 sec = 46.879 msec
Half stroke: 250 iter in 5.988297 sec = 23.953 msec
Quarter stroke: 500 iter in 7.544903 sec = 15.090 msec
Short forward: 400 iter in 2.756683 sec = 6.892 msec
Short backward: 400 iter in 3.470651 sec = 8.677 msec
Seq outer: 2048 iter in 0.135662 sec = 0.066 msec
Seq inner: 2048 iter in 0.533233 sec = 0.260 msec
Transfer rates:
outside: 102400 kbytes in 0.819443 sec = 124963 kbytes/sec
middle: 102400 kbytes in 0.670836 sec = 152645 kbytes/sec
inside: 102400 kbytes in 1.018983 sec = 100492 kbytes/sec
ada1
512 # sectorsize
250059350016 # mediasize in bytes (233G)
488397168 # mediasize in sectors
0 # stripesize
0 # stripeoffset
484521 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
Samsung SSD 860 EVO 250GB # Disk descr.
S3YHNX0KB03468A # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.010480 sec = 0.042 msec
Half stroke: 250 iter in 0.016480 sec = 0.066 msec
Quarter stroke: 500 iter in 0.029977 sec = 0.060 msec
Short forward: 400 iter in 0.018909 sec = 0.047 msec
Short backward: 400 iter in 0.036808 sec = 0.092 msec
Seq outer: 2048 iter in 0.124891 sec = 0.061 msec
Seq inner: 2048 iter in 0.052958 sec = 0.026 msec
Transfer rates:
outside: 102400 kbytes in 0.448183 sec = 228478 kbytes/sec
middle: 102400 kbytes in 0.430595 sec = 237810 kbytes/sec
inside: 102400 kbytes in 0.404335 sec = 253255 kbytes/sec
ada0
512 # sectorsize
250059350016 # mediasize in bytes (233G)
488397168 # mediasize in sectors
0 # stripesize
0 # stripeoffset
484521 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
Samsung SSD 860 EVO 250GB # Disk descr.
S3YHNX0KB03577K # Disk ident.
Yes # TRIM/UNMAP support
0 # Rotation rate in RPM
Not_Zoned # Zone Mode
Seek times:
Full stroke: 250 iter in 0.009230 sec = 0.037 msec
Half stroke: 250 iter in 0.017213 sec = 0.069 msec
Quarter stroke: 500 iter in 0.026787 sec = 0.054 msec
Short forward: 400 iter in 0.019038 sec = 0.048 msec
Short backward: 400 iter in 0.018943 sec = 0.047 msec
Seq outer: 2048 iter in 0.127387 sec = 0.062 msec
Seq inner: 2048 iter in 0.070793 sec = 0.035 msec
Transfer rates:
outside: 102400 kbytes in 0.399368 sec = 256405 kbytes/sec
middle: 102400 kbytes in 0.397692 sec = 257486 kbytes/sec
inside: 102400 kbytes in 0.387868 sec = 264007 kbytes/sec
[dan@slocum:~] $
last pid: 5954; load averages: 1.36, 1.77, 1.87 up 5+20:09:24 22:26:10
496 processes: 1 running, 495 sleeping
CPU: 0.3% user, 0.0% nice, 7.4% system, 0.0% interrupt, 92.2% idle
Mem: 1220M Active, 5678M Inact, 16G Wired, 8416M Free
ARC: 4767M Total, 1976M MFU, 392M MRU, 49M Anon, 77M Header, 2273M Other
520M Compressed, 2010M Uncompressed, 3.87:1 Ratio
Swap: 4096M Total, 4096M Free
dT: 1.041s w: 1.000s
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
0 0 0 0 0.0 0 0 0.0 0.0| ada0
0 0 0 0 0.0 0 0 0.0 0.0| ada1
3 333 333 2425 6.8 0 0 0.0 99.9| da0
2 330 330 1322 7.0 0 0 0.0 100.1| da1
2 295 295 1180 11.6 0 0 0.0 100.0| da2
2 320 320 1710 8.6 0 0 0.0 99.3| da3
4 327 327 1306 6.7 0 0 0.0 100.1| da4
7 325 325 1303 7.6 0 0 0.0 100.4| da5
0 212 151 1403 0.1 0 0 0.0 2.1| da6
0 207 145 1445 0.1 0 0 0.0 2.0| da7
0 0 0 0 0.0 0 0 0.0 0.0| da8
0 0 0 0 0.0 0 0 0.0 0.0| da9
[dan@slocum:~] $ gpart list | grep offset | sort -u
Stripeoffset: 0
Stripeoffset: 1048576
Stripeoffset: 20480
Stripeoffset: 2148532224
Stripeoffset: 262144
Stripeoffset: 544768
offset: 1048576
offset: 19328401408
offset: 20480
offset: 2097152
offset: 21475381248
offset: 262144
offset: 4296015872
offset: 4297064448
offset: 544768
offset: 8590983168
[dan@slocum:~] $ for disk in `sysctl -n kern.disks`; do echo "\$ sudo smartctl -a /dev/$disk" && sudo smartctl -a /dev/$disk ; done
$ sudo smartctl -a /dev/da9
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SanDisk based SSDs
Device Model: SanDisk SDSSDRC032G
Serial Number: 133887400683
LU WWN Device Id: 5 001b44 a37e496eb
Firmware Version: 3.0.0
User Capacity: 32,017,047,552 bytes [32.0 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 1.8 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:37 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 7) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0002 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0002 100 100 000 Old_age Always - 35151
12 Power_Cycle_Count 0x0002 100 100 000 Old_age Always - 76
171 Program_Fail_Count 0x0002 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0002 100 100 000 Old_age Always - 0
173 Avg_Write/Erase_Count 0x0002 100 100 000 Old_age Always - 666
174 Unexpect_Power_Loss_Ct 0x0002 100 100 000 Old_age Always - 51
187 Reported_Uncorrect 0x0002 100 100 000 Old_age Always - 0
230 Perc_Write/Erase_Count 0x0002 100 100 000 Old_age Always - 2220
232 Perc_Avail_Resrvd_Space 0x0003 100 100 005 Pre-fail Always - 0
234 Perc_Write/Erase_Ct_BC 0x0002 100 100 000 Old_age Always - 1487
241 Total_LBAs_Written 0x0002 100 100 000 Old_age Always - 31762828267
242 Total_LBAs_Read 0x0002 100 100 000 Old_age Always - 1135516167
SMART Error Log Version: 1
No Errors Logged
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 40% 5126 -
SMART Selective self-test log data structure revision number 65535
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 18446744073709551615 18446744073709551615 Not_testing
2 18446744073709551615 18446744073709551615 Not_testing
3 18446744073709551615 18446744073709551615 Not_testing
4 18446744073709551615 18446744073709551615 Not_testing
5 18446744073709551615 18446744073709551615 Not_testing
65535 18446744073709551615 65534 Read_scanning was never started
Selective self-test flags (0xffff):
Currently read-scanning the remainder of the disk.
If Selective self-test is pending on power-up, resume after 65535 minute delay.
$ sudo smartctl -a /dev/da8
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SanDisk based SSDs
Device Model: SanDisk SDSSDRC032G
Serial Number: 134106400102
LU WWN Device Id: 5 001b44 a44f24166
Firmware Version: 3.0.0
User Capacity: 32,017,047,552 bytes [32.0 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 1.8 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:37 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 7) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0002 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0002 100 100 000 Old_age Always - 35151
12 Power_Cycle_Count 0x0002 100 100 000 Old_age Always - 76
171 Program_Fail_Count 0x0002 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0002 100 100 000 Old_age Always - 0
173 Avg_Write/Erase_Count 0x0002 100 100 000 Old_age Always - 665
174 Unexpect_Power_Loss_Ct 0x0002 100 100 000 Old_age Always - 51
187 Reported_Uncorrect 0x0002 100 100 000 Old_age Always - 0
230 Perc_Write/Erase_Count 0x0002 100 100 000 Old_age Always - 2216
232 Perc_Avail_Resrvd_Space 0x0003 100 100 005 Pre-fail Always - 0
234 Perc_Write/Erase_Ct_BC 0x0002 100 100 000 Old_age Always - 1488
241 Total_LBAs_Written 0x0002 100 100 000 Old_age Always - 31763022907
242 Total_LBAs_Read 0x0002 100 100 000 Old_age Always - 1141381714
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 65535
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 18446744073709551615 18446744073709551615 Not_testing
2 18446744073709551615 18446744073709551615 Not_testing
3 18446744073709551615 18446744073709551615 Not_testing
4 18446744073709551615 18446744073709551615 Not_testing
5 18446744073709551615 18446744073709551615 Not_testing
65535 18446744073709551615 65534 Read_scanning was never started
Selective self-test flags (0xffff):
Currently read-scanning the remainder of the disk.
If Selective self-test is pending on power-up, resume after 65535 minute delay.
$ sudo smartctl -a /dev/da7
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: Samsung SSD 850 EVO 500GB
Serial Number: S2RANX0J441094Z
LU WWN Device Id: 5 002538 d41f0bd16
Firmware Version: EMT02B6Q
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:37 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) 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.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 265) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 11738
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 33
177 Wear_Leveling_Count 0x0013 098 098 000 Pre-fail Always - 32
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 066 052 000 Old_age Always - 34
195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 10
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 51011324638
SMART Error Log Version: 1
No Errors Logged
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% 11731 -
# 2 Short offline Completed without error 00% 11707 -
# 3 Short offline Completed without error 00% 11683 -
# 4 Short offline Completed without error 00% 11659 -
# 5 Short offline Completed without error 00% 11635 -
# 6 Short offline Completed without error 00% 11611 -
# 7 Short offline Completed without error 00% 11587 -
# 8 Short offline Completed without error 00% 11567 -
# 9 Short offline Completed without error 00% 11543 -
#10 Short offline Completed without error 00% 11519 -
#11 Short offline Completed without error 00% 11495 -
#12 Short offline Completed without error 00% 11471 -
#13 Short offline Completed without error 00% 11447 -
#14 Extended offline Completed without error 00% 11429 -
#15 Short offline Completed without error 00% 11423 -
#16 Short offline Completed without error 00% 11399 -
#17 Short offline Completed without error 00% 11375 -
#18 Short offline Completed without error 00% 11351 -
#19 Short offline Completed without error 00% 11327 -
#20 Short offline Completed without error 00% 11302 -
#21 Short offline Completed without error 00% 11278 -
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
255 0 65535 Read_scanning was never started
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.
$ sudo smartctl -a /dev/da6
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Samsung based SSDs
Device Model: Samsung SSD 850 EVO 500GB
Serial Number: S2RANX0J433600X
LU WWN Device Id: 5 002538 d41f0902a
Firmware Version: EMT02B6Q
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4c
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:37 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) 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.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 265) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 11738
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 34
177 Wear_Leveling_Count 0x0013 098 098 000 Pre-fail Always - 32
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 065 051 000 Old_age Always - 35
195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0
199 CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 12
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 51011303502
SMART Error Log Version: 1
No Errors Logged
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% 11730 -
# 2 Short offline Completed without error 00% 11706 -
# 3 Short offline Completed without error 00% 11682 -
# 4 Short offline Completed without error 00% 11658 -
# 5 Short offline Completed without error 00% 11634 -
# 6 Short offline Completed without error 00% 11610 -
# 7 Short offline Completed without error 00% 11586 -
# 8 Short offline Completed without error 00% 11566 -
# 9 Short offline Completed without error 00% 11542 -
#10 Short offline Completed without error 00% 11518 -
#11 Short offline Completed without error 00% 11494 -
#12 Short offline Completed without error 00% 11470 -
#13 Short offline Completed without error 00% 11446 -
#14 Short offline Completed without error 00% 11422 -
#15 Extended offline Completed without error 00% 11405 -
#16 Short offline Completed without error 00% 11398 -
#17 Short offline Completed without error 00% 11374 -
#18 Short offline Completed without error 00% 11350 -
#19 Short offline Completed without error 00% 11326 -
#20 Short offline Completed without error 00% 11301 -
#21 Short offline Completed without error 00% 11277 -
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
255 0 65535 Read_scanning was never started
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.
$ sudo smartctl -a /dev/da5
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" MD04ACA... Enterprise HDD
Device Model: TOSHIBA MD04ACA500
Serial Number: 653EK93XFS9A
LU WWN Device Id: 5 000039 65bd80461
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:37 2019 UTC
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: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 243) Self-test routine in progress...
30% of test remaining.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 542) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 8710
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 51
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 047 047 000 Old_age Always - 21538
10 Spin_Retry_Count 0x0033 101 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 51
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 731
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 44
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 604
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 41 (Min/Max 17/60)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 047 047 000 Old_age Always - 21408
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 216
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 21528 -
# 2 Short offline Completed without error 00% 21504 -
# 3 Short offline Completed without error 00% 21480 -
# 4 Short offline Completed without error 00% 21456 -
# 5 Short offline Completed without error 00% 21432 -
# 6 Short offline Completed without error 00% 21408 -
# 7 Short offline Completed without error 00% 21384 -
# 8 Short offline Completed without error 00% 21364 -
# 9 Short offline Completed without error 00% 21340 -
#10 Short offline Completed without error 00% 21316 -
#11 Short offline Completed without error 00% 21292 -
#12 Short offline Completed without error 00% 21268 -
#13 Short offline Completed without error 00% 21244 -
#14 Short offline Completed without error 00% 21220 -
#15 Short offline Completed without error 00% 21196 -
#16 Extended offline Completed without error 00% 21187 -
#17 Short offline Completed without error 00% 21172 -
#18 Short offline Completed without error 00% 21148 -
#19 Short offline Completed without error 00% 21124 -
#20 Short offline Completed without error 00% 21100 -
#21 Short offline Completed without error 00% 21076 -
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.
$ sudo smartctl -a /dev/da4
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" MD04ACA... Enterprise HDD
Device Model: TOSHIBA MD04ACA500
Serial Number: 653BK12IFS9A
LU WWN Device Id: 5 000039 65bc0017c
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:40 2019 UTC
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: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 547) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 9229
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 52
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 046 046 000 Old_age Always - 21602
10 Spin_Retry_Count 0x0033 101 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 52
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 310
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 44
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 526
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Min/Max 17/60)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 047 047 000 Old_age Always - 21489
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 304
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 21596 -
# 2 Short offline Completed without error 00% 21568 -
# 3 Short offline Completed without error 00% 21544 -
# 4 Short offline Completed without error 00% 21520 -
# 5 Short offline Completed without error 00% 21496 -
# 6 Short offline Completed without error 00% 21472 -
# 7 Short offline Completed without error 00% 21448 -
# 8 Short offline Completed without error 00% 21428 -
# 9 Short offline Completed without error 00% 21404 -
#10 Short offline Completed without error 00% 21380 -
#11 Short offline Completed without error 00% 21356 -
#12 Short offline Completed without error 00% 21332 -
#13 Short offline Completed without error 00% 21308 -
#14 Short offline Completed without error 00% 21284 -
#15 Short offline Completed without error 00% 21260 -
#16 Short offline Completed without error 00% 21236 -
#17 Extended offline Completed without error 00% 21227 -
#18 Short offline Completed without error 00% 21212 -
#19 Short offline Completed without error 00% 21188 -
#20 Short offline Completed without error 00% 21164 -
#21 Short offline Completed without error 00% 21140 -
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.
$ sudo smartctl -a /dev/da3
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" MD04ACA... Enterprise HDD
Device Model: TOSHIBA MD04ACA500
Serial Number: 652FK58FFS9A
LU WWN Device Id: 5 000039 65be000ee
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:40 2019 UTC
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: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 545) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 8803
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 55
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 48
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 046 046 000 Old_age Always - 21827
10 Spin_Retry_Count 0x0033 101 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 55
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 614
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 48
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 787
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Min/Max 18/62)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 4
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 047 047 000 Old_age Always - 21596
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 212
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 21815 -
# 2 Extended offline Completed without error 00% 21796 -
# 3 Short offline Completed without error 00% 21767 -
# 4 Short offline Completed without error 00% 21743 -
# 5 Short offline Completed without error 00% 21719 -
# 6 Short offline Completed without error 00% 21695 -
# 7 Short offline Completed without error 00% 21671 -
# 8 Short offline Completed without error 00% 21651 -
# 9 Short offline Completed without error 00% 21627 -
#10 Short offline Completed without error 00% 21603 -
#11 Short offline Completed without error 00% 21579 -
#12 Short offline Completed without error 00% 21555 -
#13 Short offline Completed without error 00% 21531 -
#14 Short offline Completed without error 00% 21507 -
#15 Short offline Completed without error 00% 21483 -
#16 Short offline Completed without error 00% 21459 -
#17 Short offline Completed without error 00% 21435 -
#18 Extended offline Interrupted (host reset) 40% 21422 -
#19 Short offline Completed without error 00% 21411 -
#20 Short offline Completed without error 00% 21387 -
#21 Short offline Completed without error 00% 21363 -
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.
$ sudo smartctl -a /dev/da2
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba X300
Device Model: TOSHIBA HDWE150
Serial Number: 4725K6ECF57D
LU WWN Device Id: 5 000039 7bb90031c
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:41 2019 UTC
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: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 546) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 8597
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 25
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 068 068 000 Old_age Always - 13058
10 Spin_Retry_Count 0x0033 100 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 25
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 47
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 23
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 58
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Min/Max 18/64)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 068 068 000 Old_age Always - 12982
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 566
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 13046 -
# 2 Short offline Completed without error 00% 13022 -
# 3 Short offline Completed without error 00% 12998 -
# 4 Extended offline Completed without error 00% 12997 -
# 5 Short offline Completed without error 00% 12974 -
# 6 Short offline Completed without error 00% 12950 -
# 7 Short offline Completed without error 00% 12926 -
# 8 Short offline Completed without error 00% 12902 -
# 9 Short offline Completed without error 00% 12881 -
#10 Short offline Completed without error 00% 12857 -
#11 Short offline Completed without error 00% 12833 -
#12 Short offline Completed without error 00% 12809 -
#13 Short offline Completed without error 00% 12785 -
#14 Short offline Completed without error 00% 12761 -
#15 Short offline Completed without error 00% 12737 -
#16 Short offline Completed without error 00% 12713 -
#17 Short offline Completed without error 00% 12689 -
#18 Short offline Completed without error 00% 12665 -
#19 Short offline Completed without error 00% 12641 -
#20 Extended offline Aborted by host 10% 12641 -
#21 Short offline Completed without error 00% 12617 -
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.
$ sudo smartctl -a /dev/da1
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba X300
Device Model: TOSHIBA HDWE150
Serial Number: 4725K6DVF57D
LU WWN Device Id: 5 000039 7bb900240
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:41 2019 UTC
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: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 542) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 8713
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 26
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 068 068 000 Old_age Always - 12984
10 Spin_Retry_Count 0x0033 100 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 26
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 23
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 25
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 35
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 38 (Min/Max 18/64)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 068 068 000 Old_age Always - 12959
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 545
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 12970 -
# 2 Short offline Completed without error 00% 12946 -
# 3 Short offline Completed without error 00% 12922 -
# 4 Short offline Completed without error 00% 12898 -
# 5 Extended offline Completed without error 00% 12893 -
# 6 Short offline Completed without error 00% 12874 -
# 7 Short offline Completed without error 00% 12850 -
# 8 Short offline Completed without error 00% 12827 -
# 9 Short offline Completed without error 00% 12806 -
#10 Short offline Completed without error 00% 12782 -
#11 Short offline Completed without error 00% 12758 -
#12 Short offline Completed without error 00% 12734 -
#13 Short offline Completed without error 00% 12710 -
#14 Short offline Completed without error 00% 12686 -
#15 Short offline Completed without error 00% 12662 -
#16 Short offline Completed without error 00% 12638 -
#17 Short offline Completed without error 00% 12614 -
#18 Short offline Completed without error 00% 12590 -
#19 Short offline Completed without error 00% 12566 -
#20 Short offline Completed without error 00% 12542 -
#21 Extended offline Completed without error 00% 12536 -
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.
$ sudo smartctl -a /dev/da0
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" MD04ACA... Enterprise HDD
Device Model: TOSHIBA MD04ACA500
Serial Number: 653DK7WBFS9A
LU WWN Device Id: 5 000039 65bd0049c
Firmware Version: FP2A
User Capacity: 5,000,981,078,016 bytes [5.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Jan 6 15:39:42 2019 UTC
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: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 548) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 8954
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 47
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 046 046 000 Old_age Always - 21850
10 Spin_Retry_Count 0x0033 100 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 47
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 20
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 37
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 5398
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 40 (Min/Max 19/62)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 049 049 000 Old_age Always - 20494
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 205
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
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% 21835 -
# 2 Short offline Completed without error 00% 21811 -
# 3 Short offline Completed without error 00% 21787 -
# 4 Short offline Completed without error 00% 21763 -
# 5 Short offline Completed without error 00% 21739 -
# 6 Extended offline Completed without error 00% 21734 -
# 7 Short offline Completed without error 00% 21715 -
# 8 Short offline Completed without error 00% 21671 -
# 9 Short offline Completed without error 00% 21647 -
#10 Short offline Completed without error 00% 21623 -
#11 Short offline Completed without error 00% 21599 -
#12 Short offline Completed without error 00% 21575 -
#13 Short offline Completed without error 00% 21551 -
#14 Short offline Completed without error 00% 21527 -
#15 Short offline Completed without error 00% 21503 -
#16 Short offline Completed without error 00% 21479 -
#17 Short offline Completed without error 00% 21455 -
#18 Short offline Completed without error 00% 21431 -
#19 Short offline Completed without error 00% 21407 -
#20 Short offline Completed without error 00% 21383 -
#21 Extended offline Completed without error 00% 21378 -
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.
$ sudo smartctl -a /dev/ada1
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Samsung SSD 860 EVO 250GB
Serial Number: S3YHNX0KB03468A
LU WWN Device Id: 5 002538 e409aac47
Firmware Version: RVT02B6Q
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Jan 6 15:39:43 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) 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.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 85) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 161
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 11
177 Wear_Leveling_Count 0x0013 100 100 000 Pre-fail Always - 0
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 069 060 000 Old_age Always - 31
195 Hardware_ECC_Recovered 0x001a 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 Unknown_Attribute 0x0012 099 099 000 Old_age Always - 6
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 400990141
SMART Error Log Version: 1
No Errors Logged
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% 155 -
# 2 Short offline Completed without error 00% 131 -
# 3 Short offline Completed without error 00% 107 -
# 4 Short offline Completed without error 00% 83 -
# 5 Short offline Completed without error 00% 59 -
# 6 Short offline Completed without error 00% 35 -
# 7 Short offline Completed without error 00% 11 -
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.
$ sudo smartctl -a /dev/ada0
smartctl 6.6 2017-11-05 r4594 [FreeBSD 12.0-RELEASE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Samsung SSD 860 EVO 250GB
Serial Number: S3YHNX0KB03577K
LU WWN Device Id: 5 002538 e409aadf9
Firmware Version: RVT02B6Q
User Capacity: 250,059,350,016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Sun Jan 6 15:39:43 2019 UTC
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x53) 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.
No 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 85) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 161
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 11
177 Wear_Leveling_Count 0x0013 100 100 000 Pre-fail Always - 0
179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0
181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0
182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0
183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0032 067 057 000 Old_age Always - 33
195 Hardware_ECC_Recovered 0x001a 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
235 Unknown_Attribute 0x0012 099 099 000 Old_age Always - 6
241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 400990047
SMART Error Log Version: 1
No Errors Logged
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% 154 -
# 2 Short offline Completed without error 00% 130 -
# 3 Short offline Completed without error 00% 106 -
# 4 Short offline Completed without error 00% 82 -
# 5 Short offline Completed without error 00% 58 -
# 6 Short offline Completed without error 00% 34 -
# 7 Short offline Completed without error 00% 10 -
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.
[dan@slocum:~] $
[dan@slocum:~] $ sysctl vfs.zfs.zfs_scan_legacy
vfs.zfs.zfs_scan_legacy: 0
[dan@slocum:~] $ zdb -C
dev-ingress01:
version: 5000
name: 'dev-ingress01'
state: 0
txg: 3480254
pool_guid: 16584619994779156808
hostid: 2325931262
hostname: ''
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 16584619994779156808
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 4126858106755856701
metaslab_array: 38
metaslab_shift: 26
ashift: 9
asize: 10732699648
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 35
children[0]:
type: 'disk'
id: 0
guid: 14674263675047571781
path: '/dev/diskid/DISK-134106400102%20%20%20%20%20%20%20%20p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 36
children[1]:
type: 'disk'
id: 1
guid: 3686792913327800786
path: '/dev/diskid/DISK-133887400683%20%20%20%20%20%20%20%20p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 37
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
jester:
version: 5000
name: 'jester'
state: 0
txg: 6359515
pool_guid: 9422690791977013756
hostid: 2325931262
hostname: ''
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 9422690791977013756
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 8665739281282312563
metaslab_array: 38
metaslab_shift: 26
ashift: 9
asize: 10732699648
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 35
children[0]:
type: 'disk'
id: 0
guid: 5798292508757623333
path: '/dev/diskid/DISK-134106400102%20%20%20%20%20%20%20%20p2'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 36
children[1]:
type: 'disk'
id: 1
guid: 695712224044131033
path: '/dev/diskid/DISK-133887400683%20%20%20%20%20%20%20%20p2'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 37
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
system:
version: 5000
name: 'system'
state: 0
txg: 37098889
pool_guid: 15387115135938424988
hostid: 2325931262
hostname: ''
com.delphix:has_per_vdev_zaps
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 15387115135938424988
children[0]:
type: 'raidz'
id: 0
guid: 17198740750019740166
nparity: 2
metaslab_array: 30
metaslab_shift: 37
ashift: 12
asize: 29976695930880
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 217118
children[0]:
type: 'disk'
id: 0
guid: 10063184065947028656
path: '/dev/da4p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 104109
children[1]:
type: 'disk'
id: 1
guid: 5598006377869529536
path: '/dev/da1p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 207300
children[2]:
type: 'disk'
id: 2
guid: 10158549977547144918
path: '/dev/da3p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 88884
children[3]:
type: 'disk'
id: 3
guid: 1466059936061614414
path: '/dev/da5p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 102139
children[4]:
type: 'disk'
id: 4
guid: 3648819889291427806
path: '/dev/da2p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 94496
children[5]:
type: 'disk'
id: 5
guid: 18133755127648874804
path: '/dev/da0p3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 341304
children[1]:
type: 'mirror'
id: 1
guid: 10507350405627830705
metaslab_array: 267954
metaslab_shift: 26
ashift: 9
asize: 8585216000
is_log: 1
create_txg: 16574863
com.delphix:vdev_zap_top: 217126
children[0]:
type: 'disk'
id: 0
guid: 14289732009384117747
path: '/dev/diskid/DISK-134106400102%20%20%20%20%20%20%20%20p1'
phys_path: '/dev/gpt/disk_134106400102'
whole_disk: 1
create_txg: 16574863
com.delphix:vdev_zap_leaf: 217127
children[1]:
type: 'disk'
id: 1
guid: 7564561573692839552
path: '/dev/diskid/DISK-133887400683%20%20%20%20%20%20%20%20p1'
phys_path: '/dev/gpt/disk_133887400683'
whole_disk: 1
create_txg: 16574863
com.delphix:vdev_zap_leaf: 217129
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
tank_fast:
version: 5000
name: 'tank_fast'
state: 0
txg: 8783734
pool_guid: 9416557863001451255
hostid: 2325931262
hostname: ''
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 9416557863001451255
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 3474879440603028114
metaslab_array: 38
metaslab_shift: 31
ashift: 12
asize: 429492011008
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 35
children[0]:
type: 'disk'
id: 0
guid: 6170146479031201494
path: '/dev/diskid/DISK-S2RANX0J441094Z%20%20%20%20%20p1'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 36
children[1]:
type: 'disk'
id: 1
guid: 15934447740271875725
path: '/dev/diskid/DISK-S2RANX0J433600X%20%20%20%20%20p1'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 37
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
zroot:
version: 5000
name: 'zroot'
state: 0
txg: 3471
pool_guid: 12046654156134828352
hostid: 2325931262
hostname: ''
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 12046654156134828352
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 12153579334853545694
metaslab_array: 68
metaslab_shift: 31
ashift: 9
asize: 228579082240
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 65
children[0]:
type: 'disk'
id: 0
guid: 10807700077430602726
path: '/dev/gpt/S3YHNX0KB03468A'
whole_disk: 1
DTL: 83
create_txg: 4
com.delphix:vdev_zap_leaf: 66
children[1]:
type: 'disk'
id: 1
guid: 5369349967129298371
path: '/dev/gpt/S3YHNX0KB03577K'
whole_disk: 1
DTL: 82
create_txg: 4
com.delphix:vdev_zap_leaf: 67
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
[dan@slocum:~] $
[dan@slocum:~] $ zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
dev-ingress01 9.94G 1.90G 8.04G - - 57% 19% 1.00x ONLINE -
jester 9.94G 1.01G 8.93G - - 32% 10% 1.00x ONLINE -
system 27.2T 6.02T 21.2T - - 35% 22% 1.00x ONLINE -
tank_fast 398G 41.0G 357G - - 48% 10% 1.00x ONLINE -
zroot 212G 42.2G 170G - - 0% 19% 1.00x ONLINE -
[dan@slocum:~] $
[dan@slocum:~] $ zpool status system
pool: system
state: ONLINE
scan: scrub in progress since Thu Jan 3 03:47:34 2019
1.49T scanned at 6.51M/s, 1.49T issued at 6.50M/s, 5.97T total
0 repaired, 24.92% done, no estimated completion time
config:
NAME STATE READ WRITE CKSUM
system ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
da4p3 ONLINE 0 0 0
da1p3 ONLINE 0 0 0
da3p3 ONLINE 0 0 0
da5p3 ONLINE 0 0 0
da2p3 ONLINE 0 0 0
da0p3 ONLINE 0 0 0
logs
mirror-1 ONLINE 0 0 0
diskid/DISK-134106400102%20%20%20%20%20%20%20%20p1 ONLINE 0 0 0
diskid/DISK-133887400683%20%20%20%20%20%20%20%20p1 ONLINE 0 0 0
errors: No known data errors
[dan@slocum:~] $
@dlangille
Copy link
Author

gstat output

dT: 1.001s  w: 1.000s
 L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
    0    151     15    173    0.2    128    653    0.0    1.4| ada0
    0    169     26     77    0.2    135    653    0.0    1.6| ada1
    3    947    947  68643    5.5      0      0    0.0   59.7| da0
    0    705    705  79740    7.2      0      0    0.0   46.6| da1
    0    693    693  68223    4.0      0      0    0.0   42.3| da2
    3   1035   1035  80103    4.6      0      0    0.0   60.3| da3
    3    722    722  50681    3.6      0      0    0.0   42.5| da4
    3    717    717  50389    6.1      0      0    0.0   51.0| da5
    0    105     15     60    0.1     88   1387    0.1    0.8| da6
    0     97      6     24    0.1     89   1387    0.1    0.8| da7
    0      0      0      0    0.0      0      0    0.0    0.0| da8
    0      0      0      0    0.0      0      0    0.0    0.0| da9



dT: 1.001s  w: 1.000s
 L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
    0      0      0      0    0.0      0      0    0.0    0.0| ada0
    0      0      0      0    0.0      0      0    0.0    0.0| ada1
    0    146     64    256    3.6     80    943    0.2   37.4| da0
    0    273    175    699    1.4     96   1047    0.2   47.5| da1
    0    294    192    767    1.6    100   1075    0.2   48.5| da2
    0    160     66    264    5.1     92   1043    0.2   51.3| da3
    3    551    468   1886    5.1     82    939    0.2   75.5| da4
   13    572    461   1858   13.7    110   1079    0.4   98.0| da5
    0      7      1      4    0.2      0      0    0.0    0.1| da6
    0      7      1      4    0.2      0      0    0.0    0.1| da7
    1    170      0      0    0.0     85    340    0.1   10.3| da8
    1    170      0      0    0.0     85    340    0.1   10.5| da9



dT: 1.001s  w: 1.000s
 L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
    0      0      0      0    0.0      0      0    0.0    0.0| ada0
    0      0      0      0    0.0      0      0    0.0    0.0| ada1
    0    459    459   8555    3.3      0      0    0.0   55.0| da0
    1    299    299   1195    2.7      0      0    0.0   48.6| da1
    1    234    234    935    2.6      0      0    0.0   43.4| da2
    4    501    501   6929    3.3      0      0    0.0   57.7| da3
    6    802    802  10434   11.6      0      0    0.0  100.0| da4
    5    837    837   8799    7.0      0      0    0.0  100.0| da5
    0     14     14     56    0.2      0      0    0.0    0.2| da6
    0      8      8     32    0.2      0      0    0.0    0.1| da7
    1    183      2      4    0.3     91    364    0.1    7.2| da8
    0    182      0      0    0.0     91    364    0.1    9.5| da9

@dlangille
Copy link
Author

The following zfs scrub was fast:

[dan@slocum:~] $ zpool status system
  pool: system
 state: ONLINE
  scan: scrub repaired 0 in 0 days 13:27:43 with 0 errors on Thu Jan 10 17:29:09 2019
config:

	NAME                                                    STATE     READ WRITE CKSUM
	system                                                  ONLINE       0     0     0
	  raidz2-0                                              ONLINE       0     0     0
	    da4p3                                               ONLINE       0     0     0
	    da1p3                                               ONLINE       0     0     0
	    da3p3                                               ONLINE       0     0     0
	    da5p3                                               ONLINE       0     0     0
	    da2p3                                               ONLINE       0     0     0
	    da0p3                                               ONLINE       0     0     0
	logs
	  mirror-1                                              ONLINE       0     0     0
	    diskid/DISK-134106400102%20%20%20%20%20%20%20%20p1  ONLINE       0     0     0
	    diskid/DISK-133887400683%20%20%20%20%20%20%20%20p1  ONLINE       0     0     0

errors: No known data errors
[dan@slocum:~] $ 

The system had not been rebooted:

[dan@slocum:~] $ uptime
 3:24PM  up 12 days, 13:08, 1 user, load averages: 1.05, 1.58, 1.43
[dan@slocum:~] $ 

@dlangille
Copy link
Author

New drive added to the system, which is now a completely new system, apart from the storage. Everything was moved to a new chassis.

Feb  4 17:22:47 slocum kernel: mpr0: Found device <81<SataDev>,End Device> <6.0Gbps> handle<0x0013> enclosureHandle<0x0002> slot 11
Feb  4 17:22:47 slocum kernel: mpr0: At enclosure level 0 and connector name (    )
Feb  4 17:22:48 slocum kernel: ses1: da9,pass15: Element descriptor: 'Slot 12'
Feb  4 17:22:48 slocum kernel: ses1: da9,pass15: SAS Device Slot Element: 1 Phys at Slot 11
Feb  4 17:22:48 slocum kernel: ses1:  phy 0: SATA device
Feb  4 17:22:48 slocum kernel: ses1:  phy 0: parent 500304801f07a13f addr 500304801f07a117
Feb  4 17:22:48 slocum kernel: da9 at mpr0 bus 0 scbus7 target 19 lun 0
Feb  4 17:22:48 slocum kernel: da9: <ATA TOSHIBA HDWE150 FP2A> Fixed Direct Access SPC-4 SCSI device
Feb  4 17:22:48 slocum kernel: da9: Serial Number 57NGK1Z9F57D
Feb  4 17:22:48 slocum kernel: da9: 600.000MB/s transfers
Feb  4 17:22:48 slocum kernel: da9: Command Queueing enabled
Feb  4 17:22:48 slocum kernel: da9: 4769307MB (9767541168 512 byte sectors)

@dlangille
Copy link
Author

Let's get info, and run a test.

[dan@slocum:~] $ sudo smartctl -a /dev/da9 -t short
smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p2 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba X300
Device Model:     TOSHIBA HDWE150
Serial Number:    57NGK1Z9F57D
LU WWN Device Id: 5 000039 7cbe83a5e
Firmware Version: FP2A
User Capacity:    5,000,981,078,016 bytes [5.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Feb  4 17:30:59 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  120) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 560) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       8765
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       3
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       103
 10 Spin_Retry_Count        0x0033   100   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3
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       -       1
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       9
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       26 (Min/Max 18/42)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   100   100   000    Old_age   Always       -       34
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       540
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

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%       102         -
# 2  Extended offline    Completed without error       00%        61         -
# 3  Extended offline    Completed without error       00%        32         -
# 4  Extended offline    Completed without error       00%         8         -
# 5  Short offline       Completed without error       00%         0         -

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.

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Mon Feb  4 17:33:00 2019

Use smartctl -X to abort test.
[dan@slocum:~] $ 

Good, I see I have run tests on this before, including 4 extended (long) tests. I think a short test now should suffice before pressing this one into service.

@dlangille
Copy link
Author

Short test done. Next step, gpart.

[dan@slocum:~] $ sudo smartctl /dev/da9 --log=selftest
smartctl 7.0 2018-12-30 r4883 [FreeBSD 12.0-RELEASE-p2 amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== 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%       103         -
# 2  Extended offline    Completed without error       00%       102         -
# 3  Extended offline    Completed without error       00%        61         -
# 4  Extended offline    Completed without error       00%        32         -
# 5  Extended offline    Completed without error       00%         8         -
# 6  Short offline       Completed without error       00%         0         -

[dan@slocum:~] $ 

@dlangille
Copy link
Author

dlangille commented Feb 4, 2019

Creating the partitions:

$ sudo gpart create -s gpt da9
da9 created
$ sudo gpart add -t freebsd-boot -a 1M  -i 1 -s 1024 da9
da9p1 added
$ sudo gpart add -t freebsd-swap -a 1M  -i 2 -s 4G da9
da9p2 added
$ sudo gpart add -t freebsd-zfs -a 1M  -i 3 -s 9758048256 -l 57NGK1Z9F57D da9
da9p3 added

This looks similar to an existing drive in the zpool:

$ gpart show da7 da9 
=>        40  9767541088  da7  GPT  (4.5T)
          40        2008       - free -  (1.0M)
        2048        1024    1  freebsd-boot  (512K)
        3072        1024       - free -  (512K)
        4096     8388608    2  freebsd-swap  (4.0G)
     8392704  9758048256    3  freebsd-zfs  (4.5T)
  9766440960     1100168       - free -  (537M)

=>        40  9767541088  da9  GPT  (4.5T)
          40        2008       - free -  (1.0M)
        2048        1024    1  freebsd-boot  (512K)
        3072        1024       - free -  (512K)
        4096     8388608    2  freebsd-swap  (4.0G)
     8392704  9758048256    3  freebsd-zfs  (4.5T)
  9766440960     1100168       - free -  (537M)

Confirming the other label is there:

 $ gpart show -l da9
=>        40  9767541088  da9  GPT  (4.5T)
          40        2008       - free -  (1.0M)
        2048        1024    1  (null)  (512K)
        3072        1024       - free -  (512K)
        4096     8388608    2  (null)  (4.0G)
     8392704  9758048256    3  57NGK1Z9F57D  (4.5T)
  9766440960     1100168       - free -  (537M)

And I can list it:

$ ls -l /dev/gpt/57NGK1Z9F57D
crw-r-----  1 root  operator  0x735 Feb  4 17:41 /dev/gpt/57NGK1Z9F57D

@dlangille
Copy link
Author

Making sure there is no ZFS label on the new drive:

$ sudo zpool labelclear -f /dev/gpt/57NGK1Z9F57D
failed to read label from /dev/gpt/57NGK1Z9F57D

@dlangille
Copy link
Author

replace started:

[dan@slocum:~] $ zpool status system
  pool: system
 state: ONLINE
  scan: scrub canceled on Sun Feb  3 22:32:14 2019
config:

	NAME                            STATE     READ WRITE CKSUM
	system                          ONLINE       0     0     0
	  raidz2-0                      ONLINE       0     0     0
	    da3p3                       ONLINE       0     0     0
	    da1p3                       ONLINE       0     0     0
	    da5p3                       ONLINE       0     0     0
	    da7p3                       ONLINE       0     0     0
	    da2p3                       ONLINE       0     0     0
	    da4p3                       ONLINE       0     0     0
	logs
	  mirror-1                      ONLINE       0     0     0
	    diskid/DISK-134106400102p1  ONLINE       0     0     0
	    diskid/DISK-133887400683p1  ONLINE       0     0     0

errors: No known data errors
[dan@slocum:~] $ sudo zpool replace system da7p3 /dev/gpt/57NGK1Z9F57D
[dan@slocum:~] $ zpool status system
  pool: system
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
	continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Mon Feb  4 17:47:51 2019
	8.16G scanned at 246M/s, 937M issued at 27.5M/s, 6.08T total
	0 resilvered, 0.01% done, 2 days 16:15:38 to go
config:

	NAME                            STATE     READ WRITE CKSUM
	system                          ONLINE       0     0     0
	  raidz2-0                      ONLINE       0     0     0
	    da3p3                       ONLINE       0     0     0
	    da1p3                       ONLINE       0     0     0
	    da5p3                       ONLINE       0     0     0
	    replacing-3                 ONLINE       0     0     0
	      da7p3                     ONLINE       0     0     0
	      gpt/57NGK1Z9F57D          ONLINE       0     0     0
	    da2p3                       ONLINE       0     0     0
	    da4p3                       ONLINE       0     0     0
	logs
	  mirror-1                      ONLINE       0     0     0
	    diskid/DISK-134106400102p1  ONLINE       0     0     0
	    diskid/DISK-133887400683p1  ONLINE       0     0     0

errors: No known data errors
[dan@slocum:~] $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment