Just some scripts I use to manage/monitor my TrueNAS Scale Servers
Simple python script that utilizes sas3ircu to locate the SAS controllers on your system and then allows you to select the controller and outputs all drives on that controller so you can blink or unblink them for location purposes. Makes finding drives on your system easy!
Used the Rich library to output a nicely formatted table.
Works on TrueNAS Scale (Linux based) and SAS3IRCU, it might also work with SAS2IRCU.
Download the script and chmod 755 and then simply run it. When you do it will ask you which controller and scan
that controller, outputting what you see below. You can then select blink or unblink and it will ask you what
drive. Enter the drive number, and if you are in a system supported by SAS3IRCU, it will start flashing the drive
error LED. Just rerun it again to unblink that drive.
- SAS3IRCU Command Line Utility - Required to report on SAS Controller
- RICH - Used to generate report
Richard J. Sears - richardjsears@gmail.com - The RS Technical Group, Inc.
This project is licensed under the MIT License - see the MIT License for details
- My Amazing and loving family! My wonderful wife and kids put up with all my coding and automation projects and encouraged me in everything. Without them, this project would not be possible.
- My brother James, who is a continual source of inspiration to me and others. Everyone should have a brother as awesome as mine!