xref: /netbsd-src/etc/iscsi/targets (revision cef8759bd76c1b621f8eab8faa6f208faabc2e15)
1# $NetBSD: targets,v 1.2 2006/02/16 19:30:57 agc Exp $
2#
3# Structure of this file:
4#
5# + an extent is a straight (offset, length) pair of a file or device
6#   it's the lowest common storage denominator
7#   at least one is needed
8# + a device is made up of one or more extents or other devices
9#   devices can be added in a hierachical manner, to enhance resilience
10# + in this example, no device definitions are necessary, as the target
11#   will just use a simple extent for persistent storage
12# + a target is made up of 1 or more devices
13# The code does not support RAID1 recovery at present
14
15# Simple file showing 1 extent, mapped straight into 1 target
16
17# extent	file or device		start		length
18extent0		/tmp/iscsi-target0	0		100MB
19
20# target	flags	storage		netmask
21target0		rw	extent0		0.0.0.0/0
22