targets revision 1.1
11.1Sagc# $NetBSD: targets,v 1.1 2006/02/08 19:02:59 agc Exp $ 21.1Sagc# 31.1Sagc# Structure of this file: 41.1Sagc# 51.1Sagc# + an extent is a straight (offset, length) pair of a file or device 61.1Sagc# it's the lowest common storage denominator 71.1Sagc# at least one is needed 81.1Sagc# + a device is made up of one or more extents or other devices 91.1Sagc# devices can be added in a hierachical manner, to enhance resilience 101.1Sagc# + in this example, no device definitions are necessary, as the target 111.1Sagc# will just use a simple extent for persistent storage 121.1Sagc# + a target is made up of 1 or more devices 131.1Sagc# The code does not support RAID1 recovery at present 141.1Sagc 151.1Sagc# Simple file showing 1 extent, mapped straight into 1 target 161.1Sagc 171.1Sagc# extent file or device start length 181.1Sagcextent0 /tmp/iscsi-target0 0 100MB 191.1Sagc 201.1Sagc# target storage netmask 211.1Sagctarget0 extent0 0.0.0.0/0 22