mirror_zfs/scripts
Brian Behlendorf cb39a6c6aa 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
2010-11-08 14:03:36 -08:00
..
zpios-profile Add FAILFAST support 2010-10-12 14:55:02 -07:00
zpios-test Add FAILFAST support 2010-10-12 14:55:02 -07:00
zpool-config Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-layout Add FAILFAST support 2010-10-12 14:55:02 -07:00
common.sh.in Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
Makefile.am Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
Makefile.in Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
zconfig.sh Add zconfig test for adding and removing vdevs 2010-10-22 12:41:57 -07:00
zfault.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
zfs.sh Wait up to timeout seconds for udev device 2010-09-11 20:54:41 -07:00
zpios-sanity.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios-survey.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpios.sh Add linux zpios support 2010-08-31 13:42:01 -07:00
zpool-create.sh Add build system 2010-08-31 13:41:27 -07:00