Reconnecting
Restoring connection…
Reconnecting
Restoring connection…
iSCSI initiator
v0.1.3Inspect the host's iSCSI initiator (open-iscsi): active sessions, per-session detail (targets, connections, negotiated parameters), configured target nodes, and initiator interfaces. Read-only.
iscsiadm
Install
emisar pack install
fetches this pack, re-validates it, and verifies its content hash against the
--hash
below — the exact bytes this page was rendered against, so a tampered copy is
rejected — before copying it into the runner's packs dir. The command reloads a
running daemon itself; no manual restart.
sudo emisar pack install iscsi --hash sha256:28a5418001eb35dc2bf10bb666c7da23787da29d456ce1ad215aace3f8f331d8
Actions 4 total
View on GitHub-
iscsi.ifaces exec low
iscsiadm -m iface
List initiator interfaces (the iface bindings sessions run over).
View source on GitHub -
iscsi.nodes exec low
iscsiadm -m node
List configured / discovered target nodes in the initiator database.
View source on GitHub -
iscsi.session_detail exec low
iscsiadm -m session -P 3
Show full per-session detail at print level 3 — target IQN, portal, session and connection state, negotiated parameters, and the attached SCSI disks.
View source on GitHub -
iscsi.sessions exec low
iscsiadm -m session
List active iSCSI sessions — one line per session (transport, target IQN, sid). Returns nothing and succeeds when there are no active sessions (iscsiadm exits 21 in that case, which is treated as success, not failure).
View source on GitHub