NetBSD-5.0.2/dist/iscsi/src/examples/1.conf

# Simple file showing 1 extent, device and target

# extent
# name	storage			offset (in bytes) 	size
extent0	/tmp/iscsi-target0	0			100MB

# devices
# name	resilience	devices/extents
device0	RAID0		extent0

# targets
# name	device		netmask
target0	device0		10.4.0.0/16



# NB, in the above, the intermediate device definition is not necessary.
# It could have been simply:
extent1	/tmp/iscsi-target1	0			100MB
target1	extent1		10.4.0.0/16