You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# $NetBSD: targets,v 1.2 2006/03/04 21:53:16 agc Exp $
|
|
|
|
#
|
|
|
|
# Structure of this file:
|
|
|
|
#
|
|
|
|
# + an extent is a straight (offset, length) pair of a file or device
|
|
|
|
# it's the lowest common storage denominator
|
|
|
|
# at least one is needed
|
|
|
|
# + a device is made up of one or more extents or other devices
|
|
|
|
# devices can be added in a hierachical manner, to enhance resilience
|
|
|
|
# + in this example, no device definitions are necessary, as the target
|
|
|
|
# will just use a simple extent for persistent storage
|
|
|
|
# + a target is made up of 1 or more devices
|
|
|
|
# The code does not support RAID1 recovery at present
|
|
|
|
|
|
|
|
# Simple file showing 1 extent, mapped straight into 1 target
|
|
|
|
|
|
|
|
# extents file start length
|
|
|
|
extent0 /dev/sdb 0 20971520
|
|
|
|
extent1 /dev/sdc 0 20971520
|
|
|
|
extent2 /dev/sdd 0 20971520
|
|
|
|
|
|
|
|
# target flags storage netmask
|
|
|
|
target0 rw extent0 192.168.50.0/24
|
|
|
|
target1 rw extent1 192.168.50.0/24
|
|
|
|
target2 rw extent2 192.168.50.0/24
|