TrueNAS server will not boot after being on UPS power

I was doing some work on my electrical system today and took power down in my office for about 30 minutes. The UPS was churping away that whole time and TrueNAS is set up to gracefully shut down when on battery power. To my knowledge the battery did not run out of power either.

When I came back I was met with a boot loop. Unfortunately my last config backup is pretty old. So I attempted to follow an old forum post but all copies of config files appear to be gone. On both the boot pool and the first non-boot pool.

So I decided to just use the old config file. Once that loaded and the system came back up I now can’t reach the web interface and unfortunately I foolishly tied my network to a VM running OPNsense inside of TrueNAS.

Attempts to start that VM via command line have failed. I get some errors that spit by pretty fast so I cant actually see what it says on line 1. The last line says something about Unable to define domain for OPNsense: ā€˜type’

Are my pools read only or something? What the hell is going on. Zpool status doesn’t show anything obvious.

I should note that I have recovered my system in this way before. I do not know what is going on this time.

Looks like I mistakenly downloaded Electric Eel rather than DragonFish but now I get ā€œlsblk: /dev/sda3: not a block deviceā€ when trying to install in BIOS mode…

Others appear to have solved this with EUFI mode but my system will not boot a EUFI drive.

Ok. I ended up installing 24.04.1 which for whatever reason did not have the BIOS installation issue. Config was loaded just fine and all of the pools are fine and healthy. VMs have returned to working.

I still don’t really know what happened but I guess this is closed.

1 Like

You should implement @joeschmuck’s Multi Report script to get sent a copy of your system configuration file by email once per week.

I will but the config was new enough so I don’t really consider that to be the underlying issue. The vast majority of my time was spent testing versions of TrueNAS to find one that would actually install and unfortunately it looks like they don’t plan to address the error in Dragonfish at all.