[smartmontools-support] Tests get cancelled without any traces

Andriy Svirskyy andriy.svirskyy at gmail.com
Tue Mar 15 15:29:37 CET 2022


Thank you, @Carlos E. R.

Just tried to disable sleep timeout:

hdparm -S 0 /dev/sdb

/dev/sdb:
 setting standby to 0 (off)


Result is still the same - test somehow auto-cancelled without any
traces.

Regards,
Andriy

On Tue, 2022-03-15 at 12:00 +0100, smartmontools-support-
request at listi.jpberlin.de wrote:
> Send Smartmontools-support mailing list submissions to
> 	smartmontools-support at listi.jpberlin.de
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	
> https://listi.jpberlin.de/mailman/listinfo/smartmontools-support
> or, via email, send a message with subject or body 'help' to
> 	smartmontools-support-request at listi.jpberlin.de
> 
> You can reach the person managing the list at
> 	smartmontools-support-owner at listi.jpberlin.de
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Smartmontools-support digest..."
> 
> 
> Today's Topics:
> 
>    1.  Tests get cancelled without any traces (Andriy Svirskyy)
>    2. Re:  Tests get cancelled without any traces (Carlos E. R.)
> 
> 
> -------------------------------------------------------------------
> ---
> 
> Message: 1
> Date: Mon, 14 Mar 2022 13:18:44 +0000
> From: Andriy Svirskyy <andriy.svirskyy at gmail.com>
> To: smartmontools-support at listi.jpberlin.de
> Subject: [smartmontools-support] Tests get cancelled without any
> 	traces
> Message-ID: <1f49aec5e5f2b833ac3f22d4812bdbc901476a27.camel at gmail.com
> >
> Content-Type: text/plain; charset="UTF-8"
> 
> I am testing hard disks with SmartMonTools under Ubuntu 20.04.
> 
> Tests for some hard disks are not working - they disappear without
> leaving any warnings or errors.
> 
> Hard drive status before the test (note the time Sun Mar 13 16:25:12
> 2022 UTC):
> 
> 
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-104-generic] (local
> build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org
> 
> === START OF INFORMATION SECTION ===
> Device Model:     MB4000GDUPB
> Serial Number:    26F5K1J3F17A
> LU WWN Device Id: 5 000039 6db900727
> Firmware Version: HPG3
> User Capacity:    4,000,787,030,016 bytes [4.00 TB]
> Sector Size:      512 bytes logical/physical
> Rotation Rate:    7200 rpm
> Form Factor:      3.5 inches
> Device is:        Not in smartctl database [for details use: -P
> showall]
> ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
> SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
> Local Time is:    Sun Mar 13 16:25:12 2022 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> 
> 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:        (  120) seconds.
> Offline data collection
> capabilities:            (0x7b) SMART execute Offline immediate.
>                     Auto Offline data collection on/off support.
>                     Suspend Offline collection upon new
>                     command.
>                     Offline surface scan supported.
>                     Self-test supported.
>                     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:    (   2) minutes.
> Extended self-test routine
> recommended polling time:    ( 532) minutes.
> Conveyance self-test routine
> recommended polling time:    (   2) minutes.
> SCT capabilities:          (0x0025) SCT Status supported.
>                     SCT Data Table supported.
> 
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH
> TYPE      UPDATED  WHEN_FAILED RAW_VALUE
>   1 Raw_Read_Error_Rate     0x000f   100   100   050    Pre-
> fail  Always       -       0
>   2 Throughput_Performance  0x0007   100   100   050    Pre-
> fail  Always       -       0
>   3 Spin_Up_Time            0x0003   100   100   002    Pre-
> fail  Always       -       11957
>   5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-
> fail  Always       -       0
>   7 Seek_Error_Rate         0x000f   100   100   050    Pre-
> fail  Always       -       0
>   8 Seek_Time_Performance   0x0005   100   100   050    Pre-
> fail  Offline      -       0
>   9
> Power_On_Hours          0x0032   001   001   000    Old_age   Always 
>   
>     -       41134
>  10 Spin_Retry_Count        0x0013   105   100   030    Pre-
> fail  Always       -       0
> 180 Unknown_HDD_Attribute   0x003b   100   100   001    Pre-
> fail  Always       -       0
> 194
> Temperature_Celsius     0x0022   100   100   000    Old_age   Always 
>   
>     -       34 (Min/Max 8/58)
> 196 Reallocated_Event_Count 0x0033   100   100   010    Pre-
> fail  Always       -       0
> 
> SMART Error Log Version: 1
> No Errors Logged
> 
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(
> ho
> urs)  LBA_of_first_error
> # 1  Extended offline    Completed without
> error       00%     41109         -
> # 2  Short offline       Completed without
> error       00%     41038         -
> 
> 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.
> 
> 
> Begin the long test:
> 
> 
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-104-generic] (local
> build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org
> 
> === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
> Sending command: "Execute SMART Extended self-test routine
> immediately
> in off-line mode".
> Drive command "Execute SMART Extended self-test routine immediately
> in
> off-line mode" successful.
> Testing has begun.
> Please wait 532 minutes for test to complete.
> Test will complete after Mon Mar 14 01:17:34 2022 UTC
> Use smartctl -X to abort test.
> 
> 
> Check the test status - test is in progress (time Sun Mar 13 16:26:05
> 2022 UTC):
> 
> 
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-104-generic] (local
> build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org
> 
> === START OF INFORMATION SECTION ===
> Device Model:     MB4000GDUPB
> Serial Number:    26F5K1J3F17A
> LU WWN Device Id: 5 000039 6db900727
> Firmware Version: HPG3
> User Capacity:    4,000,787,030,016 bytes [4.00 TB]
> Sector Size:      512 bytes logical/physical
> Rotation Rate:    7200 rpm
> Form Factor:      3.5 inches
> Device is:        Not in smartctl database [for details use: -P
> showall]
> ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
> SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
> Local Time is:    Sun Mar 13 16:26:05 2022 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> 
> 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:      ( 249) Self-test routine in
> progress...
>                     90% of test remaining.
> Total time to complete Offline 
> data collection:        (  120) seconds.
> Offline data collection
> capabilities:            (0x7b) SMART execute Offline immediate.
>                     Auto Offline data collection on/off support.
>                     Suspend Offline collection upon new
>                     command.
>                     Offline surface scan supported.
>                     Self-test supported.
>                     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:    (   2) minutes.
> Extended self-test routine
> recommended polling time:    ( 532) minutes.
> Conveyance self-test routine
> recommended polling time:    (   2) minutes.
> SCT capabilities:          (0x0025) SCT Status supported.
>                     SCT Data Table supported.
> 
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH
> TYPE      UPDATED  WHEN_FAILED RAW_VALUE
>   1 Raw_Read_Error_Rate     0x000f   100   100   050    Pre-
> fail  Always       -       0
>   2 Throughput_Performance  0x0007   100   100   050    Pre-
> fail  Always       -       0
>   3 Spin_Up_Time            0x0003   100   100   002    Pre-
> fail  Always       -       11957
>   5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-
> fail  Always       -       0
>   7 Seek_Error_Rate         0x000f   100   100   050    Pre-
> fail  Always       -       0
>   8 Seek_Time_Performance   0x0005   100   100   050    Pre-
> fail  Offline      -       0
>   9
> Power_On_Hours          0x0032   001   001   000    Old_age   Always 
>   
>     -       41134
>  10 Spin_Retry_Count        0x0013   105   100   030    Pre-
> fail  Always       -       0
> 180 Unknown_HDD_Attribute   0x003b   100   100   001    Pre-
> fail  Always       -       0
> 194
> Temperature_Celsius     0x0022   100   100   000    Old_age   Always 
>   
>     -       36 (Min/Max 8/58)
> 196 Reallocated_Event_Count 0x0033   100   100   010    Pre-
> fail  Always       -       0
> 
> SMART Error Log Version: 1
> No Errors Logged
> 
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(
> ho
> urs)  LBA_of_first_error
> # 1  Extended offline    Self-test routine in progress
> 90%     41134         -
> # 2  Extended offline    Completed without
> error       00%     41109         -
> # 3  Short offline       Completed without
> error       00%     41038         -
> 
> 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.
> 
> 
> Check the test progress again - no tests running (time Sun Mar 13
> 16:26:46 2022 UTC):
> 
> 
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-104-generic] (local
> build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, 
> www.smartmontools.org
> 
> === START OF INFORMATION SECTION ===
> Device Model:     MB4000GDUPB
> Serial Number:    26F5K1J3F17A
> LU WWN Device Id: 5 000039 6db900727
> Firmware Version: HPG3
> User Capacity:    4,000,787,030,016 bytes [4.00 TB]
> Sector Size:      512 bytes logical/physical
> Rotation Rate:    7200 rpm
> Form Factor:      3.5 inches
> Device is:        Not in smartctl database [for details use: -P
> showall]
> ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
> SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
> Local Time is:    Sun Mar 13 16:26:46 2022 UTC
> SMART support is: Available - device has SMART capability.
> SMART support is: Enabled
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> 
> 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:        (  120) seconds.
> Offline data collection
> capabilities:            (0x7b) SMART execute Offline immediate.
>                     Auto Offline data collection on/off support.
>                     Suspend Offline collection upon new
>                     command.
>                     Offline surface scan supported.
>                     Self-test supported.
>                     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:    (   2) minutes.
> Extended self-test routine
> recommended polling time:    ( 532) minutes.
> Conveyance self-test routine
> recommended polling time:    (   2) minutes.
> SCT capabilities:          (0x0025) SCT Status supported.
>                     SCT Data Table supported.
> 
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH
> TYPE      UPDATED  WHEN_FAILED RAW_VALUE
>   1 Raw_Read_Error_Rate     0x000f   100   100   050    Pre-
> fail  Always       -       0
>   2 Throughput_Performance  0x0007   100   100   050    Pre-
> fail  Always       -       0
>   3 Spin_Up_Time            0x0003   100   100   002    Pre-
> fail  Always       -       858
>   5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-
> fail  Always       -       0
>   7 Seek_Error_Rate         0x000f   100   100   050    Pre-
> fail  Always       -       0
>   8 Seek_Time_Performance   0x0005   100   100   050    Pre-
> fail  Offline      -       0
>   9
> Power_On_Hours          0x0032   001   001   000    Old_age   Always 
>   
>     -       41134
>  10 Spin_Retry_Count        0x0013   105   100   030    Pre-
> fail  Always       -       0
> 180 Unknown_HDD_Attribute   0x003b   100   100   001    Pre-
> fail  Always       -       0
> 194
> Temperature_Celsius     0x0022   100   100   000    Old_age   Always 
>   
>     -       32 (Min/Max 8/58)
> 196 Reallocated_Event_Count 0x0033   100   100   010    Pre-
> fail  Always       -       0
> 
> SMART Error Log Version: 1
> No Errors Logged
> 
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  LifeTime(
> ho
> urs)  LBA_of_first_error
> # 1  Extended offline    Completed without
> error       00%     41109         -
> # 2  Short offline       Completed without
> error       00%     41038         -
> 
> 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.
> 
> 
> In short:
> 
> - Sun Mar 13 16:25:12 2022 UTC: no tests running.
> - Sun Mar 13 16:26:05 2022 UTC: long test running.
> - Sun Mar 13 16:26:46 2022 UTC: no tests running, no test results
> recorded.
> 
> How can I find out why those tests get cancelled - any logs
> available???
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 14 Mar 2022 21:26:41 +0100
> From: "Carlos E. R." <robin.listas at telefonica.net>
> To: smartmontools list <smartmontools-support at listi.jpberlin.de>
> Subject: Re: [smartmontools-support] Tests get cancelled without any
> 	traces
> Message-ID: <0fe057c8-b961-fd37-4b1f-f2df6a0e2d9a at telefonica.net>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On 2022-03-14 14:18, Andriy Svirskyy wrote:
> > I am testing hard disks with SmartMonTools under Ubuntu 20.04.
> > 
> > Tests for some hard disks are not working - they disappear without
> > leaving any warnings or errors.
> > 
> > Hard drive status before the test (note the time Sun Mar 13
> > 16:25:12
> > 2022 UTC):
> > 
> 
> ...
> 
> > 
> > 
> > In short:
> > 
> > - Sun Mar 13 16:25:12 2022 UTC: no tests running.
> > - Sun Mar 13 16:26:05 2022 UTC: long test running.
> > - Sun Mar 13 16:26:46 2022 UTC: no tests running, no test results
> > recorded.
> > 
> > How can I find out why those tests get cancelled - any logs
> > available???
> 
> I had what seems the same problem, and it was the disk going to
> sleep 
> (it is a timeout) and aborting the test.
> 
> <
> https://listi.jpberlin.de/pipermail/smartmontools-support/2021-April/000665.html
> >
> 



More information about the Smartmontools-support mailing list