Script hangs during execution of SMART short test. Looks like it reached timeout and aborted test without any notifications. I guess the test time should be extended.
/burn-in# ./disk-burnin.sh -f /dev/sda
+-----------------------------------------------------------------------------
+ Started burn-in: Tue Oct 7 13:56:55 CEST 2025
+-----------------------------------------------------------------------------
Host: nas
OS: Linux
Drive: /dev/sda
Disk Type: 7200_rpm
Drive Model: HGST_HUS728T8TALE6L4
Serial Number: XXX
Short test duration: 2 minutes
120 seconds
Extended test duration: 883 minutes
52980 seconds
Log file: /root/burn-in/burnin-HGST_HUS728T8TALE6L4_XXX.log
Bad blocks file: /root/burn-in/burnin-HGST_HUS728T8TALE6L4_XXX.bb
+-----------------------------------------------------------------------------
+ Running SMART short test: Tue Oct 7 13:56:55 CEST 2025
+-----------------------------------------------------------------------------
smartctl 7.4 2024-10-15 r5620 [x86_64-linux-6.14.11-3-pve] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Tue Oct 7 13:58:55 2025 CEST
Use smartctl -X to abort test.
SMART short test started, awaiting completion for 120 seconds ...
--hangs forewer--
smartctl -l selftest /dev/sda
smartctl 7.4 2024-10-15 r5620 [x86_64-linux-6.14.11-3-pve] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Aborted by host 80% 43778 -
# 2 Short offline Aborted by host 80% 43777 -
# 3 Short offline Aborted by host 80% 43777 -
Script hangs during execution of SMART short test. Looks like it reached timeout and aborted test without any notifications. I guess the test time should be extended.