Python Script to locate hard drives

HeloJunkie

Patron
Joined
Oct 15, 2014
Messages
300
I was running Freenas for a long time and had scripts that allowed me to locate a hard drive, but when I went to Scale (and linux) I needed a different way.

I run Aviago LSI 3008 cards in Supermicro chassis. Here is a script that uses SAS3IRCU to locate your controllers, find all drives connected to that controller and give you the option to blink or unblink the drives.

Maybe it can help others!

YMMV


Screenshot 2024-01-21 at 2.37.42 PM.png
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Not exactly the same, but a fair bit of overlap in functionality:
...and, at its root:
 

HeloJunkie

Patron
Joined
Oct 15, 2014
Messages
300
Not exactly the same, but a fair bit of overlap in functionality:
...and, at its root:
Very cool!
 
Top