freenas-proxmox/perl5
Kevin Adams c6f662b88c fix: rescan iSCSI session in _wait_for_device to discover new LUNs
After TrueNAS reloads its iSCSI service, the PVE host's existing session
does not automatically pick up new LUNs. Adding iscsiadm --rescan every 5s
during the device wait loop lets the kernel discover newly exported LUNs
without requiring a full session logout/login.

Fixes the 30s hotplug timeout seen when adding a disk to a running VM.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 22:28:26 -04:00
..
PVE/Storage/Custom fix: rescan iSCSI session in _wait_for_device to discover new LUNs 2026-05-23 22:28:26 -04:00
REST Update comments/doc of the methods changes 2020-07-14 17:32:53 -04:00