LSI CLI cmds

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

tiro_uspsss

New Member
Feb 27, 2011
17
2
3
Was just watching this:


@ 8m36s - 8m43s, the fellow types in "sas2flash -list -c 0"

If I use that cmd on my 9300-8i, I don't get the same output as AoS, I get an error.. yes I am a Linux n00b. What is the relevant cmd, to get the same ouput?

TIA!
 

tiro_uspsss

New Member
Feb 27, 2011
17
2
3
ignore previous, forgot to put "./"

new problem: both 'sas3flash list' & 'sas3 display' come back with 'No Avago SAS adapters found!'
 

BLinux

cat lover server enthusiast
Jul 7, 2016
2,672
1,081
113
artofserver.com
can you check to see if you have 'lspci' command available? you can enter something like:

which lspci

and if it shows you a path to it like "/usr/bin/lspci" then you have it. if not, you need to install it, and I'd have to refer you to your OS package manager to do that.

once you have it, run

lspci -Dmmnn | grep LSI

And see if the card is even present in your system.
 

tiro_uspsss

New Member
Feb 27, 2011
17
2
3
lspci gets me:

04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)

lspci -v gets me:


04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
Subsystem: Broadcom / LSI SAS9300-8i
Flags: bus master, fast devsel, latency 0, IRQ 40
I/O ports at c000
Memory at f9340000 (64-bit, non-prefetchable) [size=64K]
Memory at f9300000 (64-bit, non-prefetchable) [size=256K]
Expansion ROM at f9200000 [disabled] [size=1M]
Capabilities: <access denied>
Kernel driver in use: mpt3sas
Kernel modules: mpt3sas

lspci -Dmmnn | grep LSI gets me:


0000:04:00.0 "Serial Attached SCSI controller [0107]" "Broadcom / LSI [1000]" "SAS3008 PCI-Express Fusion-MPT SAS-3
[0097]" -r02 "Broadcom / LSI [1000]" "SAS9300-8i [30e0]"
 

tiro_uspsss

New Member
Feb 27, 2011
17
2
3
no, should I be? the error it gives back doesn't seem to suggest that that is the problem, but will try
 

tiro_uspsss

New Member
Feb 27, 2011
17
2
3
faaar out.. just running all the various cmds again (incl sas3ircu), now with sudo.. all working.. what a fudging nub I am