- Joined
- May 13, 2015
- Messages
- 2,478
Glad to hear it!Awesome, thanks a ton, running like a charm now!
Code:root@freenas:~/disk-burnin-and-testing # ./disk-burnin.sh da0 +----------------------------------------------------------------------------- + Started burn-in of /dev/da0 : Thu Jun 8 11:07:07 PDT 2017 +----------------------------------------------------------------------------- Host: freenas Drive Model: WDC_WD80EFZX-68UW8N0 Serial Number: VK0W2LRY Short test duration: 2 minutes Short test sleep duration: 120 seconds Extended test duration: 1242 minutes Extended test sleep duration: 74520 seconds Log file: ./burnin-WDC_WD80EFZX-68UW8N0_VK0W2LRY.log Bad blocks file: ./burnin-WDC_WD80EFZX-68UW8N0_VK0W2LRY.bb +----------------------------------------------------------------------------- + Run SMART short test on drive /dev/da0: Thu Jun 8 11:07:07 PDT 2017 +----------------------------------------------------------------------------- smartctl 6.5 2016-05-07 r4318 [FreeBSD 11.0-STABLE amd64] (local build) Copyright (C) 2002-16, 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 Thu Jun 8 11:09:07 2017 Use smartctl -X to abort test. Short test started, sleeping 120 seconds until it finishes
Is there a recommend way to run all 16 drives in parallel, or should I just open a bunch of SSH sessions and kick them off? I'm not well versed enough in shell scripting, a for loop would wait for each one to finish before beginning the enxt one Im assuming, which I probably don't want to do or it will take a month.
As @danb35 pointed out,
tmux
is very useful for starting multiple simultaneous burn-in sessions. Search the forum and you'll find detailed instructions on using it.