Opened 5 years ago

Closed 4 years ago

#1331 closed defect (duplicate)

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

Reported by: Shawn Owned by:
Priority: minor Milestone: Release 7.2
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 (9)

comment:1 by Shawn, 5 years ago

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 by Christian Franke, 5 years ago

Keywords: scsi added
Milestone: undecided

Possibly related: #1272.

in reply to:  2 comment:3 by Shawn, 5 years ago

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 by albundy, 5 years ago

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 5 years ago by albundy (previous) (diff)

in reply to:  4 comment:5 by Shawn, 5 years ago

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 by Christian Franke, 4 years ago

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

comment:7 by Christian Franke, 4 years ago

Possibly related: #1346.

in reply to:  6 comment:8 by albundy, 4 years ago

Replying to Christian Franke:

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

Can confirm this has fixed the issue.

Thanks for looking into it.
Also sorry for the delay never received a notification email of an update.

current readout when running the mentioned build.

root@proxmox-r720:~# smartctl -x /dev/sdf
smartctl 7.2 2020-07-10 r5075 [x86_64-linux-5.4.44-1-pve] (CircleCI)
Copyright (C) 2002-20, 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:      0x5000c500263746cb
Serial number:        9WM48DS70000C130CHSF
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Aug  3 21:55:49 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:     20 C
Drive Trip Temperature:        65 C

Elements in grown defect list: 1
Last edited 4 years ago by albundy (previous) (diff)

comment:9 by Christian Franke, 4 years ago

Milestone: undecidedRelease 7.2
Resolution: duplicate
Status: newclosed

Fixed in r5074, see ticket #1346.

Note: See TracTickets for help on using tickets.