diff options
author | Brian Behlendorf <[email protected]> | 2010-11-05 11:43:20 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-11-08 14:03:36 -0800 |
commit | cb39a6c6aa91531a641232e7d0c6a4d63836b0cc (patch) | |
tree | fb01b741b6d481bcc1e185de39d6c19ee40444e7 /META | |
parent | 3ee56c292bbcd7e6b26e3c2ad8f0e50eee236bcc (diff) |
Replace custom zpool configs with generic configs
To streamline testing I have in the past added several custom configs
to the zpool-config directory. This change reverts those custom configs
and replaces them with three generic config which can do the same thing.
The generic config behavior can be set by setting various environment
variables when calling either the zpool-create.sh or zpios.sh scripts.
For example if you wanted to create and test a single 4-disk Raid-Z2
configuration using disks [A-D]1 with dedicated ZIL and L2ARC devices
you could run the following.
$ ZIL="log A2" L2ARC="cache B2" RANKS=1 CHANNELS=4 LEVEL=2 \
zpool-create.sh -c zpool-raidz
$ zpool status tank
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
A1 ONLINE 0 0 0
B1 ONLINE 0 0 0
C1 ONLINE 0 0 0
D1 ONLINE 0 0 0
logs
A2 ONLINE 0 0 0
cache
B2 ONLINE 0 0 0
errors: No known data errors
Diffstat (limited to 'META')
0 files changed, 0 insertions, 0 deletions