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.ksh56 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1
57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2
62 log_must verify_encryption_root $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1
63 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1/child
72 log_must verify_encryption_root $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1
73 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1
74 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone1 $TESTPOOL/$TESTFS1
75 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone2 $TESTPOOL/$TESTFS1
76 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child/A $TESTPOOL/$TESTFS1
77 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone1/B $TESTPOOL/$TESTFS1
[all …]
H A Dzfs_change-key_child.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy -r $TESTPOOL/$TESTFS1
57 log_must zfs create $TESTPOOL/$TESTFS1/child
61 "$TESTPOOL/$TESTFS1/child"
64 "$TESTPOOL/$TESTFS1/child"
67 "$TESTPOOL/$TESTFS1/child"
69 log_must zfs unmount $TESTPOOL/$TESTFS1/child
76 log_must zfs destroy $TESTPOOL/$TESTFS1/child
77 log_must zfs create $TESTPOOL/$TESTFS1/child
82 log_must zfs unmount $TESTPOOL/$TESTFS1/child
[all …]
H A Dzfs_change-key_inherit.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -r $TESTPOOL/$TESTFS1
56 "$TESTPOOL/$TESTFS1/child"
59 "$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
67 log_must key_unavailable $TESTPOOL/$TESTFS1
72 log_must key_available $TESTPOOL/$TESTFS1
75 log_must zfs mount $TESTPOOL/$TESTFS1
[all …]
H A Dzfs_change-key_format.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 log_must zfs destroy -f $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"
67 log_must verify_keyformat $TESTPOOL/$TESTFS1 "raw"
[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
107 log_must zfs clone $TESTPOOL/$TESTFS1@snap$i $TESTPOOL/$TESTFS1/clone$i
138 log_must snapexists $TESTPOOL/$TESTFS1@snap3
146 log_must zfs create $TESTPOOL2/$TESTFS1
148 long_arg=$TESTPOOL2/$TESTFS1@snap,$TESTPOOL/$TESTFS1@snap3,
149 long_arg=$long_arg$TESTPOOL/$TESTFS1@snap5
152 log_must snapexists $TESTPOOL/$TESTFS1@snap3
153 log_must snapexists $TESTPOOL/$TESTFS1@snap5
158 log_must snapexists $TESTPOOL/$TESTFS1@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 && \
55 snapexists $TESTPOOL/$TESTFS1@snap$i || \
57 "$TESTPOOL/$TESTFS1@snap$i"
64 snapexists $TESTPOOL/$TESTFS1@snap$i && \
66 "$TESTPOOL/$TESTFS1@snap$i"
81 log_must zfs create $TESTPOOL/$TESTFS1
88 log_must zfs destroy $TESTPOOL/$TESTFS1$args
103 log_must zfs destroy $TESTPOOL/$TESTFS1@%snap3
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh55 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
57 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
61 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
65 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS1 \
69 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \
75 $TESTPOOL/$TESTFS1 $TESTPOOL/${TESTFS1}%c \
76 $TESTPOOL/$TESTFS1 $TESTPOOL/${TESTFS1}%d \
77 $TESTPOOL/$TESTFS1 $TESTPOOL/${TESTFS1}%x \
78 $TESTPOOL/$TESTFS1 $TESTPOOL/${TESTFS1}%p \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh51 datasets="$TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS2 \
52 $TESTPOOL/$TESTFS1/$TESTFS2/$TESTFS3"
72 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
76 written=$(get_prop written $TESTPOOL/$TESTFS1)
117 log_must rm /$TESTPOOL/$TESTFS1/testfile.3
120 written=$(get_prop written $TESTPOOL/$TESTFS1)
142 written=$(get_prop written $TESTPOOL/$TESTFS1)
163 log_must zfs clone $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS1/snap1.clone
175 log_must zfs destroy $TESTPOOL/$TESTFS1@snap2
188 log_must zfs destroy $TESTPOOL/$TESTFS1@snap3
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend_mixed_raw.ksh55 datasetexists $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
81 log_must eval "zfs send -i $TESTPOOL/$TESTFS1@1 $TESTPOOL/$TESTFS1@2 |" \
86 log_mustnot eval "zfs send -w -i $TESTPOOL/$TESTFS1@2 $TESTPOOL/$TESTFS1@3 |" \
95 log_must zfs bookmark $TESTPOOL/$TESTFS1@1 $TESTPOOL/$TESTFS1#b1
96 log_must zfs bookmark $TESTPOOL/$TESTFS1@2 $TESTPOOL/$TESTFS1#b2
[all …]
H A Dsend_holds.ksh64 datasetexists $recv_root/$TESTFS1 &&
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
105 recv_data=$TESTDIR1/$TESTFS1/$TESTFILE1
106 recv_inc_data=$TESTDIR1/$TESTFS1/$TESTFILE2
[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
78 log_must verify_encryption_root $TESTPOOL/$TESTFS1 $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
72 log_must zfs set keylocation=prompt $TESTPOOL/$TESTFS1
73 log_must verify_keylocation $TESTPOOL/$TESTFS1 "prompt"
75 log_must zfs unmount $TESTPOOL/$TESTFS1
76 log_must zfs unload-key $TESTPOOL/$TESTFS1
80 log_must zfs mount $TESTPOOL/$TESTFS1
82 log_must zfs create $TESTPOOL/$TESTFS1/child
[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
57 log_must zfs snapshot $TESTPOOL/$TESTFS1@now
62 "$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2"
64 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS1/child
67 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1
69 log_must zfs unmount $TESTPOOL/$TESTFS1
75 log_must key_available $TESTPOOL/$TESTFS1
76 log_must key_available $TESTPOOL/$TESTFS1/child
79 log_must zfs mount $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" &&
64 datasetexists "$TESTPOOL/$TESTFS1" &&
93 datasetexists "$TESTPOOL/$TESTFS1" &&
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"
142 dry_create_no_output -V 100t "$TESTPOOL/$TESTFS1"
144 dry_create_no_output -p "$TESTPOOL/$TESTFS1/$TESTFS2"
148 dry_create_error -o nosuchprop=42 "$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
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
97 log_mustnot zfs create -o encryption=on $TESTPOOL/$TESTFS1/c2
99 $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"
64 log_must key_available $TESTPOOL/$TESTFS1
66 mounted $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
70 log_must key_available $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