Rich
10 years ago
Hi all,
So, I noticed that smartctl has learned to use -d sat between the last
time I had updated drivedb.h and now; however, this still fails to
successfully detect a number of parameters that work under -d sat,12:
For example:
=== BEGIN SMART -d sat OUTPUT ===
# smartctl -x -d sat /dev/sdf
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.10
Device Model: ST3500630A
Serial Number: [snip]
Firmware Version: 3.AAC
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Wed Sep 9 01:57:02 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unavailable
Read SMART Data failed: scsi error unsupported scsi opcode
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.
Read SMART Log Directory failed: scsi error unsupported scsi opcode
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: scsi error
unsupported scsi opcode
Read GP Log Directory failed
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
Read SMART Error Log failed: scsi error unsupported scsi opcode
SMART Extended Self-test Log (GP Log 0x07) not supported
Read SMART Self-test Log failed: scsi error unsupported scsi opcode
Selective Self-tests/Logging not supported
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
=== END SMART -d sat OUTPUT ===
== BEGIN SMART -d sat,12 OUTPUT ===
# smartctl -x -d sat,12 /dev/sdf
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.10
Device Model: ST3500630A
Serial Number: [snip]
Firmware Version: 3.AAC
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Wed Sep 9 01:58:10 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unavailable
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
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: ( 430) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 163) minutes.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 119 097 006 - 0
3 Spin_Up_Time PO---- 086 084 000 - 0
4 Start_Stop_Count -O--CK 100 100 020 - 23
5 Reallocated_Sector_Ct PO--CK 100 100 036 - 0
7 Seek_Error_Rate POSR-- 083 060 030 - 201499337
9 Power_On_Hours -O--CK 080 080 000 - 18085
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count -O--CK 100 100 020 - 35
187 Reported_Uncorrect -O--CK 100 100 000 - 0
189 High_Fly_Writes -O-RCK 100 100 000 - 0
190 Airflow_Temperature_Cel -O---K 061 053 045 - 39 (Min/Max 32/39)
194 Temperature_Celsius -O---K 039 047 000 - 39 (0 17 0 0 0)
195 Hardware_ECC_Recovered -O-RC- 064 061 000 - 46370884
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
200 Multi_Zone_Error_Rate ------ 100 253 000 - 0
202 Data_Address_Mark_Errs -O--CK 100 253 000 - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA
commands require SAT ATA PASS-THROUGH (16)
Read GP Log Directory failed
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 SL R/O 1 Log Directory
0x01 SL R/O 1 Summary SMART error log
0x02 SL R/O 5 Comprehensive SMART error log
0x03 SL R/O 5 Ext. Comprehensive SMART error log
0x06 SL R/O 1 SMART self-test log
0x07 SL R/O 1 Extended self-test log
0x09 SL R/W 1 Selective self-test log
0x20 SL R/O 1 Streaming performance log [OBS-8]
0x21 SL R/O 1 Write stream error log
0x22 SL R/O 1 Read stream error log
0x23 SL R/O 1 Delayed sector log [OBS-8]
0x80-0x9f SL R/W 16 Host vendor specific log
0xa0 SL VS 1 Device vendor specific log
0xa1 SL VS 20 Device vendor specific log
0xa2 SL VS 101 Device vendor specific log
0xa8 SL VS 20 Device vendor specific log
0xa9 SL VS 1 Device vendor specific log
0xe0 SL R/W 1 SCT Command/Status
0xe1 SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
SMART Error Log Version: 1
No Errors Logged
SMART Extended Self-test Log (GP Log 0x07) not supported
SMART Self-test log structure revision number 1
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.
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
=== END SMART -d sat,12 OUTPUT ===
The relevant entry seems to be:
// Innostor
{ "USB: ; Innostor IS611", // USB3->SATA+PATA
"0x1f75:0x0611", // SMART access via PATA does not work
"",
"",
"-d sat"
},
It's possible there are drives that this suggestion fails to function
correctly for; I haven't tested this on a bunch of drives yet, just
thought I'd propose it and see what people thought.
Thanks,
- Rich
So, I noticed that smartctl has learned to use -d sat between the last
time I had updated drivedb.h and now; however, this still fails to
successfully detect a number of parameters that work under -d sat,12:
For example:
=== BEGIN SMART -d sat OUTPUT ===
# smartctl -x -d sat /dev/sdf
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.10
Device Model: ST3500630A
Serial Number: [snip]
Firmware Version: 3.AAC
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Wed Sep 9 01:57:02 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unavailable
Read SMART Data failed: scsi error unsupported scsi opcode
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.
Read SMART Log Directory failed: scsi error unsupported scsi opcode
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: scsi error
unsupported scsi opcode
Read GP Log Directory failed
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
Read SMART Error Log failed: scsi error unsupported scsi opcode
SMART Extended Self-test Log (GP Log 0x07) not supported
Read SMART Self-test Log failed: scsi error unsupported scsi opcode
Selective Self-tests/Logging not supported
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
=== END SMART -d sat OUTPUT ===
== BEGIN SMART -d sat,12 OUTPUT ===
# smartctl -x -d sat,12 /dev/sdf
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.10
Device Model: ST3500630A
Serial Number: [snip]
Firmware Version: 3.AAC
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Wed Sep 9 01:58:10 2015 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
ATA Security is: Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Unavailable
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported scsi opcode
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: ( 430) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 163) minutes.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 119 097 006 - 0
3 Spin_Up_Time PO---- 086 084 000 - 0
4 Start_Stop_Count -O--CK 100 100 020 - 23
5 Reallocated_Sector_Ct PO--CK 100 100 036 - 0
7 Seek_Error_Rate POSR-- 083 060 030 - 201499337
9 Power_On_Hours -O--CK 080 080 000 - 18085
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count -O--CK 100 100 020 - 35
187 Reported_Uncorrect -O--CK 100 100 000 - 0
189 High_Fly_Writes -O-RCK 100 100 000 - 0
190 Airflow_Temperature_Cel -O---K 061 053 045 - 39 (Min/Max 32/39)
194 Temperature_Celsius -O---K 039 047 000 - 39 (0 17 0 0 0)
195 Hardware_ECC_Recovered -O-RC- 064 061 000 - 46370884
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
200 Multi_Zone_Error_Rate ------ 100 253 000 - 0
202 Data_Address_Mark_Errs -O--CK 100 253 000 - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
ATA_READ_LOG_EXT (addr=0x00:0x00, page=0, n=1) failed: 48-bit ATA
commands require SAT ATA PASS-THROUGH (16)
Read GP Log Directory failed
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 SL R/O 1 Log Directory
0x01 SL R/O 1 Summary SMART error log
0x02 SL R/O 5 Comprehensive SMART error log
0x03 SL R/O 5 Ext. Comprehensive SMART error log
0x06 SL R/O 1 SMART self-test log
0x07 SL R/O 1 Extended self-test log
0x09 SL R/W 1 Selective self-test log
0x20 SL R/O 1 Streaming performance log [OBS-8]
0x21 SL R/O 1 Write stream error log
0x22 SL R/O 1 Read stream error log
0x23 SL R/O 1 Delayed sector log [OBS-8]
0x80-0x9f SL R/W 16 Host vendor specific log
0xa0 SL VS 1 Device vendor specific log
0xa1 SL VS 20 Device vendor specific log
0xa2 SL VS 101 Device vendor specific log
0xa8 SL VS 20 Device vendor specific log
0xa9 SL VS 1 Device vendor specific log
0xe0 SL R/W 1 SCT Command/Status
0xe1 SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log (GP Log 0x03) not supported
SMART Error Log Version: 1
No Errors Logged
SMART Extended Self-test Log (GP Log 0x07) not supported
SMART Self-test log structure revision number 1
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.
SCT Commands not supported
Device Statistics (GP/SMART Log 0x04) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
=== END SMART -d sat,12 OUTPUT ===
The relevant entry seems to be:
// Innostor
{ "USB: ; Innostor IS611", // USB3->SATA+PATA
"0x1f75:0x0611", // SMART access via PATA does not work
"",
"",
"-d sat"
},
It's possible there are drives that this suggestion fails to function
correctly for; I haven't tested this on a bunch of drives yet, just
thought I'd propose it and see what people thought.
Thanks,
- Rich