Intermittent Disconnections when Using iSCSI on RHEL/Rocky/AlmaLinux

Audience
Public
Content Type
Source Type
Knowledge Base

Intermittent Disconnections when Using iSCSI on RHEL/Rocky/AlmaLinux

KB0023063
Environment

iSCSI on RHEL/Rocky/AlmaLinux

Symptoms
  • Sessions drop and reconnect
  • I/O errors in logs
  • Performance degradation
Cause
  1. Network issues
  2. Overloaded network
  3. Timeout settings too aggressive
Resolution

Diagnostic Steps:

# Monitor connection state
watch -n 1 'iscsiadm -m session'

# Check session statistics
iscsiadm -m session -P 3

# Check system logs
journalctl -f | grep -i "iscsi\|multipath"

# Monitor packet drops
ip -s link show | grep -A 5 "ens1f"
  1. Network issues:
    • Cable problems
    • Switch port errors
    • MTU mismatch
  2. Overloaded network:
    • Check for bandwidth saturation
    • Verify QoS settings
  3. Timeout settings too aggressive:
    • Increase timeout values
    • Check replacement_timeout (default: 120s)