I just set up my first TrueNAS scall with 2 x 10TB WD Red’s. I’m primarily using this for home storage, documents, photos, etc
I have it set up as a mirror. My questions are
Is there a guide to doing basic tests on the setup?
Should I continuously do the SMART tests?
Should I test hte failure of a drive/ How do I know it’s working as expected?
ERROR: smartctl requires a device name as the final command-line argument.
Use smartctl -h to get a usage summary
root@truenas[/usr/sbin]# smartctl
zsh: command not found: smartctl
root@truenas[/usr/sbin]# sudo smartctl -t short /dev/sda0
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.20-production+truenas] (local build)
Smartctl open device: /dev/sda0 failed: No such device
root@truenas[/usr/sbin]# sudo smartctl -t short /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.20-production+truenas] (local build)
=== 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 Sun Jun 23 11:30:28 2024 +07
Use smartctl -X to abort test.
root@truenas[/usr/sbin]#
Do you guys run scripts to automatically do this via cron?