Update to 11.2U7 Strange Problem

TravisT

Patron
Joined
May 29, 2011
Messages
297
So today I logged into my FreeNAS console to realize that I'm a version behind and didn't receive an update notification. I clicked the "check for updates" on the dashboard, but was greeted with the error below:

1578145029640.png


Ok, check network settings. I found my NTP server was typo'd. Corrected that, then rebooted. Same problem on update. Tried to update from shell:

1578145152964.png


Interesting. Let's try a manual upgrade:

1578145226737.png


1578145301251.png


Everything seemed to be working normally up until this point. Any ideas?
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
Still haven't been able to make any progress on this. I'd love any suggestions short of blasting away my config and reloading from scratch.
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
have you tried the upgrade from ISO? that is the first thing to try if the auto update doesn't work.
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
I have not. Honestly forgot that was even an option. Do you invoke that at boot via CD/USB drive, or is there another way.
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
same way you install it, boot from disk, select instal/upgrade
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
It's been quite some time, but finally got around to updating from USB drive last night. Update seemed to go well, but afterwards the server wouldn't boot. I believe I chose the wrong boot option (BIOS/UEFI) when I upgraded. I tried to go back and reaccomplish the installation with the correct boot option, and now it prompts for a root password then fails with the following error:

gmirror: No such device: swap.
dd: /dev/ada0: Operation not permitted
The FreeNAS installation on ada0 has failed. Press enter to continue...

ada0 and ada1 are 120G SATA SSD drives that were configured in a mirrored setup prior to the attempted upgrade. I've tried numerous times to install different ways, but always get this same error. Am I missing something simple?
 

Attachments

  • Screen Shot 2020-05-06 at 11.29.26 PM.png
    Screen Shot 2020-05-06 at 11.29.26 PM.png
    47.9 KB · Views: 259

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
that also doesn't look anything like the kind of errors you would expect from a wrong boot option. if the boot is set wrong that wont effect the installation step, it just wont boot when you reboot.
the only time I got errors like that was when the install media was borked (ISO over IPMI, except the network cable turned out to be bad). you might want to make sure your install media is good.
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
Thanks for the reply. I thought that may be the case as well. I tried two different ISO downloads, two different usb drives and IPMI. I've had similar issues before, so while I don't want to rule that out as an option, I feel like I've done due diligence ;-)

To be thorough, I'll run a hash on the downloaded file to see if something is corrupting it
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
The checksum matches. I'll keep digging into ideas tomorrow, but I'm almost out of options at this point. Maybe try one more usb device?
 

TravisT

Patron
Joined
May 29, 2011
Messages
297
So I tried a 3rd USB drive. Worked like a charm. Not sure what was up with the other two - they were both 16GB drives.

Thanks for the assist!
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
a disturbingly large number USB drives are actually garbage. they silently fail and work like crap while acting fine. freenas, and i assume freebsd, as well as ZFS, REALLY notice .
the only ones I know of that are worse are the fakes on ebay that are like 512 MB drives hacked to appear like 32 GB. they are worse because what they do is just silently overwrite existing data if you try to put more on them than the underlying drives real size.
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
It's been quite some time, but finally got around to updating from USB drive last night. Update seemed to go well, but afterwards the server wouldn't boot. I believe I chose the wrong boot option (BIOS/UEFI) when I upgraded. I tried to go back and reaccomplish the installation with the correct boot option, and now it prompts for a root password then fails with the following error:

gmirror: No such device: swap.
dd: /dev/ada0: Operation not permitted
The FreeNAS installation on ada0 has failed. Press enter to continue...

ada0 and ada1 are 120G SATA SSD drives that were configured in a mirrored setup prior to the attempted upgrade. I've tried numerous times to install different ways, but always get this same error. Am I missing something simple?
Maybe the install process sees something it doesn't like on the disk as it is complaining about the swap device. I would try wiping the SSD;s and try installing as a normal single disk rather than mirror. You can then mirror once and if you have successfully installed Freenas.
 
Top