Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-69410

[RHEL10 libblockdev] Error executing SMART self-test: Command line did not parse

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0
    • libblockdev
    • None
    • No
    • None
    • rhel-storage-management
    • ssg_platform_storage
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

      6.12.0-31.el10.x86_64

      libblockdev-3.2.0-2.el10.x86_64

       

      >>> o.bd.smart_device_self_test("/dev/sdd", o.bd.SmartSelfTestOp.SHORT)
      True
      >>> o.bd.smart_device_self_test("/dev/sdc", o.bd.SmartSelfTestOp.SHORT)
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      gi.repository.GLib.GError: g-bd-smart-error-quark: Error executing SMART self-test: Command line did not parse. (1)
      >>> 
      [root@storageqe-33 libblockdev]# smartctl -a /dev/sdc
      smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.0-31.el10.x86_64] (local build)
      Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===
      Vendor:               TOSHIBA
      Product:              AL15SEB24EQY
      Revision:             EF08
      Compliance:           SPC-4
      User Capacity:        2,400,476,553,216 bytes [2.40 TB]
      Logical block size:   512 bytes
      Physical block size:  4096 bytes
      Formatted with type 2 protection
      8 bytes of protection information per logical block
      Rotation Rate:        10000 rpm
      Form Factor:          2.5 inches
      Logical Unit id:      0x50000399b87b6cb1
      Serial number:        X9X0A3Z6FQYF
      Device type:          disk
      Transport protocol:   SAS (SPL-4)
      Local Time is:        Wed Nov 27 22:07:30 2024 EST
      SMART support is:     Available - device has SMART capability.
      SMART support is:     Enabled
      Temperature Warning:  Disabled or Not Supported=== START OF READ SMART DATA SECTION ===
      SMART Health Status: OKCurrent Drive Temperature:     32 C
      Drive Trip Temperature:        65 CAccumulated power on time, hours:minutes 10341:11
      Manufactured in week 43 of year 2019
      Specified cycle count over device lifetime:  50000
      Accumulated start-stop cycles:  1552
      Specified load-unload count over device lifetime:  600000
      Accumulated load-unload cycles:  2587
      Elements in grown defect list: 0Error 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:          0       10        10        10         20    1658834.999           0
      write:         0        0         0         0          0     104729.967           0
      verify:        0        0         0         0          0       4712.050           0Non-medium error count:    10646Self-test execution status:        93% of test remaining
      SMART Self-test log
      Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
           Description                              number   (hours)
      # 1  Background long   Self test in progress ...   -     NOW                 - [-   -    -]
      # 2  Background short  Completed                   -   10340                 - [-   -    -]
      # 3  Default           Completed                   -   10340                 - [-   -    -]
      # 4  Background short  Completed                   -     278                 - [-   -    -]
      # 5  Reserved(7)       Completed                  64       3                 - [-   -    -]
      # 6  Background short  Completed                   -       2                 - [-   -    -]Long (extended) Self-test duration: 11579 seconds [193.0 minutes][root@storageqe-33 libblockdev]# $?
      -bash: 0: command not found
       

       

       

       

      [root@storageqe-33 libblockdev]# smartctl -a /dev/sdd
      smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.0-31.el10.x86_64] (local build)
      Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===
      Vendor:               TOSHIBA
      Product:              AL15SEB24EQY
      Revision:             EF08
      Compliance:           SPC-4
      User Capacity:        2,400,476,553,216 bytes [2.40 TB]
      Logical block size:   512 bytes
      Physical block size:  4096 bytes
      Formatted with type 2 protection
      8 bytes of protection information per logical block
      Rotation Rate:        10000 rpm
      Form Factor:          2.5 inches
      Logical Unit id:      0x50000399b87b6a89
      Serial number:        X9X0A3XLFQYF
      Device type:          disk
      Transport protocol:   SAS (SPL-4)
      Local Time is:        Wed Nov 27 22:07:41 2024 EST
      SMART support is:     Available - device has SMART capability.
      SMART support is:     Enabled
      Temperature Warning:  Disabled or Not Supported=== START OF READ SMART DATA SECTION ===
      SMART Health Status: OKCurrent Drive Temperature:     31 C
      Drive Trip Temperature:        65 CAccumulated power on time, hours:minutes 10337:02
      Manufactured in week 43 of year 2019
      Specified cycle count over device lifetime:  50000
      Accumulated start-stop cycles:  1553
      Specified load-unload count over device lifetime:  600000
      Accumulated load-unload cycles:  2591
      Elements in grown defect list: 0Error 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:          0        0         0         0          0    1662333.315           0
      write:         0        0         0         0          0      11637.969           0
      verify:        0        0         0         0          0       4711.869           0Non-medium error count:    10773SMART Self-test log
      Num  Test              Status                 segment  LifeTime  LBA_first_err [SK ASC ASQ]
           Description                              number   (hours)
      # 1  Background short  Completed                   -   10337                 - [-   -    -]
      # 2  Background short  Aborted (by user command)   -   10336                 - [-   -    -]
      # 3  Background short  Aborted (by user command)   -   10336                 - [-   -    -]
      # 4  Background short  Completed                   -   10336                 - [-   -    -]
      # 5  Background short  Aborted (by user command)   -   10336                 - [-   -    -]
      # 6  Default           Completed                   -   10336                 - [-   -    -]
      # 7  Background short  Completed                   -   10336                 - [-   -    -]
      # 8  Default           Completed                   -   10336                 - [-   -    -]
      # 9  Background short  Completed                   -   10336                 - [-   -    -]
      #10  Default           Completed                   -   10336                 - [-   -    -]
      #11  Background short  Completed                   -     278                 - [-   -    -]
      #12  Reserved(7)       Completed                  64       3                 - [-   -    -]
      #13  Background short  Completed                   -       2                 - [-   -    -]Long (extended) Self-test duration: 11579 seconds [193.0 minutes][root@storageqe-33 libblockdev]# $?
      -bash: 0: command not found
      [root@storageqe-33 libblockdev]#  

              tbzatek Tomáš Bžatek
              guazhang@redhat.com Guangwu Zhang
              Tomáš Bžatek Tomáš Bžatek
              Guangwu Zhang Guangwu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: