Searched refs:TESTPOOL1 (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dcleanup.ksh30 poolexists $TESTPOOL1 && \
31 destroy_pool $TESTPOOL1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dcleanup.ksh30 poolexists $TESTPOOL1 && \
31 destroy_pool $TESTPOOL1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_004_pos.ksh53 datasetexists $TESTPOOL1/$TESTVOL && \
54 log_must zfs destroy -f $TESTPOOL1/$TESTVOL
55 poolexists $TESTPOOL1 && \
56 destroy_pool "$TESTPOOL1"
69 create_pool "$TESTPOOL1" "${disk}s${SLICE1}"
70 log_must poolexists "$TESTPOOL1"
71 log_must zfs create -V $VOLSIZE $TESTPOOL1/$TESTVOL
73 log_must zpool add "$TESTPOOL" /dev/zvol/dsk/$TESTPOOL1/$TESTVOL
75 log_must vdevs_in_pool "$TESTPOOL" "/dev/zvol/dsk/$TESTPOOL1/$TESTVOL"
H A Dzpool_add_006_pos.ksh49 poolexists $TESTPOOL1 && \
50 destroy_pool $TESTPOOL1
65 create_pool "$TESTPOOL1" "$TESTDIR/file.00"
70 log_must zpool add -f "$TESTPOOL1" $vdevs_list
71 log_must vdevs_in_pool "$TESTPOOL1" "$vdevs_list"
75 log_mustnot zpool add -f "$TESTPOOL1" ${TESTDIR}/broken_file
76 log_mustnot vdevs_in_pool "$TESTPOOL1" "${TESTDIR}/broken_file"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_features_002_neg.ksh49 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
58 log_must zpool create $TESTPOOL1 $VDEV0
59 log_must zpool export $TESTPOOL1
62 log_must zhack -d $DEVICE_DIR feature enable $TESTPOOL1 $feature
66 log_must zhack -d $DEVICE_DIR feature ref $TESTPOOL1 $feature
69 log_mustnot zpool import -d $DEVICE_DIR $TESTPOOL1
72 log_mustnot eval "zpool import -d $DEVICE_DIR $TESTPOOL1 | grep readonly"
73 log_mustnot poolexists $TESTPOOL1
76 log_must eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \
[all...]
H A Dzpool_import_features_003_pos.ksh52 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
61 log_must zpool create $TESTPOOL1 $VDEV0
62 log_must zpool export $TESTPOOL1
65 log_must zhack -d $DEVICE_DIR feature enable -r $TESTPOOL1 $feature
69 log_must zhack -d $DEVICE_DIR feature ref $TESTPOOL1 $feature
72 log_mustnot zpool import -d $DEVICE_DIR $TESTPOOL1
75 log_must eval "zpool import -d $DEVICE_DIR $TESTPOOL1 | grep readonly"
76 log_mustnot poolexists $TESTPOOL1
79 log_mustnot eval "zpool import -d $DEVICE_DIR $TESTPOOL1 \
[all...]
H A Dzpool_import_features_001_pos.ksh47 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
56 log_must zpool create $TESTPOOL1 $VDEV0
57 log_must zpool export $TESTPOOL1
60 log_must zhack -d $DEVICE_DIR feature enable $TESTPOOL1 $feature
63 log_must zpool import -d $DEVICE_DIR $TESTPOOL1
65 state=$(zpool list -Ho unsupported@$feature $TESTPOOL1)
H A Dzpool_import_011_neg.ksh52 destroy_pool $TESTPOOL1
66 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
68 typeset target=$TESTPOOL1
73 log_must zpool destroy $TESTPOOL1
H A Dzpool_import_004_pos.ksh51 destroy_pool $TESTPOOL1
65 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
66 typeset guid=$(get_config $TESTPOOL1 pool_guid)
67 typeset target=$TESTPOOL1
72 log_must zpool destroy $TESTPOOL1
80 log_must zpool destroy -f $TESTPOOL1
86 log_must zpool destroy -f $TESTPOOL1
H A Dzpool_import_005_pos.ksh49 destroy_pool $TESTPOOL1
63 log_must zpool create $TESTPOOL1 $VDEV0 $VDEV1 $VDEV2
64 typeset guid=$(get_config $TESTPOOL1 pool_guid)
65 typeset target=$TESTPOOL1
70 log_must zpool destroy $TESTPOOL1
75 log_must zpool destroy -f $TESTPOOL1
83 log_must zpool destroy -f $TESTPOOL1
H A Dzpool_import_007_pos.ksh52 destroy_pool $TESTPOOL1
66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDIV3
67 typeset guid=$(get_config $TESTPOOL1 pool_guid)
68 typeset target=$TESTPOOL1
73 log_must zpool destroy $TESTPOOL1
77 log_must zpool destroy $TESTPOOL1
82 log_must zpool destroy $TESTPOOL1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_expand/
H A Dzpool_expand_002_pos.ksh54 if poolexists $TESTPOOL1; then
55 log_must zpool destroy $TESTPOOL1
74 log_must zpool create $TESTPOOL1 $type /dev/zvol/dsk/$VFS/vol1 \
77 typeset autoexp=$(get_pool_prop autoexpand $TESTPOOL1)
80 log_fail "zpool $TESTPOOL1 autoexpand should off but is " \
83 typeset prev_size=$(get_pool_prop size $TESTPOOL1)
84 typeset zfs_prev_size=$(zfs get -p avail $TESTPOOL1 | tail -1 | \
92 log_must zpool online -e $TESTPOOL1 /dev/zvol/dsk/$VFS/vol$i
99 typeset expand_size=$(get_pool_prop size $TESTPOOL1)
100 typeset zfs_expand_size=$(zfs get -p avail $TESTPOOL1 | tai
[all...]
H A Dzpool_expand_003_neg.ksh53 if poolexists $TESTPOOL1; then
54 log_must zpool destroy $TESTPOOL1
73 log_must zpool create $TESTPOOL1 $type /dev/zvol/dsk/$VFS/vol1 \
76 typeset autoexp=$(get_pool_prop autoexpand $TESTPOOL1)
78 log_fail "zpool $TESTPOOL1 autoexpand should off but is " \
82 typeset prev_size=$(get_pool_prop size $TESTPOOL1)
93 zpool history -il $TESTPOOL1 | grep "pool '$TESTPOOL1' size:" | \
97 log_fail "pool $TESTPOOL1 is not autoexpand after LUN " \
101 typeset expand_size=$(get_pool_prop size $TESTPOOL1)
[all...]
H A Dzpool_expand_001_pos.ksh53 if poolexists $TESTPOOL1; then
54 log_must zpool destroy $TESTPOOL1
74 log_must zpool create -o autoexpand=on $TESTPOOL1 $type \
78 typeset autoexp=$(get_pool_prop autoexpand $TESTPOOL1)
80 log_fail "zpool $TESTPOOL1 autoexpand should on but is $autoexp"
83 typeset prev_size=$(get_pool_prop size $TESTPOOL1)
84 typeset zfs_prev_size=$(zfs get -p avail $TESTPOOL1 | tail -1 | \
95 typeset expand_size=$(get_pool_prop size $TESTPOOL1)
96 typeset zfs_expand_size=$(zfs get -p avail $TESTPOOL1 | tail -1 | \
99 log_note "$TESTPOOL1
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_002_pos.ksh48 if poolexists $TESTPOOL1; then
49 log_must zpool destroy $TESTPOOL1
66 if poolexists $TESTPOOL1; then
67 zpool destroy $TESTPOOL1
71 -O groupquota@$QGROUP=$GQUOTA_SIZE $TESTPOOL1 $pool_vdev
74 $TESTPOOL1 > /dev/null 2>&1"
76 log_must check_quota "userquota@$QUSER1" $TESTPOOL1 "$UQUOTA_SIZE"
77 log_must check_quota "groupquota@$QGROUP" $TESTPOOL1 "$GQUOTA_SIZE"
80 -o groupquota@$QGROUP=$GQUOTA_SIZE $TESTPOOL1/fs
83 $TESTPOOL1 > /de
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh56 datasetexists $TESTPOOL1 || log_must zpool import -d $mntpnt $TESTPOOL1
57 datasetexists $TESTPOOL1 && destroy_pool $TESTPOOL1
81 log_must zpool create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4
84 log_must zpool export $TESTPOOL1
85 log_must zpool import -d $mntpnt $TESTPOOL1
87 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4
88 log_must zpool detach $TESTPOOL1 $vdev4
89 log_must zpool export $TESTPOOL1
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_004_pos.ksh50 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
67 create_pool "$TESTPOOL1" $vdevs_list
68 log_must vdevs_in_pool "$TESTPOOL1" "$vdevs_list"
70 if poolexists $TESTPOOL1; then
71 destroy_pool $TESTPOOL1
78 log_mustnot zpool create -f $TESTPOOL1 $vdevs_list
H A Dzpool_create_011_neg.ksh52 for pool in $TESTPOOL $TESTPOOL1
91 "$TESTPOOL1 $pooldev1" \
92 "$TESTPOOL1 $TESTDIR0/$FILEDISK0" \
93 "$TESTPOOL1 mirror mirror $mirror1 mirror $mirror2" \
94 "$TESTPOOL1 raidz raidz $raidz1 raidz $raidz2" \
95 "$TESTPOOL1 raidz1 raidz1 $raidz1 raidz1 $raidz2" \
96 "$TESTPOOL1 mirror raidz $raidz1 raidz $raidz2" \
97 "$TESTPOOL1 mirror raidz1 $raidz1 raidz1 $raidz2" \
98 "$TESTPOOL1 raidz mirror $mirror1 mirror $mirror2" \
99 "$TESTPOOL1 raidz
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/online_offline/
H A Donline_offline_003_neg.ksh47 if poolexists $TESTPOOL1; then
48 destroy_pool $TESTPOOL1
66 create_pool $TESTPOOL1 $specials_list
67 log_must zfs create $TESTPOOL1/$TESTFS1
68 log_must zfs set mountpoint=$TESTDIR1 $TESTPOOL1/$TESTFS1
74 log_mustnot zpool offline $TESTPOOL1 ${disk[$i]}
75 check_state $TESTPOOL1 ${disk[$i]} "online"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_003_pos.ksh57 if poolexists $TESTPOOL1; then
58 destroy_pool $TESTPOOL1
108 log_must zpool detach $TESTPOOL1 $disk1
118 log_must zpool export $TESTPOOL1
119 log_must zpool import -d $TESTDIR $TESTPOOL1
120 log_must zfs umount $TESTPOOL1/$TESTFS1
121 log_must zdb -cdui $TESTPOOL1/$TESTFS1
122 log_must zfs mount $TESTPOOL1/$TESTFS1
134 create_pool $TESTPOOL1 mirror $specials_list
135 log_must zfs create $TESTPOOL1/
[all...]
H A Dreplacement_001_pos.ksh57 if poolexists $TESTPOOL1; then
58 destroy_pool $TESTPOOL1
110 log_must zpool replace $opt $TESTPOOL1 $disk1 $disk2
120 log_must zpool export $TESTPOOL1
121 log_must zpool import -d $TESTDIR $TESTPOOL1
122 log_must zfs umount $TESTPOOL1/$TESTFS1
123 log_must zdb -cdui $TESTPOOL1/$TESTFS1
124 log_must zfs mount $TESTPOOL1/$TESTFS1
144 create_pool $TESTPOOL1 $type $specials_list
145 log_must zfs create $TESTPOOL1/
[all...]
H A Dreplacement_002_pos.ksh57 if poolexists $TESTPOOL1; then
58 destroy_pool $TESTPOOL1
110 log_must zpool attach $opt $TESTPOOL1 $disk1 $disk2
120 log_must zpool export $TESTPOOL1
121 log_must zpool import -d $TESTDIR $TESTPOOL1
122 log_must zfs umount $TESTPOOL1/$TESTFS1
123 log_must zdb -cdui $TESTPOOL1/$TESTFS1
124 log_must zfs mount $TESTPOOL1/$TESTFS1
143 create_pool $TESTPOOL1 mirror $specials_list
144 log_must zfs create $TESTPOOL1/
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inuse/
H A Dinuse_007_pos.ksh54 poolexists $TESTPOOL1 || zpool import $TESTPOOL1 >/dev/null 2>&1
56 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
101 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
102 log_must zpool export $TESTPOOL1
104 log_must zpool import $TESTPOOL1
105 destroy_pool $TESTPOOL1
117 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
118 log_must zpool export $TESTPOOL1
[all...]
H A Dinuse_009_pos.ksh50 poolexists $TESTPOOL1 || zpool import $TESTPOOL1 >/dev/null 2>&1
52 poolexists $TESTPOOL1 && destroy_pool $TESTPOOL1
93 create_pool $TESTPOOL1 ${vdevs[i]} $vslices spare $sslices
94 log_must zpool export $TESTPOOL1
107 create_pool $TESTPOOL1 ${vdevs[i]} $vdisks spare $sdisks
108 log_must zpool export $TESTPOOL1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_003_pos.ksh50 if poolexists $TESTPOOL1; then
51 destroy_pool $TESTPOOL1

Completed in 149 milliseconds

123