view usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg @ 21387:61706a713008

10952 defer new resilvers and misc. resilver-related fixes Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: Arkadiusz BubaƂa <arkadiusz.bubala@open-e.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Don Brady <don.brady@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Giuseppe Di Natale <guss80@gmail.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
author Tom Caputi <tcaputi@datto.com>
date Fri, 17 May 2019 14:34:57 +0000
parents
children
line wrap: on
line source

#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright (c) 2016, 2017 by Intel Corporation. All rights reserved.
# Copyright (c) 2017 Open-E, Inc. All Rights Reserved.
# Copyright 2019 Joyent, Inc.
#

. $STF_SUITE/include/libtest.shlib

verify_runnable "global"

export DISK_ARRAY_NUM=$(echo ${DISKS} | nawk '{print NF}')
export DISKSARRAY=$DISKS
export SMALL_FILE_SIZE=10
export LARGE_FILE_SIZE=80
export MAXTIMEOUT=40

export SDSIZE=256
export SDHOSTS=1
export SDTGTS=1
export SDLUNS=1

export DISK1=$(echo $DISKS | nawk '{print $1}')
export DISK2=$(echo $DISKS | nawk '{print $2}')
export DISK3=$(echo $DISKS | nawk '{print $3}')

case "$(uname)" in
Linux)
	set_slice_prefix
	set_device_dir
	devs_id[0]=$(get_persistent_disk_name $DISK1)
	devs_id[1]=$(get_persistent_disk_name $DISK2)
	devs_id[2]=$(get_persistent_disk_name $DISK3)
	export devs_id
	;;
SunOS)
	DEV_DSKDIR="/dev"
	;;
esac