Home
last modified time | relevance | path

Searched refs:TESTPOOL (Results 1 – 25 of 1780) sorted by relevance

12345678910>>...72

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh55 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
57 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
58 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
59 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
60 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \
61 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \
62 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
63 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTCTR/$TESTFS1 \
64 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
[all …]
H A Dzfs_rename_mountpoint.ksh38 zfs destroy -fR $TESTPOOL/rename_test
39 zfs destroy -fR $TESTPOOL/renamed
45 log_must zfs create $TESTPOOL/rename_test
46 log_must zfs create $TESTPOOL/rename_test/ds
47 log_must zfs create -o mountpoint=none $TESTPOOL/rename_test/child
48 log_must zfs create $TESTPOOL/rename_test/child/grandchild
50 if ! ismounted $TESTPOOL/rename_test; then
51 log_fail "$TESTPOOL/rename_test is not mounted"
53 if ! ismounted $TESTPOOL/rename_test/ds; then
54 log_fail "$TESTPOOL/rename_test/ds is not mounted"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_mixed_raw.ksh52 datasetexists $TESTPOOL/$TESTFS3 && \
53 destroy_dataset $TESTPOOL/$TESTFS3 -r
54 datasetexists $TESTPOOL/$TESTFS2 && \
55 destroy_dataset $TESTPOOL/$TESTFS2 -r
56 datasetexists $TESTPOOL/$TESTFS1 && \
57 destroy_dataset $TESTPOOL/$TESTFS1 -r
66 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
68 log_must zfs snapshot $TESTPOOL/$TESTFS1@1
69 log_must touch /$TESTPOOL/$TESTFS1/a
70 log_must zfs snapshot $TESTPOOL/$TESTFS1@2
[all …]
H A Dsend_encrypted_files.ksh49 datasetexists $TESTPOOL/$TESTFS2 && \
50 destroy_dataset $TESTPOOL/$TESTFS2 -r
51 datasetexists $TESTPOOL/recv && \
52 destroy_dataset $TESTPOOL/recv -r
60 typeset keyfile=/$TESTPOOL/pkey
61 typeset sendfile=/$TESTPOOL/sendfile
62 typeset sendfile2=/$TESTPOOL/sendfile2
67 -o keylocation=file://$keyfile $TESTPOOL/$TESTFS2
70 log_must touch /$TESTPOOL/$TESTFS2/empty
71 log_must mkfile 512 /$TESTPOOL/$TESTFS2/small
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh62 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
63 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
64 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
65 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
66 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
67 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \
68 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \
69 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
70 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTCTR/$TESTFS1 \
71 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_nested.ksh40 log_must zfs destroy -fR $TESTPOOL/a
41 log_must zfs destroy -fR $TESTPOOL/b
42 log_must zfs destroy -fR $TESTPOOL/c
43 log_must zfs destroy -fR $TESTPOOL/d
49 typeset mountpoint=/$TESTPOOL/mnt
52 log_must zfs create -p $TESTPOOL/$dsA32
55 log_must zfs create -o mountpoint=none -p $TESTPOOL/$dsB32
58 log_mustnot mount -t zfs $TESTPOOL/$dsB32 /mnt
62 log_must zfs create -o mountpoint=legacy -p $TESTPOOL/$dsC32
63 log_must mount -t zfs $TESTPOOL/$dsC32 /mnt
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_recursive.ksh52 log_must datasetexists $TESTPOOL/$TESTFS1 && \
53 destroy_dataset $TESTPOOL/$TESTFS1 -R
54 log_must datasetexists $TESTPOOL/$TESTFS2 && \
55 destroy_dataset $TESTPOOL/$TESTFS2 -R
56 log_must datasetexists $TESTPOOL/$TESTFS3 && \
57 destroy_dataset $TESTPOOL/$TESTFS3 -R
62 log_must datasetexists $TESTPOOL/$TESTFS || zfs create $TESTPOOL/$TESTFS
63 log_must zfs create $TESTPOOL/$TESTFS1
64 log_must zfs create $TESTPOOL/$TESTFS2
65 log_must zfs create $TESTPOOL/$TESTFS3
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh54 DISKLIST=$(get_disklist $TESTPOOL)
57 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
58 "-t $TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
59 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
60 "-t $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
61 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
63 "-f $TESTPOOL" "-f $TESTPOOL/$TESTFS" "-f $TESTPOOL/$TESTFS $DISKLIST" \
64 "-f $TESTPOOL/$TESTCTR" "-f $TESTPOOL/$TESTCTR/$TESTFS1" \
65 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
66 "-f $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh47 DISKLIST=$(get_disklist $TESTPOOL)
50 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
51 "-t $TESTPOOL/$TESTCTR" "-t $TESTPOOL/$TESTCTR/$TESTFS1" \
52 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \
53 "-t $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
54 "-t $TESTPOOL/$TESTVOL $DISKLIST" \
56 "-f $TESTPOOL" "-f $TESTPOOL/$TESTFS" "-f $TESTPOOL/$TESTFS $DISKLIST" \
57 "-f $TESTPOOL/$TESTCTR" "-f $TESTPOOL/$TESTCTR/$TESTFS1" \
58 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \
59 "-f $TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_corrective.ksh56 poolexists $TESTPOOL && destroy_pool $TESTPOOL
57 log_must zpool create -f $TESTPOOL $DISK
62 log_must zpool scrub -w $TESTPOOL
63 log_must zpool status -v $TESTPOOL
64 log_must eval "zpool status -v $TESTPOOL | \
72 log_must zpool scrub -w $TESTPOOL
73 log_must zpool status -v $TESTPOOL
74 log_mustnot eval "zpool status -v $TESTPOOL | \
86 typeset file="/$TESTPOOL/$TESTFS1/$TESTFILE0"
88 log_must eval "poolexists $TESTPOOL && destroy_pool $TESTPOOL"
[all …]
H A Dzfs_receive_large_block_corrective.ksh57 poolexists $TESTPOOL && destroy_pool $TESTPOOL
58 log_must zpool create -f $TESTPOOL $DISK
63 log_must zpool scrub -w $TESTPOOL
64 log_must zpool status -v $TESTPOOL
65 log_must eval "zpool status -v $TESTPOOL | \
73 log_must zpool scrub -w $TESTPOOL
74 log_must zpool status -v $TESTPOOL
75 log_mustnot eval "zpool status -v $TESTPOOL | \
87 typeset file="/$TESTPOOL/$TESTFS1/$TESTFILE0"
89 log_must eval "poolexists $TESTPOOL && destroy_pool $TESTPOOL"
[all …]
H A Dzfs_receive_compressed_corrective.ksh57 poolexists $TESTPOOL && destroy_pool $TESTPOOL
58 log_must zpool create -f $TESTPOOL $DISK
63 log_must zpool scrub -w $TESTPOOL
64 log_must zpool status -v $TESTPOOL
65 log_must eval "zpool status -v $TESTPOOL | \
73 log_must zpool scrub -w $TESTPOOL
74 log_must zpool status -v $TESTPOOL
75 log_mustnot eval "zpool status -v $TESTPOOL | \
87 typeset file="/$TESTPOOL/$TESTFS1/$TESTFILE0"
89 log_must eval "poolexists $TESTPOOL && destroy_pool $TESTPOOL"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_encryptionroot.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 destroy_dataset $TESTPOOL/$TESTFS1 -Rf
47 datasetexists $TESTPOOL/clone1 && \
48 destroy_dataset $TESTPOOL/clone1 -Rf
49 datasetexists $TESTPOOL/clone2 && \
50 destroy_dataset $TESTPOOL/clone2 -Rf
57 snaproot="$TESTPOOL/$TESTFS1@snap1"
58 snapclone="$TESTPOOL/clone1@snap2"
61 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
64 log_must zfs clone $snaproot $TESTPOOL/clone1
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare3.ksh72 setup_test_env $TESTPOOL $draid $children
109 log_must check_vdev_state $TESTPOOL $BASEDIR/vdev7 "ONLINE"
110 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0
111 log_must zpool detach $TESTPOOL $BASEDIR/vdev7
112 log_must check_vdev_state $TESTPOOL draid1-0-0 "ONLINE"
113 log_must check_hotspare_state $TESTPOOL draid1-0-0 "INUSE"
114 log_must verify_pool $TESTPOOL
115 log_must check_pool_status $TESTPOOL "scan" "repaired 0B"
116 log_must check_pool_status $TESTPOOL "scan" "with 0 errors"
119 log_must zpool offline -f $TESTPOOL $BASEDIR/vdev8
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_007_neg.ksh49 "-m" "-R" "-m -R" "-Rm" "-mR" "-m $TESTDIR $TESTPOOL" \
50 "-R $TESTDIR $TESTPOOL" "-m nodir $TESTPOOL $DISK0" \
51 "-R nodir $TESTPOOL $DISK0" "-m nodir -R nodir $TESTPOOL $DISK0" \
52 "-R nodir -m nodir $TESTPOOL $DISK0" "-R $TESTDIR -m nodir $TESTPOOL $DISK0" \
53 "-R nodir -m $TESTDIR $TESTPOOL $DISK0" \
54 "-blah" "$TESTPOOL" "$TESTPOOL blah" "$TESTPOOL c?t0d0" \
55 "$TESTPOOL c0txd0" "$TESTPOOL c0t0dx" "$TESTPOOL cxtxdx" \
56 "$TESTPOOL mirror" "$TESTPOOL raidz" "$TESTPOOL mirror raidz" \
57 "$TESTPOOL raidz1" "$TESTPOOL mirror raidz1" \
58 "$TESTPOOL draid1" "$TESTPOOL mirror draid1" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_clones.ksh43 datasetexists $TESTPOOL/$TESTFS1 && \
44 destroy_dataset $TESTPOOL/$TESTFS1 -Rf
53 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
55 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1/child"
56 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@1
57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1
58 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2
59 log_must zfs create $TESTPOOL/$TESTFS1/child/A
60 log_must zfs create $TESTPOOL/$TESTFS1/clone1/B
61 log_must zfs create $TESTPOOL/$TESTFS1/clone2/C
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh69 log_must zpool create $TESTPOOL $VDEV log mirror $LDEV
70 log_must zfs set compression=on $TESTPOOL
71 log_must zfs create $TESTPOOL/$TESTFS
78 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
86 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/direct \
92 log_must zpool freeze $TESTPOOL
99 log_must touch /$TESTPOOL/$TESTFS/a
102 log_must mv /$TESTPOOL/$TESTFS/a /$TESTPOOL/$TESTFS/b
105 log_must touch /$TESTPOOL/$TESTFS/c
106 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_uninit.ksh82 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3
83 status_check_all $TESTPOOL "uninitialized"
86 log_must zpool initialize -u $TESTPOOL
87 status_check_all $TESTPOOL "uninitialized"
90 log_must zpool initialize $TESTPOOL
91 status_check_all $TESTPOOL "[[:digit:]]* initialized"
93 log_mustnot zpool initialize -u $TESTPOOL
94 status_check_all $TESTPOOL "[[:digit:]]* initialized"
96 log_must zpool initialize -c $TESTPOOL
97 status_check_all $TESTPOOL "uninitialized"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_aligned_block.ksh45 zfs set recordsize=$rs $TESTPOOL/$TESTFS
53 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS)
55 rs=$(get_prop recordsize $TESTPOOL/$TESTFS)
56 log_must zfs set recordsize=128k $TESTPOOL/$TESTFS
64 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1
65 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2
66 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4
67 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8
70 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2
71 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_keylocation.ksh48 datasetexists $TESTPOOL/$TESTFS1 && \
49 destroy_dataset $TESTPOOL/$TESTFS1 -r
57 log_must eval "echo $PASSPHRASE > /$TESTPOOL/pkey"
59 log_must verify_keylocation $TESTPOOL/$TESTFS "none"
60 log_must zfs set keylocation=none $TESTPOOL/$TESTFS
61 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS
62 log_mustnot zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS
63 log_must verify_keylocation $TESTPOOL/$TESTFS "none"
66 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
68 log_mustnot zfs set keylocation=none $TESTPOOL/$TESTFS1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_007_neg.ksh61 "-m" "-R" "-m -R" "-Rm" "-mR" "-m $TESTDIR $TESTPOOL" \
62 "-R $TESTDIR $TESTPOOL" "-m nodir $TESTPOOL $disk" \
63 "-R nodir $TESTPOOL $disk" "-m nodir -R nodir $TESTPOOL $disk" \
64 "-R nodir -m nodir $TESTPOOL $disk" "-R $TESTDIR -m nodir $TESTPOOL $disk" \
65 "-R nodir -m $TESTDIR $TESTPOOL $disk" \
66 "-blah" "$TESTPOOL" "$TESTPOOL blah" "$TESTPOOL c?t0d0" \
67 "$TESTPOOL c0txd0" "$TESTPOOL c0t0dx" "$TESTPOOL cxtxdx" \
68 "$TESTPOOL mirror" "$TESTPOOL raidz" "$TESTPOOL mirror raidz" \
69 "$TESTPOOL raidz1" "$TESTPOOL mirror raidz1" \
70 "$TESTPOOL mirror c?t?d?" "$TESTPOOL mirror $disk c0t1d?" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_016_pos.ksh33 datasetexists $TESTPOOL/$TESTFS1 && \
34 destroy_dataset $TESTPOOL/$TESTFS1 -R
35 datasetexists $TESTPOOL/$TESTVOL && \
36 destroy_dataset $TESTPOOL/$TESTVOL -Rf
42 datasetexists $TESTPOOL/$TESTFS1@snap$i && \
43 destroy_dataset $TESTPOOL/$TESTFS1@snap$i
44 datasetexists $TESTPOOL/$TESTVOL@snap$i && \
45 destroy_dataset $TESTPOOL/$TESTVOL@snap$i
46 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
47 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i
[all …]
H A Dzfs_destroy_015_pos.ksh34 datasetexists $TESTPOOL/$TESTFS1 && destroy_dataset $TESTPOOL/$TESTFS1 -R
35 datasetexists $TESTPOOL/$TESTFS2 && destroy_dataset $TESTPOOL/$TESTFS2 -R
43 zfs create $TESTPOOL/$TESTFS1
48 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
52 log_must zfs destroy $TESTPOOL/$TESTFS1@$snaplist
54 log_mustnot snapexists $TESTPOOL/$TESFS1@snap$i
58 log_mustnot zfs destroy $TESTPOOL/$TESTFS1@snap12,snap21,sna@pple1@,s""nappy2
62 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
64 log_must zfs destroy $TESTPOOL/$TESTFS1@snap1,snap2,snapple1,snappy2,snap3
66 log_mustnot snapexists $TESTPOOL/$TESTFS1@snap$i
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_multiple.ksh50 destroy_pool $TESTPOOL
84 log_must zpool create -f $TESTPOOL $type $SAFE_DEV1 \
92 log_must zpool create -f $TESTPOOL $type \
99 log_must zpool create -f $TESTPOOL $type $DATA_DEVS \
106 log_must zinject -d $FAULT_DEV1 -e io -T all -f 100 $TESTPOOL
109 log_must zpool scrub $TESTPOOL
113 log_must wait_vdev_state $TESTPOOL $FAULT_DEV1 "FAULTED" 60
114 log_must wait_vdev_state $TESTPOOL $SPARE1 "ONLINE" 60
115 log_must wait_hotspare_state $TESTPOOL $SPARE1 "INUSE"
116 log_must check_state $TESTPOOL "" "DEGRADED"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_009_pos.ksh40 destroy_dataset $TESTPOOL/TESTFS4 -r
41 destroy_dataset $TESTPOOL/TESTFS5 -r
43 datasets="$TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS2
44 $TESTPOOL/$TESTFS3"
50 invalid_args=("$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2@now \
51 $TESTPOOL/$TESTFS@blah?" "$TESTPOOL/$TESTFS1@blah* \
52 $TESTPOOL/$TESTFS2@blah? $TESTPOOL/$TESTFS3@blah%" \
53 "$TESTPOOL/$TESTFS1@x$SNAPSHOT_XXX $TESTPOOL/$TESTFS2@300 \
54 $TESTPOOL/$TESTFS3@300")
56 valid_args=("$TESTPOOL/$TESTFS1@snap $TESTPOOL/$TESTFS2@snap \
[all …]

12345678910>>...72