summaryrefslogtreecommitdiff
path: root/external/bsd/iscsi/dist/src/examples/1.conf
blob: 0d27b4371a4422afe7928b75fa3228fdcd3ac327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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