Searched refs:TESTPOOL (Results 1 - 25 of 581) sorted by relevance

1234567891011>>

/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_get/
H A Dzpool_get_004_neg.ksh61 TESTPOOL=${TESTPOOL%%/*}
64 set -A arguments "$TESTPOOL $TESTPOOL" "$TESTPOOL rubbish" "-v $TESTPOOL" \
65 "nosuchproperty $TESTPOOL" "--$TESTPOOL" "all all" \
66 "type $TESTPOOL" "usage: $TESTPOOL" "bootf
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_006_neg.ksh62 set -A args "" "-r" "-f" "-rf" "-fr" "$TESTPOOL" "-f $TESTPOOL" \
63 "-? $TESTPOOL/$TESTFS" "$TESTPOOL/blah"\
64 "-r $TESTPOOL/blah" "-f $TESTPOOL/blah" "-rf $TESTPOOL/blah" \
65 "-fr $TESTPOOL/blah" "-$ $TESTPOOL/$TESTFS" "-5 $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_attach/
H A Dzpool_attach_001_neg.ksh59 DISKLIST=$(get_disklist $TESTPOOL)
62 "$TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
63 "$TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
64 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
65 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
66 "$TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/
H A Dzpool_replace_001_neg.ksh59 DISKLIST=$(get_disklist $TESTPOOL)
62 "$TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
63 "$TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
64 "$TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
65 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
66 "$TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_get/
H A Dzfs_get_006_neg.ksh65 "all -H" "all -rp" "all -rH" "all -ph" "all -rpH" "all -r $TESTPOOL" \
66 "all -H $TESTPOOL" "all -p $TESTPOOL" "all -r -p -H $TESTPOOL" \
67 "all -rph $TESTPOOL" "all,available,reservation $TESTPOOL" \
68 "all $TESTPOOL?" "all $TESTPOOL*" "all nonexistpool"
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh59 DISKLIST=$(get_disklist $TESTPOOL)
62 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
63 "-t $TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
64 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
65 "-t $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
66 "-t $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_007_neg.ksh66 "-m" "-R" "-m -R" "-Rm" "-mR" "-m $TESTDIR $TESTPOOL" \
67 "-R $TESTDIR $TESTPOOL" "-m nodir $TESTPOOL $disk" \
68 "-R nodir $TESTPOOL $disk" "-m nodir -R nodir $TESTPOOL $disk" \
69 "-R nodir -m nodir $TESTPOOL $disk" "-R $TESTDIR -m nodir $TESTPOOL $disk" \
70 "-R nodir -m $TESTDIR $TESTPOOL $disk" \
71 "-blah" "$TESTPOOL" "$TESTPOOL bla
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh67 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
68 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
69 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
70 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
71 $TESTPOOL/$TESTFS1 $TESTPOOL/
[all...]
H A Dzfs_rename_013_pos.ksh69 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then
70 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap-new
73 if datasetexists $TESTPOOL/$TESTCTR@snap ; then
74 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap
77 if datasetexists $TESTPOOL@snap-new ; then
78 log_must $ZFS destroy -f $TESTPOOL@snap-new
81 if datasetexists $TESTPOOL@snap ; then
82 log_must $ZFS destroy -f $TESTPOOL@snap
91 log_must $ZFS snapshot $TESTPOOL/$TESTCTR@snap
92 log_must $ZFS rename -r $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_online/
H A Dzpool_online_002_neg.ksh58 DISKLIST=$(get_disklist $TESTPOOL)
61 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
62 "-t $TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
63 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
64 "-t $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
65 "-t $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/redundancy/
H A Dredundancy_001_pos.ksh67 setup_test_env $TESTPOOL raidz $cnt
72 damage_devs $TESTPOOL 1 "label"
73 log_must is_data_valid $TESTPOOL
74 log_must clear_errors $TESTPOOL
79 damage_devs $TESTPOOL 1
80 log_must is_data_valid $TESTPOOL
81 log_must recover_bad_missing_devs $TESTPOOL 1
86 remove_devs $TESTPOOL 1
87 log_must is_data_valid $TESTPOOL
H A Dredundancy_002_pos.ksh68 setup_test_env $TESTPOOL raidz2 $cnt
74 damage_devs $TESTPOOL $i "label"
75 log_must is_data_valid $TESTPOOL
76 log_must clear_errors $TESTPOOL
83 damage_devs $TESTPOOL $i
84 log_must is_data_valid $TESTPOOL
85 log_must recover_bad_missing_devs $TESTPOOL $i
92 remove_devs $TESTPOOL $i
93 log_must is_data_valid $TESTPOOL
94 log_must recover_bad_missing_devs $TESTPOOL
[all...]
H A Dredundancy_003_pos.ksh70 setup_test_env $TESTPOOL mirror $cnt
76 damage_devs $TESTPOOL $i "label"
77 log_must is_data_valid $TESTPOOL
78 log_must clear_errors $TESTPOOL
88 damage_devs $TESTPOOL $i
89 log_must is_data_valid $TESTPOOL
90 log_must recover_bad_missing_devs $TESTPOOL $i
100 remove_devs $TESTPOOL $i
101 log_must is_data_valid $TESTPOOL
102 log_must recover_bad_missing_devs $TESTPOOL
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/zvol/zvol_cli/
H A Dzvol_cli_001_pos.ksh61 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \
62 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \
63 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \
64 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \
65 "list -rH -o name $TESTPOOL/$TESTVOL"
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_user/zpool_list/
H A Dzpool_list_001_pos.ksh61 TESTPOOL=${TESTPOOL%%/*}
64 set -A args "list $TESTPOOL" "list -H $TESTPOOL" "list" "list -H" \
65 "list -H -o name $TESTPOOL" "list -o name $TESTPOOL" \
66 "list -o name,size,capacity,health,altroot $TESTPOOL" \
67 "list -H -o name,size,capacity,health,altroot $TESTPOOL"
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_014_pos.ksh60 log_must $ZPOOL create $TESTPOOL ${DISKS[0]}
61 log_must $ZPOOL destroy $TESTPOOL
62 log_mustnot $ZPOOL import $TESTPOOL
63 log_must $ZPOOL import -D $TESTPOOL
64 log_must poolexists $TESTPOOL
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/
H A Dzpool_scrub_005_pos.ksh62 log_must $ZPOOL scrub $TESTPOOL
63 log_must $ZPOOL detach $TESTPOOL $DISK2
64 log_must $ZPOOL attach $TESTPOOL $DISK1 $DISK2
67 if is_pool_resilvered $TESTPOOL ; then
73 log_must $ZPOOL scrub $TESTPOOL
74 log_must $ZPOOL detach $TESTPOOL $DISK1
75 log_must $ZPOOL attach $TESTPOOL $DISK2 $DISK1
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_export/
H A Dzpool_export_001_pos.ksh65 datasetexists "$TESTPOOL/$TESTFS" || \
66 log_must $ZPOOL import -d $dir $TESTPOOL
68 ismounted "$TESTPOOL/$TESTFS"
70 log_must $ZFS mount $TESTPOOL/$TESTFS
78 log_must $ZPOOL export $TESTPOOL
80 poolexists $TESTPOOL && \
81 log_fail "$TESTPOOL unexpectedly found in 'zpool list' output."
/freebsd-12-stable/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_009_neg.ksh62 destroy_pool $TESTPOOL
76 log_must $ZPOOL create $TESTPOOL $DISK
77 log_must $ZFS create $TESTPOOL/$FS
79 enc=$(get_prop encryption $TESTPOOL/$FS)
81 log_unsupported "get_prop encryption $TESTPOOL/$FS failed."
87 log_mustnot $ZPOOL set bootfs=$TESTPOOL/$FS $TESTPOOL
92 log_must $ZFS snapshot $TESTPOOL/$FS@snap
93 log_must $ZFS clone $TESTPOOL/$FS@snap $TESTPOOL/clon
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/iscsi/
H A Discsi_001_pos.ksh65 datasetexists $TESTPOOL/$TESTVOL && \
66 log_must $ZFS destroy $TESTPOOL/$TESTVOL
67 datasetexists $TESTPOOL/$TESTVOL1 && \
68 log_must $ZFS destroy $TESTPOOL/$TESTVOL1
69 if [[ "off" != $(get_prop shareiscsi $TESTPOOL) ]]; then
70 log_must $ZFS set shareiscsi=off $TESTPOOL
81 log_must $ZFS set shareiscsi=off $TESTPOOL
82 log_must $ZFS create -V $VOLSIZE $TESTPOOL/$TESTVOL
83 log_must $ZFS set shareiscsi=on $TESTPOOL/$TESTVOL
84 if ! is_iscsi_target $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/online_offline/
H A Donline_offline_001_pos.ksh39 log_must $ZPOOL offline $TESTPOOL $disk
40 check_state $TESTPOOL $disk "offline"
42 log_fail "$disk of $TESTPOOL is not offline."
45 log_must $ZPOOL online $TESTPOOL $disk
46 check_state $TESTPOOL $disk "online"
48 log_fail "$disk of $TESTPOOL did not match online state"
54 verify_filesys "$TESTPOOL" "$TESTPOOL/$TESTFS" "$dir"
64 destroy_pool $TESTPOOL
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cache/
H A Dcache_009_pos.ksh66 log_must $ZPOOL create $TESTPOOL $type $VDEV \
70 log_must $ZPOOL offline $TESTPOOL $ldev
71 log_must display_status $TESTPOOL
72 log_must verify_cache_device $TESTPOOL $ldev 'OFFLINE' ''
74 log_must $ZPOOL status -v $TESTPOOL
76 log_must $ZPOOL online $TESTPOOL $ldev
77 log_must display_status $TESTPOOL
78 log_must verify_cache_device $TESTPOOL $ldev 'ONLINE' ''
81 log_must $ZPOOL status -v $TESTPOOL
82 log_must $ZPOOL destroy -f $TESTPOOL
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_detach/
H A Dzpool_detach_001_neg.ksh59 DISKLIST=$(get_disklist $TESTPOOL)
62 "$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $DISKLIST" \
63 "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTCTR/$TESTFS1" \
64 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \
65 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_user/misc/
H A Dzfs_destroy_001_neg.ksh61 set -A args "destroy" "destroy $TESTPOOL/$TESTFS" \
62 "destroy -f" "destroy -f $TESTPOOL/$TESTFS" \
63 "destroy -r" "destroy -r $TESTPOOL/$TESTFS" \
64 "destroy -rf $TESTPOOL/$TESTFS" \
65 "destroy -fr $TESTPOOL/$TESTFS" \
66 "destroy $TESTPOOL/$TESTFS@$TESTSNAP" \
67 "destroy -f $TESTPOOL/$TESTFS@$TESTSNAP" \
68 "destroy -r $TESTPOOL/$TESTFS@$TESTSNAP" \
69 "destroy -rf $TESTPOOL/$TESTFS@$TESTSNAP" \
70 "destroy -fr $TESTPOOL/
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/history/
H A Dhistory_004_pos.ksh63 typeset -i orig_count=$($ZPOOL history $TESTPOOL | $WC -l | $AWK '{print $1}')
67 $ZFS set compression=off $TESTPOOL/$TESTFS &
68 $ZFS set atime=off $TESTPOOL/$TESTFS &
69 $ZFS create $TESTPOOL/$TESTFS1 &
70 $ZFS create $TESTPOOL/$TESTFS2 &
71 $ZFS create $TESTPOOL/$TESTFS3 &
75 $ZFS snapshot $TESTPOOL/$TESTFS1@snap &
76 $ZFS snapshot $TESTPOOL/$TESTFS2@snap &
77 $ZFS snapshot $TESTPOOL/$TESTFS3@snap &
81 $ZFS clone $TESTPOOL/
[all...]

Completed in 198 milliseconds

1234567891011>>