TrueNAS 13 WebUI only detects multipath devices on boot

Joined
Jul 3, 2015
Messages
926
Historically in FreeNAS/TrueNAS multipath disks could be added and renamed on a live system and the WebUI would detect any changes however in TrueNAS 13 this appears not to be the case and only at boot does TrueNAS UI detect multipath devices. Has anyone else noticed this and if so do you have any idea as to why?

I can manually rename a multipath device and the system can see it and use it on the CLI however the WebUI can't see it till reboot. I think there used to be a command back in the day like service ix-multipath start to give it a kick although I never used it as it just seemed to work. I have also tried another old trick /usr/local/bin/midclt call notifier.multipath_sync but this doesn't work either.

Anyway I would be interested to hear from anyone who has seen this or better still the iX team as to how this could be addressed as having to reboot your system every time you need to perform a disk swap would make hot-swap rather pointless.

Thanks
 
Last edited:

Alko

Cadet
Joined
Aug 11, 2022
Messages
2
It looks like the approach has changed a lot. I also can't find any clear documentation about multipath in Core version 13.
 
Joined
Jul 3, 2015
Messages
926
I figured it out /usr/local/bin/midclt call disk.multipath_sync
 

StorageCurious

Explorer
Joined
Sep 28, 2022
Messages
60
I figured it out /usr/local/bin/midclt call disk.multipath_sync

Thank you for this thread - I have tried this, and the disks showed up in gmultipath CLI command after running this, but not in the GUI. I can live with that for now.

More interesting, the two disks showed up as DEGRADED with only one path ACTIVE and the other nowhere to be found. The two paths (for each disk) show up in camcontrol devlist with identical serial numbers.

Have you experienced this too?
 
Joined
Jul 3, 2015
Messages
926
No I haven’t seen that behaviour. Once I figure out the above command all worked well. I can defo see disks in UI so I would guess you have another issue at play.
 

StorageCurious

Explorer
Joined
Sep 28, 2022
Messages
60
No I haven’t seen that behaviour. Once I figure out the above command all worked well. I can defo see disks in UI so I would guess you have another issue at play.

For future reference and to help others:
I was running badblocks (burn-in) on the drives already. As soon as I killed that process, the multipathing appeared without DEGRADED in the CLI, not not in the UI. Maybe the system couldn't detect multipathing while this was going on.

To have the disks appear in the UI, I restarted the middleware. (service middlewared restart)

Now everything works, and the multipath disks are available to add to pools.
 
Top