I can confirm that calling the REST API produces the same result. I get only one disk reported:
Jose BattigSeptember 13, 2021 at 1:45 PM
Here you are.
It appears to match what I see in the UI for this appliance:
Ievgen StepanovychSeptember 13, 2021 at 1:20 PM
@Jose Battig This error happens on other 'normal' systems and should not affect how disks are shown. Could you try querying for disks in shell using `midclt call disk.query` and pasting output here?
Jose BattigSeptember 9, 2021 at 11:18 AM
I opened the dev console, and nothing that appears relevant appears shows.
This is the only piece of logging that appears when trying to filter disks and text is entered that would not match any disk:
main.3ae043bcbe471c0868bb.js:1 ERROR Error: query at index -1 failed: Fenwick tree array not initialized. at t.query (main.3ae043bcbe471c0868bb.js:1) at t.getAdjustedViewPortIndex (main.3ae043bcbe471c0868bb.js:1) at t.toggleAllRows (main.3ae043bcbe471c0868bb.js:1) at main.3ae043bcbe471c0868bb.js:1 at e.o [as _next] (main.3ae043bcbe471c0868bb.js:1) at e.__tryOrUnsub (main.3ae043bcbe471c0868bb.js:1) at e.next (main.3ae043bcbe471c0868bb.js:1) at e._next (main.3ae043bcbe471c0868bb.js:1) at e.next (main.3ae043bcbe471c0868bb.js:1) at e.next (main.3ae043bcbe471c0868bb.js:1)
What's even stranger is that the appliance with the problem (version TrueNAS-12.0-U5.1), right now is showing only one disk, it appears to be the last disk added... but no more disks shown. Trying to enter filtering criteria to show extra disks doesn't help either.
When trying to see disks in TrueNAS-12.0-U5.1 no disks are showing up.
When creating a new Pool in the pool creation dialog available disks will show up, but if going to Storage/Disks function no disks appear.