Home
last modified time | relevance | path

Searched refs:TESTPOOL (Results 201 – 225 of 883) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/
H A Dprivilege_001_pos.ksh65 log_mustnot su $ZFS_USER -c "zpool create $TESTPOOL $DISKS"
66 log_mustnot su $ZFS_USER -c "pfexec zpool create $TESTPOOL $DISKS"
70 log_must su $ZFS_USER -c "pfexec zpool create -f $TESTPOOL $DISKS"
73 log_mustnot su $ZFS_USER -c "zfs create $TESTPOOL/fs"
77 log_must su $ZFS_USER -c "pfexec zfs create $TESTPOOL/fs"
84 log_mustnot su $ZFS_USER -c "zpool destroy $TESTPOOL"
85 log_must su $ZFS_USER -c "pfexec zpool destroy $TESTPOOL"
89 log_mustnot su $ZFS_USER -c "pfexec zpool create -f $TESTPOOL $DISKS"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_split.ksh42 POOL2="${TESTPOOL}_split"
44 log_must zpool create -f $TESTPOOL mirror $DISK1 $DISK2
46 log_must zpool initialize $TESTPOOL $DISK1 $DISK2
47 orig_prog1="$(initialize_progress $TESTPOOL $DISK1)"
48 orig_prog2="$(initialize_progress $TESTPOOL $DISK2)"
51 log_must zpool split $TESTPOOL $TESTPOOL1 $DISK2
54 [[ "$(initialize_progress $TESTPOOL $DISK1)" -ge "$orig_prog1" ]] || \
56 log_mustnot eval "initialize_prog_line $TESTPOOL $DISK1 | grep suspended"
H A Dzpool_initialize_start_and_cancel_neg.ksh46 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3
47 log_must zpool initialize $TESTPOOL $DISK1
49 [[ -z "$(initialize_progress $TESTPOOL $DISK1)" ]] && \
52 log_mustnot zpool initialize -c $TESTPOOL $DISK2
53 log_mustnot zpool initialize -c $TESTPOOL $DISK2 $DISK3
55 log_mustnot zpool initialize -s $TESTPOOL $DISK2
56 log_mustnot zpool initialize -s $TESTPOOL $DISK2 $DISK3
58 log_mustnot zpool initialize $TESTPOOL $DISK1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_trim/
H A Dzpool_trim_split.ksh38 POOL2="${TESTPOOL}_split"
40 log_must zpool create -f $TESTPOOL mirror $DISK1 $DISK2
42 log_must zpool trim $TESTPOOL $DISK1 $DISK2
43 orig_prog1="$(trim_progress $TESTPOOL $DISK1)"
44 orig_prog2="$(trim_progress $TESTPOOL $DISK2)"
47 log_must zpool split $TESTPOOL $TESTPOOL1 $DISK2
50 [[ "$(trim_progress $TESTPOOL $DISK1)" -ge "$orig_prog1" ]] || \
52 log_mustnot eval "trim_prog_line $TESTPOOL $DISK1 | grep suspended"
H A Dzpool_trim_start_and_cancel_neg.ksh42 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3
43 log_must zpool trim -r 128M $TESTPOOL $DISK1
45 [[ -z "$(trim_progress $TESTPOOL $DISK1)" ]] && \
48 log_mustnot zpool trim -c $TESTPOOL $DISK2
49 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3
51 log_mustnot zpool trim -s $TESTPOOL $DISK2
52 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3
54 log_mustnot zpool trim $TESTPOOL $DISK1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/upgrade/
H A Dupgrade_readonly_pool.ksh45 log_must zpool create -d -m $TESTDIR $TESTPOOL $TMPDEV
52 log_must zpool set feature@userobj_accounting=enabled $TESTPOOL
53 log_must test "enabled" == "$(get_pool_prop 'feature@userobj_accounting' $TESTPOOL)"
56 log_must zfs set mountpoint=legacy $TESTPOOL
57 log_must zpool export $TESTPOOL
58 log_must zpool import -o readonly=on -N -d "$(dirname $TMPDEV)" $TESTPOOL
63 log_must mount -F zfs -o zfsutil $TESTPOOL $TESTDIR
66 log_must test "enabled" == "$(get_pool_prop 'feature@userobj_accounting' $TESTPOOL)"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_005_pos.ksh54 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
55 log_must force_unmount $TESTPOOL/$TESTFS
66 unmounted $TESTPOOL/$TESTFS || \
75 zfs $mountcmd $TESTPOOL/$TESTFS
78 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \
81 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted"
82 unmounted $TESTPOOL/$TESTFS || \
83 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
H A Dzfs_mount_all_001_pos.ksh61 path=${TEST_BASE_DIR%%/}/testroot$$/$TESTPOOL
65 setup_filesystem "$DISKS" "$TESTPOOL" \
73 setup_filesystem "$DISKS" "$TESTPOOL" \
83 setup_filesystem "$DISKS" "$TESTPOOL" \
107 cleanup_filesystem "$TESTPOOL" \
115 cleanup_filesystem "$TESTPOOL" \
121 cleanup_filesystem "$TESTPOOL" "${ctr[i]}"
150 path=$TESTPOOL
184 export __ZFS_POOL_RESTRICT="$TESTPOOL"
190 export __ZFS_POOL_RESTRICT="$TESTPOOL"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_009_neg.ksh75 set -A datasets $TESTPOOL $TESTPOOL/$TESTCTR \
76 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS
78 datasets[${#datasets[@]}]=$TESTPOOL/$TESTVOL
81 log_must zfs snapshot -r ${TESTPOOL}@snap
86 log_mustnot zfs rename -r ${TESTPOOL}@snap ${TESTPOOL}@snap2
H A Dzfs_rename_008_pos.ksh64 set -A datasets $TESTPOOL $TESTPOOL/$TESTCTR \
65 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS
70 log_must zfs snapshot -r ${TESTPOOL}@snap
78 log_must zfs rename -r ${TESTPOOL}@snap ${TESTPOOL}@snap-new
86 log_must zfs destroy -rf ${TESTPOOL}@snap-new
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen_001_pos.ksh39 poolexists $TESTPOOL && destroy_pool $TESTPOOL
55 log_must check_state $TESTPOOL "$REMOVED_DISK_ID" "unavail"
57 log_must generate_random_file /$TESTPOOL/data $SMALL_FILE_SIZE
58 sync_pool $TESTPOOL
63 log_must check_state $TESTPOOL "$REMOVED_DISK_ID" "online"
65 log_must wait_for_resilver_end $TESTPOOL $MAXTIMEOUT
68 log_must zpool destroy $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_promoted_clone.ksh34 origin="$TESTPOOL/$TESTFS"
39 datasetexists $origin && log_must zfs destroy -R $TESTPOOL/clone
50 log_must zfs clone $origin@a $TESTPOOL/clone
51 log_must zfs set compress=off $TESTPOOL/clone
52 log_must zfs set checksum=off $TESTPOOL/clone
53 log_must zfs promote $TESTPOOL/clone
54 dd if=/$TESTPOOL/clone/file of=/$TESTDIR/file bs=1024k count=$MEGS \
56 log_must verify_nopwrite $TESTPOOL/clone $TESTPOOL/clone@a $origin
/illumos-gate/usr/src/test/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps_007_pos.ksh34 POOL2=${TESTPOOL}2
35 log_must zpool create -f $TESTPOOL mirror ${DISK_ARR[0]} ${DISK_ARR[1]}
39 log_must zdb -PC $TESTPOOL > $conf
45 assert_zap_common $TESTPOOL "type: 'mirror'" "top" $orig_top
46 assert_zap_common $TESTPOOL ${DISK_ARR[0]} "leaf" $orig_leaf0
47 assert_zap_common $TESTPOOL ${DISK_ARR[1]} "leaf" $orig_leaf1
49 log_must zpool split $TESTPOOL $POOL2 ${DISK_ARR[1]}
52 log_must zdb -PC $TESTPOOL > $conf
65 log_must zdb -PC $TESTPOOL > $conf
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh53 if datasetexists $TESTPOOL/fs_$val; then
54 log_must zfs destroy $TESTPOOL/fs_$val
63 log_must zfs create -o copies=$val $TESTPOOL/fs_$val
65 log_must mkfile $FILESIZE /$TESTPOOL/fs_$val/$FILE
79 used=$(get_used_prop $TESTPOOL/fs_$val)
85 blks=`ls -ls /$TESTPOOL/fs_$val/$FILE | awk '{print $1}'`
92 used=`df -F zfs -k /$TESTPOOL/fs_$val/$FILE | grep $TESTPOOL/fs_$val \
100 used=`du -k /$TESTPOOL/fs_$val/$FILE | awk '{print $1}'`
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_006_pos.ksh61 datasetexists $TESTPOOL/$TESTFS/$TESTFS1 && \
62 log_must zfs destroy -rf $TESTPOOL/$TESTFS/$TESTFS1
64 datasetexists $TESTPOOL/${ZONE_CTR}0 && \
65 log_must zfs destroy -rf $TESTPOOL/${ZONE_CTR}0
74 ancestor_fs=$TESTPOOL/$TESTFS
75 fs=$TESTPOOL/$TESTFS/$TESTFS1
97 log_must eval "zfs receive -d $TESTPOOL < $fbackup1"
98 is_global_zone || ancestor_fs=$TESTPOOL/${ZONE_CTR}0/$TESTFS
103 is_global_zone || fs=$TESTPOOL/${ZONE_CTR}0/$TESTFS/$TESTFS1
105 log_must eval "zfs receive -d $TESTPOOL < $fbackup2"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/l2arc/
H A Dpersist_l2arc_008_pos.ksh60 if poolexists $TESTPOOL ; then
61 destroy_pool $TESTPOOL
78 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
84 log_must zpool offline $TESTPOOL $VDEV_CACHE
91 log_must zpool online $TESTPOOL $VDEV_CACHE
104 log_must zpool offline $TESTPOOL $VDEV_CACHE
111 log_must zpool online $TESTPOOL $VDEV_CACHE
120 log_must zpool export $TESTPOOL
127 log_must zpool import -d $VDIR $TESTPOOL
136 log must zpool offline $TESTPOOL $VDEV_CACHE
[all …]
H A Dpersist_l2arc_001_pos.ksh56 if poolexists $TESTPOOL ; then
57 destroy_pool $TESTPOOL
78 log_must zpool create -f $TESTPOOL $VDEV cache $VDEV_CACHE
80 log_must zpool export $TESTPOOL
81 log_must zpool import -d $VDIR $TESTPOOL
87 log_must zpool export $TESTPOOL
95 log_must zpool import -d $VDIR $TESTPOOL
104 log_must zpool offline $TESTPOOL $VDEV_CACHE
109 log_must zpool destroy -f $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_reservation/
H A Dzfs_reservation_002_pos.ksh55 for FS in $TESTPOOL/$RESERVATION $TESTPOOL/$RESERVATION2
68 log_must zfs create $TESTPOOL/$RESERVATION
69 log_must zfs create $TESTPOOL/$RESERVATION2
71 log_must zfs set reservation=0 $TESTPOOL/$RESERVATION
72 log_must zfs set reservation=none $TESTPOOL/$RESERVATION2
74 for FS in $TESTPOOL/$RESERVATION $TESTPOOL/$RESERVATION2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_003_neg.ksh66 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
67 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP1
71 log_mustnot zfs rollback $TESTPOOL/$TESTFS@$TESTSNAP
72 log_mustnot zfs rollback -f $TESTPOOL/$TESTFS@$TESTSNAP
76 create_clone $TESTPOOL/$TESTFS@$TESTSNAP1 $TESTPOOL/$TESTCLONE1
80 log_mustnot zfs rollback -r $TESTPOOL/$TESTFS@$TESTSNAP
81 log_mustnot zfs rollback -rf $TESTPOOL/$TESTFS@$TESTSNAP
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_004_pos.ksh52 testpool=$TESTPOOL
54 testpool=${TESTPOOL%%/*}
57 set -A args "" "-v" "-q" "-l" "-lq $TESTPOOL" "-ql ${DISKS[0]} ${DISKS[1]}" \
58 "-w $TESTPOOL ${DISKS[0]} ${DISKS[1]}" \
59 "-wp $TESTPOOL" \
60 "-qlH $TESTPOOL ${DISKS[0]}" \
67 log_note "testpool: $TESTPOOL, disks $DISKS"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_010_neg.ksh51 log_must zpool create $TESTPOOL $VDEV spare $SDEV log $LDEV
54 log_mustnot zpool replace $TESTPOOL $ldev $sdev
55 log_mustnot verify_slog_device $TESTPOOL $sdev 'ONLINE'
56 log_must verify_slog_device $TESTPOOL $ldev 'ONLINE'
60 log_mustnot zpool replace $TESTPOOL $ldev $sdev2
61 log_mustnot zpool replace -f $TESTPOOL $ldev $sdev2
62 log_mustnot verify_slog_device $TESTPOOL $sdev2 'ONLINE'
63 log_must verify_slog_device $TESTPOOL $ldev 'ONLINE'
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/
H A Dtrim_config.ksh47 if poolexists $TESTPOOL; then
48 destroy_pool $TESTPOOL
85 log_must zpool create -f $TESTPOOL $type $VDEVS
87 typeset availspace=$(get_prop available $TESTPOOL)
91 file_write -o create -f /$TESTPOOL/file -b 1048576 -c $fill_mb -d R
95 log_must rm /$TESTPOOL/file
96 log_must zpool trim $TESTPOOL
97 wait_trim $TESTPOOL $VDEVS
100 log_must zpool destroy $TESTPOOL
H A Dautotrim_config.ksh47 if poolexists $TESTPOOL; then
48 destroy_pool $TESTPOOL
85 log_must zpool create -f $TESTPOOL $VDEVS
86 log_must zpool set autotrim=on $TESTPOOL
88 typeset availspace=$(get_prop available $TESTPOOL)
92 file_write -o create -f /$TESTPOOL/file -b 1048576 -c $fill_mb -d R
96 log_must rm /$TESTPOOL/file
97 wait_trim_io $TESTPOOL "ind" 64
100 log_must zpool destroy $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_001_pos.ksh52 datasetexists "$TESTPOOL/$TESTFS" || \
53 log_must zpool import -d $dir $TESTPOOL
55 ismounted "$TESTPOOL/$TESTFS"
57 log_must zfs mount $TESTPOOL/$TESTFS
65 log_must zpool export $TESTPOOL
67 poolexists $TESTPOOL && \
68 log_fail "$TESTPOOL unexpectedly found in 'zpool list' output."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_005_neg.ksh61 typeset dataset=($TESTPOOL/$TESTFS $TESTPOOL/$TESTCTR $TESTPOOL/$TESTVOL \
62 $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTVOL@$TESTSNAP)
74 typeset bookmark=($TESTPOOL/$TESTFS#$TESTBKMARK $TESTPOOL/$TESTVOL#$TESTBKMARK)
131 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
132 create_snapshot $TESTPOOL/$TESTVOL $TESTSNAP
135 create_bookmark $TESTPOOL/$TESTFS $TESTSNAP $TESTBKMARK
136 create_bookmark $TESTPOOL/$TESTVOL $TESTSNAP $TESTBKMARK

12345678910>>...36