]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Remove partition from vdev name in zfault.sh
authorNed Bass <bass6@llnl.gov>
Tue, 23 Nov 2010 19:19:57 +0000 (11:19 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 29 Nov 2010 18:53:53 +0000 (10:53 -0800)
As of the 0.5.2 tag, names of whole-disk vdevs must be specified to
the command line tools without partition identifiers.  This commit
fixes a 'zpool online' command in zfault.sh that incorrectly includes
he partition in the vdev name, causing test 9 to fail.

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

index 07a411a0e2da67162bd7c0913623484dde81fa01..da4f16f4f077a75a9506db04c1f1f08ed8d1012f 100755 (executable)
@@ -916,7 +916,7 @@ test_write_timeout_hard() {
        # resilvered without error and we should see minimally the zfs.io,
        # zfs.statechange (VDEV_STATE_HEALTHY (0x7)), and zfs.resilver.*
        # events posted.
-       ${ZPOOL} online ${POOL_NAME} ${VDEV_FAULTY}1 || fail 51
+       ${ZPOOL} online ${POOL_NAME} ${VDEV_FAULTY} || fail 51
        sleep 3
        test `zpool_event "zfs.io" "zio_err"` = "0x5" || fail 52
        test `zpool_event "zfs.statechange" "vdev_state"` = "0x7" || fail 53