You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent kernel NVMe subsystem registration lock contention when staging
many volumes simultaneously on a single node. Uses a channel-based
semaphore (default: 5) configurable via --max-concurrent-nvme-connects
flag and node.maxConcurrentNVMeConnects Helm value. Adds Prometheus
metrics for concurrent/waiting connect operations.
Co-authored-by: Ashton Kinslow <github@ashtonkinslow.com>
showVersion=flag.Bool("show-version", false, "Show version and exit")
31
-
debug=flag.Bool("debug", false, "Enable debug logging (equivalent to -v=4)")
32
-
enableNVMeDiscovery=flag.Bool("enable-nvme-discovery", false, "Run nvme discover before nvme connect (default: false, all connection params are known from volume context)")
showVersion=flag.Bool("show-version", false, "Show version and exit")
31
+
debug=flag.Bool("debug", false, "Enable debug logging (equivalent to -v=4)")
32
+
enableNVMeDiscovery=flag.Bool("enable-nvme-discovery", false, "Run nvme discover before nvme connect (default: false, all connection params are known from volume context)")
33
+
maxConcurrentNVMeConnects=flag.Int("max-concurrent-nvme-connects", 5, "Maximum number of concurrent NVMe-oF connect operations per node (limits kernel NVMe subsystem lock contention)")
7. **NVMe-oF volumes timing out with many concurrent mounts**
621
+
- Symptom: `signal: killed`in node plugin logs when staging many NVMe-oF volumes simultaneously
622
+
- Cause: Too many concurrent `nvme connect` processes overwhelming the kernel's NVMe subsystem registration lock
623
+
- Fix: The driver limits concurrency to 5 by default (`node.maxConcurrentNVMeConnects`). Lower this value if you still see timeouts, or increase it if mounts are too slow on fast hardware
624
+
625
+
8. **iSCSI connection failures**
621
626
- Verify open-iscsi is installed: `iscsiadm --version`
622
627
- Check iscsid service is running: `systemctl status iscsid`
623
628
- Verify iSCSI service is enabled on TrueNAS
624
629
- Check firewall allows port 3260 (default iSCSI port)
0 commit comments