ISCSI_INITIATOR(4)
β¨ ISCSI_INITIATOR(4) β¨
okay so bestie, welcome to the Kernel Interfaces Manual π this is iscsi_initiator(4) and it's literally the kernel driver for the iSCSI protocol. sit down, get comfy, we're doing this π«Ά
π NAME π
iscsi_initiator β kernel driver for the iSCSI protocol
πΈ SYNOPSIS πΈ
so if you wanna compile this driver into the kernel (yes, into the kernel, main character energy π), you drop these lines into your kernel configuration file:
device iscsi_initiator
or, alternatively, if you'd rather load the driver as a module at boot time, you put this line in loader.conf(5):
iscsi_initiator_load="YES"
pick your fighter, both are valid π
π¦ DESCRIPTION π¦
okay so first things first and I need you to hear me on this one: this driver, along with its userspace counterpart iscontrol(8), is obsolete. like, not "kinda old" obsolete, actually obsolete. users are advised to use iscsi(4) instead. periodt. π
now for the lore: the iscsi_initiator implements the kernel side of the Internet SCSI (iSCSI) network protocol standard. its userland companion is iscontrol(8), and together they permit access to remote virtual SCSI devices via cam(4). iconic behaviour honestly β¨
π SYSCTL VARIABLES π
here's the knob situation, bestie:
debug.iscsi_initiatorβ set the debug-level.0means no debugging,9for maximum. so like, 0 to 9, dial it up as needed π₯net.iscsi.isidβ the initiator part of the Session Identifier.kern.cam.cam_srch_hi=1β allow search above LUN 7 for SCSI3 and greater devices.
and the following ones are informative only (they're just telling you stuff, not letting you set stuff, iykyk):
net.iscsi.driver_versionβ the current version of the driver.net.iscsi.sessionsβ the number of current active sessions.net.iscsi.n.targetnameβ is the targe name of session n.net.iscsi.n.targeaddressβ is the IP address of the target of session n.net.iscsi.n.statsβ are some statistics for session nnet.iscsi.n.pidβ is the process id of the userland side of session n, seeiscontrol(8).
ngl thenin those last four is a placeholder for the session number, so likenet.iscsi.3.targetnamevibes. π§
π FILES π
the iscsi_initiator driver creates the following:
/dev/iscsiβ used to create new sessions./dev/iscsi%dβ for each new session.
so one of them is the factory and the rest are the little session babies πΈ
β SEE ALSO β
cam(4)camcontrol(8)iscontrol(8)
π STANDARDS π
iSCSI RFC 3720
π AUTHORS π
This software was written by Daniel Braniss <danny@cs.huji.ac.il> π give him his flowers, fr fr.
π BUGS π
The lun discovery method is old-fashioned.
and like, that's it, that's the whole bug note. she's old-fashioned, your honour π
and that's the whole page bestie, you ate it up π
this was the ISCSI_INITIATOR(4) page from the Debian distribution, dated October 9, 2014 β mwah, go forth and use iscsi(4) instead πβ¨π¦
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2007-2010 Daniel Braniss <danny@cs.huji.ac.il>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms