Connections Don't Persist After Reboot When Using NVMe-TCP on RHEL/Rocky/AlmaLinux
KB0022961
Pure Product
FlashArray
Environment
NVMe-TCP on RHEL/Rocky/AlmaLinux
Symptoms
- Connections work manually but don’t auto-connect on boot
- Storage not available after reboot
Resolution
NVMe-TCP:
# Verify nvmf-autoconnect service exists and is enabled
systemctl status nvmf-autoconnect.service
# Enable auto-connect
systemctl enable nvmf-autoconnect.service
# Or create persistent connection via discovery.conf
cat >> /etc/nvme/discovery.conf << EOF
--transport=tcp --traddr=<portal_ip> --trsvcid=8009
EOF
systemctl restart nvmf-autoconnect
iSCSI:
# Verify startup mode is automatic
iscsiadm -m node -T <target_iqn> -p <portal_ip> -o show | grep startup
# Set to automatic
iscsiadm -m node -T <target_iqn> -p <portal_ip> -o update -n node.startup -v automatic
# Enable iSCSI service
systemctl enable iscsid iscsi