Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Error fetching SMART Info #388

Open
Zer0Thr33 opened this issue Jan 23, 2025 · 0 comments
Open

[BUG]: Error fetching SMART Info #388

Zer0Thr33 opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Zer0Thr33
Copy link

What happened?

Cosmos reports that no S.M.A.R.T. data is available for the disks on my host, however, when viewing the disk using smartmontools from the CLI, the drives properly report S.M.A.R.T details.

root@spaceballs:/var/lib/cosmos# smartctl --all /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-51-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              ST33000650SS
Revision:             RS0E
Compliance:           SPC-4
User Capacity:        3,000,592,982,016 bytes [3.00 TB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c5004161679f
Serial number:        Z292AVNW
Device type:          disk
Transport protocol:   SAS (SPL-4)
Local Time is:        Thu Jan 23 02:52:11 2025 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:     42 C
Drive Trip Temperature:        68 C

Accumulated power on time, hours:minutes 12175:20
Manufactured in week 13 of year 2012
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  147
Elements in grown defect list: 0

Vendor (Seagate Cache) information
  Blocks sent to initiator = 421470833
  Blocks received from initiator = 4073192215
  Blocks read from cache and sent to initiator = 814565800
  Number of read and write commands whose size <= segment size = 1708984058
  Number of read and write commands whose size > segment size = 9

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

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:   659179940        0         0  659179940          0    1002566.728           0
write:         0        0         0         0          0     410878.585           0
verify: 101675733        0         0  101675733          0         17.123           0

Non-medium error count:       40

SMART Self-test log
Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
     Description                              number   (hours)
# 1  Background long   Completed                  32      85                 - [-   -    -]
# 2  Background short  Completed                  32      74                 - [-   -    -]
# 3  Background long   Completed                  32      28                 - [-   -    -]
# 4  Background long   Completed                  32       8                 - [-   -    -]

Long (extended) Self-test duration: 27600 seconds [7.7 hours]

root@spaceballs:/var/lib/cosmos# 

### What should have happened?

S.M.A.R.T. details should be present. 

### How to reproduce the bug?


Error observed in LOG, as well as from Storage menu in GUI 

### Relevant log output

```shell
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sda : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdb : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdc : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdd : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sde : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdf : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdg : os not supported
2025/01/23 02:51:33 [WARN]  GetRecursiveDiskUsageAndSMARTInfo - Error fetching SMART info for /dev/sdh : os not supported

Other details

No response

System details

  • OS: Ubuntu 24.04.1
  • Version 0.17.7
@Zer0Thr33 Zer0Thr33 added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant