[SCALE 22.02.2] FusionIO disks no longer show up in GUI

boro

Cadet
Joined
Jun 29, 2022
Messages
2
Hi everyone!
First of all, noob poster here so I'm not sure if the bug reporting workflow is to post here first, discuss it, confirm it's a bug then open a Jira ticket or to just go into jira directly

So, I did a fresh install of 22.02.2 on a server with an fusion-io ioDrive duo (2 ssd disks on 1 pcie card) and after installing the drivers and fio-util linux packages I can see and use the disks via the shell no problem but these disks no longer show up under `Storage > Disks` in the web GUI.

I think the cause of this bug is the NAS-116433 optimization since they show up and work on 22.02.1.

Side note regarding 22.02.1 & fusion devices: I ran into another snag when trying to add 2 fio drives as mirrored slog devices to an existing pool but managed to figure out a workaround; for anyone interested, here's a link to my quick guide).


Maybe related: the fusion cards don't expose the disk serial number like a regular ssd would. They also don't support SMART yet the GUI says smart is enabled?
The disks have serial numbers which I can get via a fio-utils command: `fio-status --field iom.fio_serial_number /dev/fioa` (which returns just the numeric serial of the device)...so I'm wondering:
  1. Does anyone know what command is called that gets the disk list + serial number data (maybe `smartctl`)? I'm able to write a custom wrapper command so that it'll use the fio-status to get the serial for fusion devices.
  2. If the above won't be possible, am I able to somehow tell truenas what an alternative serial number command to use? I don't mind getting my hands dirty since I'm a dev.
  3. Maybe a better solution to the above is to use the devlink values as a fallback serial number placeholder? e.g. there's unique entries for both fusion cards under: `/dev/disk/by-id` and `/dev/disk/by-path`.

What do you guys think?
Thanks for reading!
 

sybreeder

Explorer
Joined
Aug 15, 2013
Messages
75
Indeed mine Fusion-io ioScale 3.20TB also doesn't show in gui. pool is working. But disk itself is not in disk gui.

It was in gui before.
[ 44.904002] <6>fioinf ioDrive 0000:04:00.0.0: Required PCIE bandwidth 2.000 GBytes per sec
[ 44.905618] <6>fioinf ioDrive 0000:04:00.0.0: Board serial number is 1339D009F
[ 44.906500] <6>fioinf ioDrive 0000:04:00.0.0: Adapter serial number is 1339D009F
[ 44.907389] <6>fioinf ioDrive 0000:04:00.0.0: Default capacity 3200.000 GBytes
[ 44.908316] <6>fioinf ioDrive 0000:04:00.0.0: Default sector size 4096 bytes
[ 44.909205] <6>fioinf ioDrive 0000:04:00.0.0: Rated endurance 20.00 PBytes
[ 44.910053] <6>fioinf ioDrive 0000:04:00.0.0: 100C temp range hardware found
[ 44.910907] <6>fioinf ioDrive 0000:04:00.0.0: Maximum capacity 3200.000 GBytes
[ 47.595972] <6>fioinf ioDrive 0000:04:00.0.0: Firmware version 7.1.17 116786 (0x700411 0x1c832)
[ 47.597611] <6>fioinf ioDrive 0000:04:00.0.0: Platform version 20
[ 47.598485] <6>fioinf ioDrive 0000:04:00.0.0: Firmware VCS version 116786 [0x1c832]
[ 47.599366] <6>fioinf ioDrive 0000:04:00.0.0: Firmware VCS uid 0xaeb15671994a45642f91efbb214fa428e4245f8a
[ 47.604976] <6>fioinf ioDrive 0000:04:00.0.0: Powercut flush: Enabled
[ 47.855961] <6>fioinf ioDrive 0000:04:00.0.0: PCIe power monitor enabled (master). Limit set to 24.750 watts.
[ 47.857619] <6>fioinf ioDrive 0000:04:00.0.0: Thermal monitoring: Enabled
[ 47.858478] <6>fioinf ioDrive 0000:04:00.0.0: Hardware temperature alarm set for 100C.
[ 48.039972] <6>fioinf ioDrive 0000:04:00.0: Found device fct0 (Fusion-io ioScale 3.20TB 0000:04:00.0) on pipeline 0
[ 54.624245] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: probed fct0
[ 54.903353] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: sector_size=4096
[ 54.904142] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: setting channel range data to [2 .. 4095]
[ 55.546459] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: Found metadata in EBs 2019-2019, loading...
[ 56.105417] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: setting recovered append point 2019+945045504
[ 56.119818] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: Creating device of size 3200000000000 bytes with 781250000 sectors of 4096 bytes (663622523 mapped).
[ 56.128000] fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: Creating block device fioa: major: 253 minor: 0 sector size: 4096...
[ 56.130063] <6>fioinf Fusion-io ioScale 3.20TB 0000:04:00.0: Attach succeeded.
 

HammyHavoc

Cadet
Joined
Sep 10, 2017
Messages
3
Did this get figured out in the end? Currently mulling a TrueNAS build, and have a FusionIO.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
TrueNAS does not support adding software packages, nor adding specialized drivers for less common hardware. TrueNAS is not a general purpose OS, (regardless of what people may think), It is more of a firmware designed for more common hardware and NAS usage.

To put it another way, their is no perfect cost free software for NAS today. Even the ones that take money all have quirks, limitations and risks.


This may not be the answer people want to hear, but it is what it is as far as I know. You can always put in a feature request for iX staff to see about adding the Linux drivers for this Fusion-IO ioDrive. Not saying it will be accepted, but no harm in trying.
 
Last edited:
Joined
Jul 18, 2022
Messages
4
Did this get figured out in the end? Currently mulling a TrueNAS build, and have a FusionIO.
There is a small VSL porting community if you follow those links in that GitHub above you can find them. You can use those methods to get it working, however do know that it won't present in the GUI nor be something folks here are likely to help you with if you have an issue. It's entering the arkane realms at this point. The Serve the home forums have some very dedicated folks that also have SME on FusionIO devices you can check out. IMO if you want to use these old but gold devices, you should consider running bare metal ZFS off a standard distro. As an owner of 3 Sandisk 3.2TB PX600's I think supporting the driver mix to make these work is more effort then I would want to see team blue spend valuable time on at this point.
 

sybreeder

Explorer
Joined
Aug 15, 2013
Messages
75
Top