Mostly gleaned from the instructions at https://wiki.archlinux.org/index.php/ISCSI_Initiator to setup the initiator.
Overview of the steps:
server1 is serving the targets and has IP 10.1.1.1/24 desktop1 is initiator. Both machines are in the 10.1.1.0/24 subnet.
- installed netbsd-iscsi (
yum install netbsd-iscsi
in my case for Centos 6.5) - updated the netmask in
/etc/iscsi/targets
to be10.1.1.0/24
. - created the empty file that would be the backing store for the target with
dd if=/dev/zero of=/tmp/iscsi-target0 bs=1024 count=100000
(this matches what's in the sample config in/etc/iscsi/targets
)