Opened 2 months ago

Last modified 4 days ago

#1331 new defect

smartctl 7.1 doesn't show attributes on Seagate SAS drives but 6.6 does

Reported by: Shawn Owned by:
Priority: minor Milestone: undecided
Component: smartctl Version: 7.1
Keywords: scsi Cc:

Description

For this I'm using a Dell R720xd with an LSI 9211-8i HBA in IT Mode and a Seagate ST3300657SS.

I'm testing 7.1 using Debian Buster and 6.6 using Ubuntu Bionic because that is the default version they come with. If there are downstream code changes by the distribution responsible for this difference I apologize and will redirect my issue there.

Here is the result from Debian Buster

root@cloud1:~# smartctl -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.3.18-2-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST3300657SS
Revision:             000B
Compliance:           SPC-3
User Capacity:        300,000,000,000 bytes [300 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c5008db145bb
Serial number:        6SJ840DR0000N4381HL2
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon May 11 09:32:19 2020 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 0

Error Counter logging not supported

Device does not support Self Test logging

And here is the result for the same drive from Ubuntu Bionic

root@ubuntu:~# smartctl -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-5.0.0-23-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST3300657SS
Revision:             000B
User Capacity:        300,000,000,000 bytes [300 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c5008db145bb
Serial number:        6SJ840DR0000N4381HL2
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon May 11 14:48:23 2020 UTC
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     33 C
Drive Trip Temperature:        68 C

Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 1460697
  Blocks received from initiator = 8989202
  Blocks read from cache and sent to initiator = 170255
  Number of read and write commands whose size <= segment size = 79689
  Number of read and write commands whose size > segment size = 1

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 13257.17
  number of minutes until next internal SMART test = 34

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:      21440        0         0     21440      21440          0.748           0
write:         0        0         0         0          0          4.628           0
verify:     1976        0         0      1976       1976          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -     366                 - [-   -    -]
# 2  Background short  Completed                   -       1                 - [-   -    -]
# 3  Background short  Completed                   -       0                 - [-   -    -]

Long (extended) Self Test duration: 3200 seconds [53.3 minutes]

Change History (7)

comment:1 Changed 2 months ago by Shawn

I realized I could also downgrade to 6.6 in Buster so here is the output from there as well.

root@cloud1:~# smartctl -a /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.3.18-3-pve] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST3300657SS
Revision:             000B
User Capacity:        300,000,000,000 bytes [300 GB]
Logical block size:   512 bytes
Rotation Rate:        15000 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c5008db145bb
Serial number:        6SJ840DR0000N4381HL2
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon May 11 09:56:40 2020 CDT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     34 C
Drive Trip Temperature:        68 C

Elements in grown defect list: 0

Vendor (Seagate) cache information
  Blocks sent to initiator = 2024467
  Blocks received from initiator = 9111669
  Blocks read from cache and sent to initiator = 203003
  Number of read and write commands whose size <= segment size = 84050
  Number of read and write commands whose size > segment size = 1

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 13257.30
  number of minutes until next internal SMART test = 26

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:      25908        0         0     25908      25908          1.037           0
write:         0        0         0         0          0          4.691           0
verify:     1976        0         0      1976       1976          0.000           0

Non-medium error count:        0

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background short  Completed                   -     366                 - [-   -    -]
# 2  Background short  Completed                   -       1                 - [-   -    -]
# 3  Background short  Completed                   -       0                 - [-   -    -]

Long (extended) Self Test duration: 3200 seconds [53.3 minutes]

comment:2 Changed 2 months ago by Christian Franke

Keywords: scsi added
Milestone: undecided

Possibly related: #1272.

comment:3 in reply to:  2 Changed 2 months ago by Shawn

Replying to Christian Franke:

Possibly related: #1272.

The issue looks similar except this hasn't got a raid controller in the middle, it would interesting if that person could have tested their drive in HBA mode.

comment:4 Changed 8 weeks ago by albundy

I can confirm this is the same on a HBA
On 7.0 i get the correct returned data.
A SATA based drive going via the same HBA just a different SAS self reports fine

Edit:
I just interpreted your statement correctly and realised you were referring to what you had linked.

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.3.18-3-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               IBM-ESXS
Product:              ST32000444SS
Revision:             BC26
Compliance:           SPC-3
User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50033d3ba17
Serial number:        9WM4CRM60000C1341B3W
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat May 16 18:29:14 2020 AEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Disabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 4096

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging
Last edited 8 weeks ago by albundy (previous) (diff)

comment:5 in reply to:  4 Changed 8 weeks ago by Shawn

Replying to albundy: Yeah I was referring to the other post but also was hoping to see some other controllers showing the same thing, so thanks for that. I don't have any non Seagate drives to test but I did try going back to 7.0 r4883 and it's working correctly there.

I can confirm this is the same on a HBA
On 7.0 i get the correct returned data.
A SATA based drive going via the same HBA just a different SAS self reports fine

Edit:
I just interpreted your statement correctly and realised you were referring to what you had linked.

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.3.18-3-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               IBM-ESXS
Product:              ST32000444SS
Revision:             BC26
Compliance:           SPC-3
User Capacity:        2,000,398,934,016 bytes [2.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50033d3ba17
Serial number:        9WM4CRM60000C1341B3W
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sat May 16 18:29:14 2020 AEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Disabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 4096

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging

comment:6 Changed 4 days ago by Christian Franke

Please test r5074 if possible. See https://builds.smartmontools.org/ for source tarball and various binaries.

comment:7 Changed 4 days ago by Christian Franke

Possibly related: #1346.

Note: See TracTickets for help on using tickets.