Home
last modified time | relevance | path

Searched refs:TESTFS1 (Results 1 – 25 of 170) sorted by relevance

1234567

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_clones.ksh42 datasetexists $TESTPOOL/$TESTFS1 && \
43 log_must zfs destroy -Rf $TESTPOOL/$TESTFS1
52 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
54 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1/child"
55 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@1
56 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1
57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2
58 log_must zfs create $TESTPOOL/$TESTFS1/child/A
59 log_must zfs create $TESTPOOL/$TESTFS1/clone1/B
60 log_must zfs create $TESTPOOL/$TESTFS1/clone2/C
[all …]
H A Dzfs_change-key_child.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy -r $TESTPOOL/$TESTFS1
56 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
57 log_must zfs create $TESTPOOL/$TESTFS1/child
58 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/child2
61 "$TESTPOOL/$TESTFS1/child"
64 "$TESTPOOL/$TESTFS1/child"
67 "$TESTPOOL/$TESTFS1/child"
69 log_must zfs unmount $TESTPOOL/$TESTFS1/child
70 log_must zfs unload-key $TESTPOOL/$TESTFS1/child
[all …]
H A Dzfs_change-key_inherit.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -r $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
56 "$TESTPOOL/$TESTFS1/child"
58 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child \
59 "$TESTPOOL/$TESTFS1/child"
61 log_must zfs change-key -i $TESTPOOL/$TESTFS1/child
62 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child "$TESTPOOL/$TESTFS1"
64 log_must zfs unmount $TESTPOOL/$TESTFS1
65 log_must zfs unload-key $TESTPOOL/$TESTFS1
[all …]
H A Dzfs_change-key_format.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 log_must zfs destroy -f $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
54 log_must zfs unmount $TESTPOOL/$TESTFS1
56 log_must verify_keyformat $TESTPOOL/$TESTFS1 "passphrase"
59 "$TESTPOOL/$TESTFS1"
60 log_must verify_keyformat $TESTPOOL/$TESTFS1 "hex"
62 log_must zfs unload-key $TESTPOOL/$TESTFS1
63 log_must eval "echo $HEXKEY | zfs load-key $TESTPOOL/$TESTFS1"
66 "$TESTPOOL/$TESTFS1"
[all …]
H A Dzfs_change-key_location.ksh42 datasetexists $TESTPOOL/$TESTFS1 && \
43 log_must zfs destroy -f $TESTPOOL/$TESTFS1
51 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
52 log_must verify_keylocation $TESTPOOL/$TESTFS1 "file:///$TESTPOOL/pkey"
55 "$TESTPOOL/$TESTFS1"
56 log_must verify_keylocation $TESTPOOL/$TESTFS1 "prompt"
58 log_must zfs unmount $TESTPOOL/$TESTFS1
59 log_must zfs unload-key $TESTPOOL/$TESTFS1
60 log_must eval "echo $PASSPHRASE1 | zfs load-key $TESTPOOL/$TESTFS1"
62 log_mustnot zfs change-key -o keylocation=none $TESTPOOL/$TESTFS1
[all …]
H A Dzfs_change-key.ksh42 datasetexists $TESTPOOL/$TESTFS1 && \
43 log_must zfs destroy -f $TESTPOOL/$TESTFS1
50 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
51 log_must eval "echo $PASSPHRASE2 | zfs change-key $TESTPOOL/$TESTFS1"
53 log_must zfs unmount $TESTPOOL/$TESTFS1
54 log_must zfs unload-key $TESTPOOL/$TESTFS1
56 log_mustnot eval "echo $PASSPHRASE1 | zfs load-key $TESTPOOL/$TESTFS1"
57 log_must key_unavailable $TESTPOOL/$TESTFS1
59 log_must eval "echo $PASSPHRASE2 | zfs load-key $TESTPOOL/$TESTFS1"
60 log_must key_available $TESTPOOL/$TESTFS1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh33 datasetexists $TESTPOOL/$TESTFS1 && zfs destroy -R $TESTPOOL/$TESTFS1
42 zfs create $TESTPOOL/$TESTFS1
47 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
51 log_must zfs destroy $TESTPOOL/$TESTFS1@$snaplist
57 log_mustnot zfs destroy $TESTPOOL/$TESTFS1@snap12,snap21,sna@pple1@,s""nappy2
61 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
63 log_must zfs destroy $TESTPOOL/$TESTFS1@snap1,snap2,snapple1,snappy2,snap3
65 log_mustnot snapexists $TESTPOOL/$TESTFS1@snap$i
70 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
72 log_must zfs destroy $TESTPOOL/$TESTFS1@snap1,@,snap2,,,,snap3,
[all …]
H A Dzfs_destroy_016_pos.ksh32 datasetexists $TESTPOOL/$TESTFS1 && \
33 log_must zfs destroy -R $TESTPOOL/$TESTFS1
41 datasetexists $TESTPOOL/$TESTFS1@snap$i && \
42 log_must zfs destroy $TESTPOOL/$TESTFS1@snap$i
45 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
55 snapexists $TESTPOOL/$TESTFS1@snap$i || \
57 "$TESTPOOL/$TESTFS1@snap$i"
64 snapexists $TESTPOOL/$TESTFS1@snap$i && \
66 "$TESTPOOL/$TESTFS1@snap$i"
75 @snap1%$TESTPOOL/$TESTFS1@snap5 @snap1%%snap5 @snap1%@snap5 \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh54 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
55 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
57 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
58 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
61 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
62 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTCTR/$TESTFS1 \
63 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \
64 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
65 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS1 \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh39 datasetexists $ds && log_must zfs destroy -R $TESTPOOL/$TESTFS1
51 datasets="$TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS2 \
52 $TESTPOOL/$TESTFS1/$TESTFS2/$TESTFS3"
70 log_must zfs create -p $TESTPOOL/$TESTFS1/$TESTFS2/$TESTFS3
72 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
73 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS1/testfile.$i bs=1M \
76 written=$(get_prop written $TESTPOOL/$TESTFS1)
87 written=$(get_prop written $TESTPOOL/$TESTFS1@snap$i)
92 get_prop referenced $TESTPOOL/$TESTFS1@snap$i)
108 writtenat=$(get_prop written@snap$i $TESTPOOL/$TESTFS1)
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend_mixed_raw.ksh55 datasetexists $TESTPOOL/$TESTFS1 && \
56 log_must zfs destroy -r $TESTPOOL/$TESTFS1
65 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
67 log_must zfs snapshot $TESTPOOL/$TESTFS1@1
68 log_must touch /$TESTPOOL/$TESTFS1/a
69 log_must zfs snapshot $TESTPOOL/$TESTFS1@2
70 log_must touch /$TESTPOOL/$TESTFS1/b
71 log_must zfs snapshot $TESTPOOL/$TESTFS1@3
74 log_must eval "zfs send -w $TESTPOOL/$TESTFS1@1 |" \
81 log_must eval "zfs send -i $TESTPOOL/$TESTFS1@1 $TESTPOOL/$TESTFS1@2 |" \
[all …]
H A Dsend_holds.ksh64 datasetexists $recv_root/$TESTFS1 &&
65 log_must destroy_dataset "$recv_root/$TESTFS1" "-Rf"
67 datasetexists $TESTPOOL/$TESTFS1 && log_must destroy_dataset "$TESTPOOL/$TESTFS1" "-Rf"
91 init_snap=$TESTPOOL/$TESTFS1@init_snap
92 inc_snap=$TESTPOOL/$TESTFS1@inc_snap
93 inc_snap2=$TESTPOOL/$TESTFS1@inc_snap2
94 inc_snap3=$TESTPOOL/$TESTFS1@inc_snap3
101 recv_snap=$recv_root/$TESTFS1@init_snap
102 recv_inc_snap=$recv_root/$TESTFS1@inc_snap
103 recv_inc_snap2=$recv_root/$TESTFS1@inc_snap2
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_encryptionroot.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -Rf $TESTPOOL/$TESTFS1
56 snaproot="$TESTPOOL/$TESTFS1@snap1"
60 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
66 log_must zfs create $TESTPOOL/$TESTFS1/child0
70 log_must verify_encryption_root $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1
71 log_must verify_encryption_root $TESTPOOL/clone1 $TESTPOOL/$TESTFS1
72 log_must verify_encryption_root $TESTPOOL/clone2 $TESTPOOL/$TESTFS1
73 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child0 $TESTPOOL/$TESTFS1
74 log_must verify_encryption_root $TESTPOOL/clone1/child1 $TESTPOOL/$TESTFS1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_keylocation.ksh47 datasetexists $TESTPOOL/$TESTFS1 && \
48 log_must zfs destroy -r $TESTPOOL/$TESTFS1
64 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
66 log_mustnot zfs set keylocation=none $TESTPOOL/$TESTFS1
67 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS1
69 log_must zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
70 log_must verify_keylocation $TESTPOOL/$TESTFS1 "file:///$TESTPOOL/pkey"
72 log_must zfs set keylocation=prompt $TESTPOOL/$TESTFS1
73 log_must verify_keylocation $TESTPOOL/$TESTFS1 "prompt"
75 log_must zfs unmount $TESTPOOL/$TESTFS1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_encrypted.ksh48 datasetexists $TESTPOOL/$TESTFS1 && \
49 log_must zfs destroy -r $TESTPOOL/$TESTFS1
56 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
57 log_must zfs snapshot $TESTPOOL/$TESTFS1@now
59 log_mustnot zfs clone -o encryption=off $TESTPOOL/$TESTFS1@now \
62 "$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2"
63 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2
64 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS1/child
66 log_must verify_encryption_root $TESTPOOL/$TESTFS2 $TESTPOOL/$TESTFS1
67 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_dryrun.ksh45 datasetexists "$TESTPOOL/$TESTFS1" &&
46 log_fail "$TESTPOOL/$TESTFS1 unexpectedly created by '${cmd[@]}'"
64 datasetexists "$TESTPOOL/$TESTFS1" &&
65 log_fail "$TESTPOOL/$TESTFS1 unexpectedly created by '${cmd[@]}'"
93 datasetexists "$TESTPOOL/$TESTFS1" &&
94 log_fail "$TESTPOOL/$TESTFS1 unexpectedly created by '${cmd[@]}'"
129 if datasetexists "$TESTPOOL/$TESTFS1"; then
130 log_must zfs destroy -r "$TESTPOOL/$TESTFS1"
139 dry_create_no_output "$TESTPOOL/$TESTFS1"
140 dry_create_no_output -V 10m "$TESTPOOL/$TESTFS1"
[all …]
H A Dzfs_create_encrypted.ksh72 datasetexists $TESTPOOL/$TESTFS1 && \
73 log_must zfs destroy -r $TESTPOOL/$TESTFS1
83 log_must zfs create $TESTPOOL/$TESTFS1
84 log_mustnot zfs create -o keyformat=passphrase $TESTPOOL/$TESTFS1/c1
85 log_mustnot zfs create -o keylocation=prompt $TESTPOOL/$TESTFS1/c1
87 $TESTPOOL/$TESTFS1/c1
89 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/c1
91 $TESTPOOL/$TESTFS1/c2
93 $TESTPOOL/$TESTFS1/c2
95 -o keylocation=prompt $TESTPOOL/$TESTFS1/c2
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_encrypted.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -f $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
55 log_must zfs unmount $TESTPOOL/$TESTFS1
56 log_must zfs unload-key $TESTPOOL/$TESTFS1
57 log_must key_unavailable $TESTPOOL/$TESTFS1
60 unmounted $TESTPOOL/$TESTFS1 || \
61 log_fail "Filesystem $TESTPOOL/$TESTFS1 is mounted"
63 log_must eval "echo $PASSPHRASE | zfs mount -l $TESTPOOL/$TESTFS1"
64 log_must key_available $TESTPOOL/$TESTFS1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_location.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy $TESTPOOL/$TESTFS1
59 -o keylocation=file://$key_location $TESTPOOL/$TESTFS1
61 log_must zfs unmount $TESTPOOL/$TESTFS1
62 log_must zfs unload-key $TESTPOOL/$TESTFS1
64 log_must zfs load-key -L file:///$TESTPOOL/pkey2 $TESTPOOL/$TESTFS1
65 log_must key_available $TESTPOOL/$TESTFS1
66 log_must verify_keylocation $TESTPOOL/$TESTFS1 "file://$key_location"
68 log_must zfs unload-key $TESTPOOL/$TESTFS1
69 log_must eval "echo $PASSPHRASE | zfs load-key -L prompt $TESTPOOL/$TESTFS1"
[all …]
H A Dzfs_load-key_recursive.ksh41 datasetexists $TESTPOOL/$TESTFS1 && \
42 log_must zfs destroy -r $TESTPOOL/$TESTFS1
50 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
53 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
55 log_must zfs unmount $TESTPOOL/$TESTFS1
56 log_must zfs unload-key $TESTPOOL/$TESTFS1/child
57 log_must zfs unload-key $TESTPOOL/$TESTFS1
60 log_must key_available $TESTPOOL/$TESTFS1
61 log_must key_available $TESTPOOL/$TESTFS1/child
63 log_must zfs mount $TESTPOOL/$TESTFS1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_to_encrypted.ksh43 datasetexists $TESTPOOL/$TESTFS1 && \
44 log_must zfs destroy -r $TESTPOOL/$TESTFS1
58 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
61 log_must eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS1/c1"
64 log_mustnot eval "zfs send -p $snap | zfs receive $TESTPOOL/$TESTFS1/c2"
67 log_mustnot eval "zfs send -R $snap | zfs receive $TESTPOOL/$TESTFS1/c3"
71 log_must zfs unmount $TESTPOOL/$TESTFS1
72 log_must zfs unload-key $TESTPOOL/$TESTFS1
73 log_mustnot eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS1/c4"
H A Dzfs_receive_raw.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy -r $TESTPOOL/$TESTFS1
58 typeset snap="$TESTPOOL/$TESTFS1@snap"
61 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
63 log_must mkfile 1M /$TESTPOOL/$TESTFS1/$TESTFILE0
64 typeset checksum=$(digest -a md5 /$TESTPOOL/$TESTFS1/$TESTFILE0)
81 log_must eval "zfs send -w $snap | zfs receive $TESTPOOL/$TESTFS1/c1"
83 keystatus=$(get_prop keystatus $TESTPOOL/$TESTFS1/c1)
87 log_must eval "echo $passphrase | zfs mount -l $TESTPOOL/$TESTFS1/c1"
88 typeset cksum2=$(digest -a md5 /$TESTPOOL/$TESTFS1/c1/$TESTFILE0)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.change_key.ksh33 datasetexists $TESTPOOL/$TESTFS1 && \
34 log_must zfs destroy -f $TESTPOOL/$TESTFS1
41 "-o keyformat=hex -o keylocation=prompt $TESTPOOL/$TESTFS1"
43 log_must $ZCP_ROOT/synctask_core/change_key.exe $TESTPOOL/$TESTFS1 $HEXKEY1
48 log_must zfs unmount $TESTPOOL/$TESTFS1
49 log_must zfs unload-key $TESTPOOL/$TESTFS1
51 log_mustnot eval "echo $HEXKEY | zfs load-key $TESTPOOL/$TESTFS1"
52 log_must key_unavailable $TESTPOOL/$TESTFS1
54 log_must eval "echo $HEXKEY1 | zfs load-key $TESTPOOL/$TESTFS1"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key_recursive.ksh43 datasetexists $TESTPOOL/$TESTFS1 && \
44 log_must zfs destroy -r $TESTPOOL/$TESTFS1
52 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
54 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
58 log_must zfs unmount $TESTPOOL/$TESTFS1
61 log_must zfs unload-key -r $TESTPOOL/$TESTFS1
63 log_must key_unavailable $TESTPOOL/$TESTFS1
64 log_must key_unavailable $TESTPOOL/$TESTFS1/child
68 log_mustnot zfs mount $TESTPOOL/$TESTFS1
69 log_mustnot zfs mount $TESTPOOL/$TESTFS1/child
H A Dzfs_unload-key.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 log_must zfs destroy $TESTPOOL/$TESTFS1
59 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
60 log_mustnot zfs unload-key $TESTPOOL/$TESTFS1
61 log_must key_available $TESTPOOL/$TESTFS1
63 log_must zfs unmount $TESTPOOL/$TESTFS1
64 log_must zfs unload-key $TESTPOOL/$TESTFS1
65 log_must key_unavailable $TESTPOOL/$TESTFS1
67 log_mustnot zfs unload-key $TESTPOOL/$TESTFS1

1234567