I use an LSI SAS 9860 -8e Controller.
I use 2x EMC Enclosures
Bios is updated to work on 25.04.1
Since 25.04.2 update Truenas fails to initialise SAS Controller.
Looks like the driver version on 25.04.2 has been rolled back so now the updated SAS bios does not work.
Will this be fixed asap. I need access to my SAS Drives…
storcli no longer sees controller.
LSI MegaRaid SAS 9286-8e
What do I need to do.
#storecli show all
CLI Version = 007.2807.0000.0000 Dec 22, 2023
Operating system = Linux 6.12.15-production+truenas
Status Code = 0
Status = Success
Description = None
Number of Controllers = 0
Host Name = truenas
Operating System = Linux 6.12.15-production+truenas
sas2flash -list
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved
No LSI SAS adapters found! Limited Command Set Available!
ERROR: Command Not allowed without an adapter!
ERROR: Couldn't Create Command -list
Exiting Program.
sas3flash -list
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)
Copyright 2008-2017 Avago Technologies. All rights reserved.
No Avago SAS adapters found! Limited Command Set Available!
ERROR: Command Not allowed without an adapter!
ERROR: Couldn't Create Command -list
Exiting Program.
There is a lot of conflicting info out there but I don’t think that card can be set to IT mode or even cross flashed to IT mode. Since a straight RAID card would be incompatible (works until it don’t) with Truenas, the driver for that card may have been removed in the latest version of 25. So you might want to go back to the version of Truenas you had working with the card then make a decision on how to proceed from there.
A hardware RAID controller in JBOD mode still is not in HBA mode. Depending on the firmware, it may or may not be able to have it’s JBOD disks moved to a HBA controller. This is because some hardware RAID controllers may reserve a block of the disk for RAID member info and the dirty stripe table. This is for re-syncing after disk replacement and to allow resuming part way through if a power outage occurs. Plus, re-assembling the RAID group on another, software compatible, hardware RAID controller.
Some hardware RAID controllers put the reserved data at the end of the disk. This helps make it easier to move a hardware RAID member disk to HBA controller. For example, one LSI IR hardware RAID controller used on Sun SPARC servers did this. Since the server was using ZFS and the hardware RAID mirror was borked, I was able to move the server to IT mode and use ZFS for mirroring.
However, this required many hours of research, as well as backups, both special recovery ones and normal backups.
Further, the LSI MegaRAID cards are more complex than the LSI IR RAID cards. Thus, not completely compatible.
Now, to useful information:
Have you tried to boot the older version of TrueNAS with the original hardware RAID card?
If the old card and old version of TrueNAS does not see the disks, you possibly have a failed card. Your best bet for data recovery is to find a similar LSI MegaRAID card and use that. Their will likely be special procedures to recover any LUNs, (which you call JBOD), but few of us here will know those procedures because we don’t use hardware RAID.
Last, RAID is not a backup. A NAS could be a backup, main storage, or both segregated. But, any data not backed up, is at risk.
on 25.04.1 everything was working and has been so for years on previous versions from all the way back from 23.x
When I install upgrade from 25.04.1 to 25.04.2 the SAS stopped working. So yes the upgrade caused the issue.
I test the hardware as I have 2x LSI 9286-e pcie controllers.
and the issue remains. Yes you can flash these to JBOD mode with the right bios.
I reinstalled truenas with electric eel and it all works again. takes me days to re-setup everything(VMs apps and containers). Then I applied the new upgrade and it went down again. I rolled back and the sas still did not come back online.
So this is a driver issue in 25.04.2.x and above.