Hey all,
I’m using this disk-burnin-and-testing script from @dak180 (thank you Dak!), and I just have a question on what the final output of a log file should look like after a successful burn-in run?
- The included log example seems quite different than what I have for log files that have generating for my in-progress jobs.
- I am not sure if a .bb file should have data in it or not? Would it only log something if there was an error?
Thanks for the help. Here is an example of what I have for my in-progress tests:
+-----------------------------------------------------------------------------
+ Started burn-in of /dev/sdb : Sun Aug 24 08:40:30 PDT 2025
+-----------------------------------------------------------------------------
Host: truenas
Drive Model: WDC WD80EFPX-68C4ZN0
Serial Number: WD-xxxxxxxxx
Short test duration: 2 minutes
Short test sleep duration: 120 seconds
Conveyance test duration: 5 minutes
Conveyance test sleep duration: 300 seconds
Extended test duration: 794 minutes
Extended test sleep duration: 47640 seconds
Log file: ./burnin-WDC WD80EFPX-68C4ZN0-WD-xxxxxxx-20250824-1540+0.log
Bad blocks file: ./burnin-WDC WD80EFPX-68C4ZN0-WD-xxxxxx-20250824-1540+0.bb
SCT Error Recovery Control:
Read: 70 (7.0 seconds)
Write: 70 (7.0 seconds)
+-----------------------------------------------------------------------------
+ Run SMART short test on drive /dev/sdb: Sun Aug 24 08:40:30 PDT 2025
+-----------------------------------------------------------------------------
Short test started, sleeping 120 seconds until it finishes
SMART self-test complete
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.15-production+truenas] (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 Completed without error 00% 0 -
Finished SMART short test on drive /dev/sdb: Sun Aug 24 08:42:30 PDT 2025
+-----------------------------------------------------------------------------
+ Run SMART conveyance test on drive /dev/sdb: Sun Aug 24 08:42:30 PDT 2025.
+-----------------------------------------------------------------------------
Conveyance test started, sleeping 300 seconds until it finishes.
SMART self-test complete
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.15-production+truenas] (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 Conveyance offline Completed without error 00% 0 -
# 2 Short offline Completed without error 00% 0 -
Finished SMART conveyance test on drive /dev/sdb: Sun Aug 24 08:47:30 PDT 2025.
+-----------------------------------------------------------------------------
+ Run SMART extended test on drive /dev/sdb: Sun Aug 24 08:47:30 PDT 2025
+-----------------------------------------------------------------------------
Extended test started, sleeping 47640 seconds until it finishes
SMART self-test complete
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.15-production+truenas] (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 Extended offline Completed without error 00% 14 -
# 2 Conveyance offline Completed without error 00% 0 -
# 3 Short offline Completed without error 00% 0 -
Finished SMART extended test on drive /dev/sdb: Sun Aug 24 22:04:32 PDT 2025
+-----------------------------------------------------------------------------
+ Run SMART offline test on drive /dev/sdb: Sun Aug 24 22:04:32 PDT 2025.
+-----------------------------------------------------------------------------
Offline test started, sleeping 11804 seconds until it finishes.
SMART self-test complete
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.15-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Automatic Offline Testing Enabled every four hours.
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.15-production+truenas] (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 Extended offline Completed without error 00% 14 -
# 2 Conveyance offline Completed without error 00% 0 -
# 3 Short offline Completed without error 00% 0 -
Finished SMART offline test and activated automated testing (if supported) on drive /dev/sdb: Mon Aug 25 01:21:17 PDT 2025.
+-----------------------------------------------------------------------------
+ Run badblocks test on drive /dev/sdb: Mon Aug 25 01:21:17 PDT 2025
+-----------------------------------------------------------------------------