ISCSI

iSCSI is a software platform used in storage area networks (SANs) to connect storage devices via ethernet connection to a server.

This article is broken into to sections:
 * iSCSI Initiator
 * iSCSI Target

iSCSI Initiator
An iSCSI initiator is a machine that connects to a storage machine on the network. The opposite side of the connection, the storage machine itself, is referred to as the iSCSI Target. Multiple iSCSI initiators can be pointed to one iSCSI Target.

Kernel configuration
In-kernel support can be enabled as a built in module, but make modules_install will need to be ran for it to appear in

On iscsid startup, modprobe can confirm it is indeed available.

Installation
After USE flags have been considered, emerge the iSCSI package:

Configuration
Start the iSCSI daemon:

Discover the targetnames:

Add a target to the configuration:

And tell the iscid service to start a target automatically on startup

iSCSI Target
An iSCSI Targets offers storage via iSCSI to a network. An Initiator connects to a target to use the storage on the target.