1# $NetBSD: targets,v 1.1 2009/06/22 01:51:02 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# extents file start length 18extent0 /tmp/iscsi-target0 0 100MB 19 20# target flags storage netmask 21target0 rw extent0 10.4.0.0/16 22