Upgrading zpool (zfs) feature level on pfSense with GPT (UEFI) boot

After doing a pfSense upgrade where the underlying base system has been upgraded like from 2.4.5p1 (FreeBSD 11.3) to 2.5.1 (FreeBSD 12.2) it is wise to upgrade the ZFS feature level. If booting from GPT (UEFI) with ZFS zroot the zfs feature level upgrade process might have some gotchas that can cause the system not to boot. Before doing this take configuration backup and have restore image/usb ready. This example is with a single disk setup no zpool mirror/stripe. ...

April 26, 2021

SEND_FPDMA_QUEUED - CAM status: Command timeout on pfSense ZFS install

When installing pfSense 2.5.0 on Seeedstudio Odyssey Blue J4105 I observed the following error message in the system buffer after I selected ZFS install: ahcich0: is 00000000 cs 00000000 ss 00000080 rs 00000080 tfd 50 serr 00000000 cmd 0000d117 (ada0:ahcich0:0:0:0): SEND_FPDMA_QUEUED DATA SET MANAGEMENT. ACB: 64 01 00 00 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command, 3 more tries remain After retrying couple of times the system installed successfully. After install this error caused the boot to stall for some time but it booted successfully. ...

February 20, 2021