Storage · Storage Interfaces
iSCSI
Cheat sheet · https://pcornel.dk/topic.php?topic=3908
Answer
iSCSI carries SCSI commands over TCP/IP, letting hosts use remote LUNs over ordinary Ethernet. An initiator logs into a target IQN, ideally over dedicated, redundant networks with CHAP and multipath.
Remember
- Initiator logs into target IQN over TCP 3260.
- Use dedicated networks and multipath.
- CHAP adds authentication.
First checks
iscsiadm -m session -P 3— sessions and devicesiscsiadm -m discovery -t sendtargets -p <ip>— discoverping -M do -s 8972 <target>— jumbo path
Verify in this order
initiator → TCP 3260 → target → LUN
Where it usually breaks
First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3908