]> git.proxmox.com Git - mirror_zfs.git/commit
Add zconfig test for adding and removing vdevs
authorNed Bass <bass6@llnl.gov>
Mon, 18 Oct 2010 18:07:20 +0000 (11:07 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Oct 2010 19:41:57 +0000 (12:41 -0700)
commitd4055aac3c4fdb6c1b5b1a7b73d20ff716e0a711
tree261457364779062abd590f9f7f36ead40af925ea
parent4682b8c14efdeae26808195422a763b896fef037
Add zconfig test for adding and removing vdevs

This test performs a sanity check of the zpool add and remove commands.  It
tests adding and removing both a cache disk and a log disk to and from a zpool.
Usage of both a shorthand device path and a full path is covered.  The test
uses a scsi_debug device as the disk to be added and removed.  This is done so
that zpool will see it as a whole disk and partition it, which it does not
currently done for loopback devices.  We want to verify that the manipulation
done to whole disks paths to hide the parition information does not break the
add/remove interface.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
scripts/zconfig.sh