Possible Bug - iSCSI LU FirmwareVersion has trailing space

TL;DR the FirmwareVersion of disks as they appear on my Windows iSCSI initiator are a string of "390 " (note trailing space).

I tried setting up an Atlassian account and logging into that portal and couldn’t. So here I am.

I am currently on TN Scale 24.10.1 (I know it’s not up to date, I’m working on a migration).

While working on migration tasks, I was hoping to quickly filter disks that I have attached via a TN Core system vs disks that are attached via my new TN Scale system.

Long story short:

  1. Powershell Get-Disk | ? -Property FirmwareVersion -eq "0123" returns all truenas core-attached LUs.
  2. Powershell Get-Disk | ? -Property FirmwareVersion -eq "390" returns nothing.
  3. Powershell Get-Disk | ? -Property FirmwareVersion -eq "390 " returns all truenas scale-attached LUs.

Obviously fixing this would (A) probably only benefit like … the smallest fraction of a percent of users, and (B) would possibly be a breaking change, so I don’t expect a fix.