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> |
||
|---|---|---|
| .. | ||
| PVE/Storage/Custom | ||
| REST | ||