disklist.pl for TrueNAS Scale?

blanchet

Guru
Joined
Apr 17, 2018
Messages
516
Short version
Is there a TrueNAS-Scale version of disklist.pl ?


Long version
  • I have a TrueNAS Core system with multiple attached JBOD.
  • I have 80 hard disks in my pool, so I need a way to locate easily a hard disk
  • I have written a script to locate (blink) a disk by given its serial number https://github.com/sblanchet/truenas-tools
    • Unfortunately, my script depends on disklist.pl so it works only on TrueNAS Core.
  • Therefore I need a similar tool for TrueNAS Scale if I want to use it instead of Core.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
You may need to modify a bit, but I believe ‘lsblk’ is the command you need
 
Top