Note:
For detailed explanations, alternative configurations, and troubleshooting: See FC Best Practices
Important:
This guide is for reference only. Always consult official vendor documentation for your distribution. Test thoroughly in a lab environment before production use.
Prerequisite:
-
Debian 11+ or Ubuntu 20.04 LTS+
-
Fibre Channel HBA installed and cabled to the FC fabric
-
Fabric zoning and volume presentation configured by your SAN administrator
-
Root or sudo access
Note:
Quick Reference
| Command | Description |
|---|---|
cat /sys/class/fc_host/host*/port_name |
List HBA WWPNs |
cat /sys/class/fc_host/host*/port_state |
Check HBA port link state |
cat /sys/class/fc_host/host*/speed |
Check negotiated link speed |
sudo rescan-scsi-bus.sh |
Scan for newly presented LUNs |
lsscsi |
List all SCSI/FC devices |
sudo multipath -ll |
Show multipath devices and path status |
sudo multipathd reconfigure |
Reload multipath configuration |
sudo systemctl restart multipathd |
Restart multipath daemon |
For production deployments, see FC Best Practices for:
FC architecture and fabric redundancy
HBA driver tuning (queue depth, devloss timers)
Multipath configuration details
AppArmor considerations
Monitoring and security