How to Flash IT Mode Firmware on an HBA Card for TrueNAS

If you want TrueNAS to manage your drives directly, you need to flash IT mode firmware onto your HBA card first. Most second-hand SAS cards arrive with IR mode firmware, which hides the disks behind a hardware RAID layer. TrueNAS works best when it talks to each disk on its own, and that is exactly what IT mode gives it. This guide walks through the whole job: checking the card, saving a backup of the original firmware, flashing the new firmware, and testing the result in TrueNAS.

What IT Mode Does and Why TrueNAS Wants It

A host bus adapter, or HBA, is a card that connects SAS and SATA drives to your server. In IR mode the card acts like a small RAID controller. It groups disks, hides their SMART data, and sometimes renames them. TrueNAS builds its storage pools on ZFS, and ZFS wants to see every disk as it is, with full SMART data and no middleman making decisions about the drives.

IT mode turns the card into a plain pass-through device. Each disk shows up on its own, SMART data flows through, and ZFS can spot a failing drive early. That direct path is why an HBA card IT mode setup is the standard choice for TrueNAS. Running IR mode with ZFS is not just slower to troubleshoot. It can mask drive errors until a second disk fails, which is when a pool actually dies.

Before you flash, confirm the TrueNAS HBA firmware image matches your exact card model. IT mode gives you plain SAS controller passthrough with no RAID layer in the way, so ZFS sees the real disks and nothing else.

Check Your Card Before You Touch Anything

Flashing the wrong firmware onto the wrong card can brick it, so identification comes first. Pull the card out of the server and read the label on the board. Note the model name, the chipset printed on the main chip, and the bracket type. Then boot the machine and check what the system sees. On Linux, lspci lists the card and its chipset. In the card BIOS screen during boot you can see the current firmware mode and version.

Not every SAS card can run IT mode. Cards built on the LSI SAS2008 and SAS2308 chipsets are the common choices for home servers, and firmware for them is easy to find from the vendor. Some cards from server vendors carry custom firmware that refuses generic images, and some low-end cards have no IT mode firmware at all. If you cannot find an IT mode image that matches your exact model and chipset, stop. Buying a different card costs less than recovering a bricked one.

Gather the Firmware and Tools You Need

Get the firmware only from the card vendor or the chipset maker’s official site. For an LSI-based card that means the firmware package for your exact model. The package usually contains the firmware image, the matching BIOS image, and the flashing tool. Download the IT mode firmware, not the IR mode one, and double-check the file names before you go further. A single wrong letter in a model name is enough to flash the wrong image.

You also need a way to run the flashing tool. The usual route is a bootable USB stick with a minimal Linux or DOS environment. Some newer cards can be flashed from inside a running Linux system, but a bootable stick keeps the card idle while you work on it, which is safer. Prepare the stick on a different computer, test that it boots, and keep the firmware files on the same stick so you are not hunting for them mid-job.

Back Up the Existing Firmware and Settings

Before you erase anything, save a copy of the firmware that is on the card now. Most flashing tools have a backup or dump command that reads the current firmware and BIOS into files. Save those files on the USB stick and copy them to another computer as well. If the new firmware misbehaves, this backup is your way back.

Take a photo of the card BIOS screen showing the current firmware version and the list of attached drives, and note which cable plugs into each port. After a flash the drive order can change, and a photo of the original setup removes the guesswork when you reconnect everything.

If your server currently boots from a drive attached to this card, move that boot drive to the motherboard SATA ports first. Flashing with a live operating system disk on the card risks data loss if the tool resets the controller mid-write.

Flash IT Mode Firmware Step by Step

Boot from your USB stick and confirm the flashing tool sees the card. Run the tool’s list command first. It should show one card with the model and chipset you wrote down earlier. If it shows nothing, or shows a different model, stop and recheck the card identity. Never force a flash onto a card the tool does not recognise.

Erase the old firmware only when you are sure the backup finished and the files are readable. The erase step takes seconds, and after it the card has no working firmware until the new image is written. Do not reboot, do not pull the USB stick, and do not cut power during this window.

Write the IT mode firmware image next, then the BIOS image if your package includes one. The BIOS image is what shows the card prompt during boot and lets you enter the card setup screen. Some home servers skip it to boot faster, but keeping it makes troubleshooting far easier, so install it unless you have a clear reason not to. When the tool reports success, reboot and watch the boot messages. The card should now report IT mode, and each attached drive should appear as its own device.

Verify the Card and Drives in TrueNAS

Boot into TrueNAS and open the storage section. Every drive attached to the HBA should appear as an individual disk with its real model name and serial number. If a drive is missing, check the cable and the port first, then check whether the drive shows up in the card BIOS screen.

Check SMART data for at least one drive. TrueNAS reads SMART attributes through the HBA in IT mode, so you should see temperature, power-on hours, and error counters. If SMART data is blank, the card may still be running IR mode firmware, or the drive may sit behind a port multiplier that blocks the data. Both are worth fixing now rather than after you have built a pool on top of blind disks.

Run a short test before you commit real data. Create a test pool on the new disks, copy some files onto it, and run a scrub. A scrub reads every block and reports errors, which confirms the card passes data cleanly. Once the scrub finishes with no errors, delete the test pool and build your real one. This is the same approach used when you set up TrueNAS Scale as a home NAS, where testing the pool before loading it with data saves painful rebuilds later.

Fix the Common Problems After Flashing

The most common surprise is a missing drive. Start with the physical layer: reseat the breakout cable at both ends, try a different port on the card, and swap in a known-good cable. SAS breakout cables fail more often than the cards do, and a single bad lane hides exactly one drive, which matches the symptom most people report.

A card that disappears entirely after flashing usually means the BIOS image did not write cleanly or the wrong image was used. Boot from the USB stick again and check whether the flashing tool still sees the card. If it does, reflash with the correct image. If it does not, the card may need recovery through its serial header, which is a deeper job and a good reason to have kept that firmware backup.

Slow performance after a flash often traces back to link speed. Some cards negotiate SATA links at a lower speed when the cable is long or of poor quality. Check the negotiated link speed in TrueNAS or in the card BIOS, and replace the cable if the speed is below what the drive supports.

Finally, keep the firmware files and your backup in a safe place and label them with the card model and date. Future you will thank present you when a drive fails at an awkward hour. A flashed HBA is a quiet, reliable part of a home server once it is set up right, and it pairs well with a solid DIY NAS build and a routine that includes automatic backups from your NAS to an external drive. If you are still deciding between NAS platforms, the comparison of Unraid versus TrueNAS Scale lays out where each one fits.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.