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:
What do you guys think?
Thanks for reading!
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:
- 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.
- 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.
- 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!