/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_016_pos.ksh | 34 datasetexists $TESTPOOL/$TESTVOL && \ 35 log_must zfs destroy -Rf $TESTPOOL/$TESTVOL 43 datasetexists $TESTPOOL/$TESTVOL@snap$i && \ 44 log_must zfs destroy $TESTPOOL/$TESTVOL@snap$i 46 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i 58 snapexists $TESTPOOL/$TESTVOL@snap$i || \ 60 "$TESTPOOL/$TESTVOL@snap$i" 67 snapexists $TESTPOOL/$TESTVOL@snap$i && \ 69 "$TESTPOOL/$TESTVOL@snap$i" 82 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTVOL [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_cli/ |
H A D | zvol_cli_001_pos.ksh | 46 TESTVOL='testvol' 49 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \ 50 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \ 51 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \ 52 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \ 53 "list -rH -o name $TESTPOOL/$TESTVOL"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_002_pos.ksh | 47 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 51 snapexists $TESTPOOL/$TESTVOL@snap && \ 52 zfs destroy $TESTPOOL/$TESTVOL@snap 58 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 64 TESTVOL='testvol' 68 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL 70 log_must new_fs ${ZVOL_RDEVDIR}/$TESTPOOL/$TESTVOL 73 log_must mount ${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL $TESTDIR 90 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap 92 fsck -n /dev/zvol/rdsk/$TESTPOOL/$TESTVOL@snap >/dev/null 2>&1
|
H A D | zvol_misc_004_pos.ksh | 49 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 66 if datasetexists $TESTPOOL/$TESTVOL@$snap ; then 67 log_must zfs destroy $TESTPOOL/$TESTVOL@$snap 70 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 93 voldev=/dev/zvol/dsk/$TESTPOOL/$TESTVOL 98 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL 100 verify_snapshot $TESTPOOL/$TESTVOL 103 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 108 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 110 verify_snapshot $TESTPOOL/$TESTVOL [all …]
|
H A D | zvol_misc_006_pos.ksh | 48 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 56 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 62 voldev=/dev/zvol/dsk/$TESTPOOL/$TESTVOL 65 typeset oblksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL) 66 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize" 70 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL) 73 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_002_neg.ksh | 51 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 53 "-t $TESTPOOL/$TESTVOL $DISKLIST" \ 57 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \ 59 "-f $TESTPOOL/$TESTVOL $DISKLIST" \ 64 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \ 66 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \ 71 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \ 73 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \ 77 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \ 78 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_001_neg.ksh | 61 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \ 62 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \ 63 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \ 64 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \ 65 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \ 67 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
|
H A D | zfs_snapshot_002_neg.ksh | 54 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP; 60 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \ 61 log_must zfs destroy -rf $TESTPOOL/$TESTCTR/$TESTVOL 90 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTCTR/$TESTVOL 92 log_must zfs create $TESTPOOL/$TESTCTR/$TESTVOL 94 log_must zfs snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_004_neg.ksh | 56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \ 59 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \ 63 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \ 67 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \ 68 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \ 69 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \ 70 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \ 72 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
|
H A D | zfs_rename_011_pos.ksh | 59 if datasetexists $TESTPOOL/$TESTVOL ; then 60 log_must zfs destroy -Rf $TESTPOOL/$TESTVOL 62 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTVOL 74 log_must verify_opt_p_ops "rename" "vol" "$TESTPOOL/$TESTVOL" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_001_pos.ksh | 54 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 55 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1" 58 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 69 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then 70 log_must zfs destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP 95 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP 97 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
|
H A D | canmount_002_pos.ksh | 55 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 56 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1" 59 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 86 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then 87 log_must zfs destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP 107 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP 109 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
|
H A D | ro_props_001_pos.ksh | 51 set -A dataset $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL \ 53 $TESTPOOL/$TESTVOL@$TESTSNAP 67 datasetexists $TESTPOOL/$TESTVOL@$TESTSNAP && \ 68 destroy_snapshot $TESTPOOL/$TESTVOL@$TESTSNAP 78 create_snapshot $TESTPOOL/$TESTVOL $TESTSNAP
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_007_pos.ksh | 52 datasetexists $TESTPOOL/$TESTVOL && \ 53 log_must zfs destroy -f $TESTPOOL/$TESTVOL 74 log_must zfs create $opts -V $VOLSIZE $TESTPOOL/$TESTVOL 75 datasetexists $TESTPOOL/$TESTVOL || \ 76 log_fail "zfs create $TESTPOOL/$TESTVOL fail." 84 propertycheck $TESTPOOL/$TESTVOL ${RW_VOL_PROP[i]} || \
|
H A D | zfs_create_002_pos.ksh | 53 if datasetexists $TESTPOOL/${TESTVOL}${size[j]}; then 54 log_must zfs destroy $TESTPOOL/${TESTVOL}${size[j]} 68 $TESTPOOL/${TESTVOL}${size[j]}" 73 log_must datasetexists $TESTPOOL/${TESTVOL}${size[j]} 88 propertycheck ${TESTPOOL}/${TESTVOL}${explicit_size_check[j]} \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | zpool_add_004_pos.ksh | 53 datasetexists $TESTPOOL1/$TESTVOL && \ 54 log_must zfs destroy -f $TESTPOOL1/$TESTVOL 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"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | send-wDR_encrypted_zvol.ksh | 51 destroy_dataset $TESTPOOL/$TESTVOL "-r" 61 typeset zdev=$ZVOL_DEVDIR/$TESTPOOL/$TESTVOL 62 typeset mntpnt=$TESTDIR/$TESTVOL 70 -o keylocation=file://$keyfile -V 128M $TESTPOOL/$TESTVOL 89 log_must zfs snap $TESTPOOL/$TESTVOL@snap$i 92 log_must eval "zfs send -wDR $TESTPOOL/$TESTVOL@snap$snap_count > $sendfile"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/ |
H A D | reservation_001_pos.sh | 71 OBJ_LIST="$TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL2" 83 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL 84 log_must zfs set reservation=none $TESTPOOL/$TESTVOL 85 log_must zfs set refreservation=none $TESTPOOL/$TESTVOL 101 [[ $obj == $TESTPOOL/$TESTVOL ]] && \
|
H A D | reservation_004_pos.sh | 75 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL2" 82 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL 83 log_must zfs set refreservation=none $TESTPOOL/$TESTVOL 84 log_must zfs set reservation=none $TESTPOOL/$TESTVOL 104 [[ $obj == $TESTPOOL/$TESTVOL ]] && \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/largest_pool/ |
H A D | largest_pool_001_pos.ksh | 99 datasetexists $TESTPOOL2/$TESTVOL && \ 100 log_must zfs destroy $TESTPOOL2/$TESTVOL 126 str=$(zfs create -sV $volsize $TESTPOOL2/$TESTVOL 2>&1) 137 log_fail "zfs create -sV $volsize $TESTPOOL2/$TESTVOL" 156 log_must zfs destroy $TESTPOOL2/$TESTVOL
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_011_neg.ksh | 52 if is_global_zone && datasetexists $TESTPOOL/$TESTVOL; then 53 log_must zfs destroy $TESTPOOL/$TESTVOL 77 log_must zfs create -V 10m $TESTPOOL/$TESTVOL 78 log_mustnot eval "zfs mount $TESTPOOL/$TESTVOL >/dev/null 2>&1"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_online/ |
H A D | zpool_online_002_neg.ksh | 50 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 52 "-t $TESTPOOL/$TESTVOL $DISKLIST" \ 56 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \ 57 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_destroy/ |
H A D | zpool_destroy_001_pos.ksh | 51 datasetexists $TESTPOOL1/$TESTVOL && \ 52 log_must zfs destroy -f $TESTPOOL1/$TESTVOL 76 log_must zfs create -s -V $VOLSIZE $TESTPOOL1/$TESTVOL 77 create_pool "$TESTPOOL2" "/dev/zvol/dsk/$TESTPOOL1/$TESTVOL"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_attach/ |
H A D | zpool_attach_001_neg.ksh | 51 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 53 "$TESTPOOL/$TESTVOL $DISKLIST" \ 60 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \ 62 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_replace/ |
H A D | zpool_replace_001_neg.ksh | 51 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 53 "$TESTPOOL/$TESTVOL $DISKLIST" \ 60 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \ 62 "-f $TESTPOOL/$TESTVOL $DISKLIST" \
|