FreeNAS will not boot after adding hard drives

Status
Not open for further replies.

danzaslap

Cadet
Joined
Feb 17, 2017
Messages
3
I unfortunately never was able to resolve the issue. I abandoned this track and am slowly replacing the 2TB drives with 6TB in which I'll eventually expand the pool for more storage. If you ever figure it out, I would definitely be interested in how you fixed it considering all the trouble it gave me!

Well I was able to resolve the issue and it had to do with the bios on my LSI 9211 card. It turns out that the mpt bios will screw up the boot sequence.

The solution was to reflash the LSI card with firmware but no bios.

Follow this guide

https://nguvu.org/freenas/Convert-LSI-HBA-card-to-IT-mode/

to make a boot drive and flash firmware except instead of doing

sas2flsh -o -f 2118it.bin -b mptsas2.rom

do

sas2flsh -o -f 2118it.bin

This flashes the firmware but no bios. You'll notice you don't get the LSA bios boot screen either. After the flash I was able to boot and add a 6 drive vdev to my existing raidz2 array. Note: A bios is only needed if you want to boot off a drive directly attached to the LSI card. If you want to boot from USB the MPT bios on the LSI card screws things up - so remove bios and life will be good.

Summary of steps:
  1. Remove drives until you can boot from USB
  2. Boot into usb drive that has firmware utilities
  3. Flash LSI card WITHOUT bios (follow guide but don't flash bios)
  4. shutdown
  5. Reconnect all drives
  6. Boot into freenas
  7. Put the pistol away
Hope that helps.
 

strudinox

Dabbler
Joined
Sep 19, 2017
Messages
10
Glad you worked out a solution!

Unfortunately, this won't work for me since the issue is apparent even when not using my SAS cards. I've tried a combo of using only LSI SAS cards as well as replacing them with dumb PCIE SATA cards. Both resulting in the same issue. I think in my case it's a bug in the Motherboard's BIOS.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
It’s a BIOS boot order bug. If you persevere you can normally encourage BIOSes to boot to the correct device.

I guess an alternative would be to erase the boot sectors on your data disks.
 
Status
Not open for further replies.
Top