/titanic_44/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | rsend_011_pos.ksh | 48 export __ZFS_POOL_RESTRICT="$POOL $POOL2" 51 log_must cleanup_pool $POOL 54 log_must setup_test_model $POOL 64 value=$(get_prop $prop $POOL/$FS) 65 log_must $ZFS set $prop=$value $POOL/$FS 71 for ds in "$POOL/$FS/fs1" "$POOL/$FS/fs1/fs2" "$POOL/$FS/fs1/fclone" ; do 81 $ZFS inherit $prop $POOL/$FS/vol 83 log_fail "$ZFS inherit $prop $POOL/$FS/vol" 92 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-R" 93 log_must $ZFS unmount -f $POOL/$FS [all …]
|
H A D | rsend_012_pos.ksh | 101 log_must cleanup_pool $POOL 104 log_must edited_prop "set" $POOL 109 log_must $ZFS inherit $prop $POOL 116 log_must setup_test_model $POOL 127 log_must edited_prop "get" $POOL 130 for fs in "$POOL" "$POOL/pclone" "$POOL/$FS" "$POOL/$FS/fs1" \ 131 "$POOL/$FS/fs1/fs2" "$POOL/$FS/fs1/fclone" ; do 151 for vol in "$POOL/vol" "$POOL/$FS/vol" ; do 163 rand_set_prop $POOL sharenfs "on" "off" "rw" 168 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" [all …]
|
H A D | rsend_006_pos.ksh | 49 set -A snaps "$POOL@init" "$POOL@snap0" \ 50 "$POOL@snapA" "$POOL@snap1" \ 51 "$POOL@snapC" "$POOL@snap2" \ 52 "$POOL@final" "$POOL@init" 56 log_must cleanup_pool $POOL 59 log_must setup_test_model $POOL 75 log_must eval "$ZFS send -R $POOL@init > $BACKDIR/pool-final-R" 78 dstds=$(get_dst_ds $POOL $POOL2) 79 log_must cmp_ds_subs $POOL $dstds 80 log_must cmp_ds_cont $POOL $dstds
|
H A D | rsend_008_pos.ksh | 48 set -A dtst "$POOL" "$POOL/pclone" \ 49 "$POOL/$FS/fs1/fs2" "$POOL/$FS/fs1/fclone" 52 dtst[((n))]="$POOL/$FS/vol"; dtst[((n+1))]="$POOL/$FS/vclone" 89 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 92 dstds=$(get_dst_ds $POOL $POOL2) 96 set -A pair "$POOL" "$dstds" \ 97 "$POOL/$FS" "$dstds/$FS" \ 98 "$POOL/$FS/fs1" "$dstds/$FS/fs1" \ 99 "$POOL/$FS/fs1/fs2" "$dstds/$FS/fs1/fs2" \ 100 "$POOL/pclone" "$dstds/pclone" \ [all …]
|
H A D | rsend_007_pos.ksh | 47 "$POOL/pclone" "$POOL/$FS/pclone" \ 48 "$POOL/$FS/fs1/fs2" "$POOL/fs2" 51 dtst[((n))]="$POOL/vol"; dtst[((n+1))]="$POOL/$FS/fs1/vol" 56 log_must cleanup_pool $POOL 59 log_must setup_test_model $POOL 75 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 77 dstds=$(get_dst_ds $POOL $POOL2) 78 log_must cmp_ds_subs $POOL $dstds 79 log_must cmp_ds_cont $POOL $dstds 96 log_must cmp_ds_subs $POOL $dstds [all …]
|
H A D | rsend_014_pos.ksh | 36 log_must eval "$ZPOOL export $POOL" 37 log_must eval "$ZPOOL import -o readonly=on $POOL" 38 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 41 dstds=$(get_dst_ds $POOL $POOL2) 42 log_must cmp_ds_subs $POOL $dstds 43 log_must cmp_ds_cont $POOL $dstds 47 log_must eval "$ZFS send -R $POOL/$FS@final > $BACKDIR/fs-final-R" 49 log_must eval "$ZPOOL export $POOL" 50 log_must eval "$ZPOOL import $POOL" 52 dstds=$(get_dst_ds $POOL/$FS $POOL2) [all …]
|
H A D | rsend_013_pos.ksh | 53 cleanup_pool $POOL 54 log_must setup_test_model $POOL 66 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 69 log_must $ZFS destroy -Rf $POOL/$FS 70 log_must $ZFS destroy -Rf $POOL/pclone 73 log_must $ZFS destroy -Rf $POOL/vol 75 log_must $ZFS snapshot -r $POOL@destroy 77 log_must eval "$ZFS send -R -I @final $POOL@destroy > " \ 81 dstds=$(get_dst_ds $POOL $POOL2) 82 log_must cmp_ds_subs $POOL $dstds [all …]
|
H A D | rsend_001_pos.ksh | 53 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 56 dstds=$(get_dst_ds $POOL $POOL2) 57 log_must cmp_ds_subs $POOL $dstds 58 log_must cmp_ds_cont $POOL $dstds 66 log_must eval "$ZFS send -R $POOL/$FS@final > $BACKDIR/fs-final-R" 69 dstds=$(get_dst_ds $POOL/$FS $POOL2) 70 log_must cmp_ds_subs $POOL/$FS $dstds 71 log_must cmp_ds_cont $POOL/$FS $dstds
|
H A D | rsend_003_pos.ksh | 53 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-R" 64 log_must cmp_ds_subs $POOL $POOL2 65 log_must cmp_ds_cont $POOL $POOL2 68 dstds=$(get_dst_ds $POOL $POOL2) 79 log_must cmp_ds_subs $POOL $dstds 80 log_must cmp_ds_cont $POOL $dstds 91 log_must cmp_ds_subs $POOL $POOL2 92 log_must cmp_ds_cont $POOL $POOL2
|
H A D | rsend_002_pos.ksh | 53 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-R" 64 log_must cmp_ds_subs $POOL $POOL2 65 log_must cmp_ds_cont $POOL $POOL2 68 dstds=$(get_dst_ds $POOL $POOL2) 76 log_must cmp_ds_subs $POOL $dstds 77 log_must cmp_ds_cont $POOL $dstds 89 log_must cmp_ds_subs $POOL $POOL2 90 log_must cmp_ds_cont $POOL $POOL2
|
H A D | rsend_022_pos.ksh | 45 sendfs=$POOL/sendfs 47 streamfs=$POOL/stream 49 test_fs_setup $POOL $POOL2 52 log_must $ZFS receive -v $recvfs </$POOL/initial.zsend 55 log_must $ZFS receive -v $sendfs </$POOL/initial.zsend 56 log_must $ZFS receive -v $sendfs </$POOL/incremental.zsend
|
H A D | rsend_005_pos.ksh | 54 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 69 log_must cmp_ds_cont $POOL $POOL2 72 dstds=$(get_dst_ds $POOL $POOL2) 88 log_must cmp_ds_subs $POOL $dstds 89 log_must cmp_ds_cont $POOL $dstds 100 log_must cmp_ds_subs $POOL $POOL2 101 log_must cmp_ds_cont $POOL $POOL2
|
H A D | rsend_004_pos.ksh | 54 log_must eval "$ZFS send -R $POOL@final > $BACKDIR/pool-final-R" 76 log_must cmp_ds_cont $POOL $POOL2 79 dstds=$(get_dst_ds $POOL $POOL2) 101 log_must cmp_ds_cont $POOL $POOL2 117 log_must cmp_ds_cont $POOL $POOL2
|
H A D | rsend_020_pos.ksh | 40 sendfs=$POOL/sendfs 42 streamfs=$POOL/stream 44 test_fs_setup $POOL $POOL2
|
H A D | rsend_019_pos.ksh | 41 sendfs=$POOL/sendfs 43 streamfs=$POOL/stream 45 test_fs_setup $POOL $POOL2
|
H A D | rsend_021_pos.ksh | 42 sendfs=$POOL/sendfs 44 streamfs=$POOL/stream 46 test_fs_setup $POOL $POOL2
|
H A D | rsend_024_pos.ksh | 42 sendfs=$POOL/sendfs 44 streamfs=$POOL/stream 46 test_fs_setup $POOL $POOL2
|
H A D | cleanup.ksh | 37 destroy_pool $POOL 40 cleanup_pool $POOL
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/bootfs/ |
H A D | bootfs_006_pos.ksh | 55 POOL=$1 56 log_must $ZFS create $POOL/$TESTFS 58 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL 59 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' ) 60 if [ $VAL != "$POOL/$TESTFS" ] 62 log_must $ZPOOL status -v $POOL 64 "set/get failed on $POOL - expected $VAL == $POOL/$TESTFS" 66 log_must $ZPOOL destroy $POOL 70 POOL=$1 71 log_must $ZFS create $POOL/$TESTFS [all …]
|
H A D | bootfs_003_pos.ksh | 46 if poolexists $POOL ; then 47 log_must $ZPOOL destroy $POOL 68 POOL=${pools[$i]} 69 log_must $ZPOOL create $POOL /bootfs_003.$$.dat 70 log_must $ZFS create $POOL/$TESTFS 72 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL 73 RES=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' ) 74 if [ $RES != "$POOL/$TESTFS" ] 76 log_fail "Expected $RES == $POOL/$TESTFS" 78 log_must $ZPOOL destroy $POOL
|
H A D | bootfs_004_neg.ksh | 47 if poolexists $POOL; then 48 log_must $ZPOOL destroy $POOL 83 POOL=${pools[$i]}/$TESTFS 84 log_mustnot $ZPOOL create $POOL /bootfs_004.$$.dat 85 log_mustnot $ZFS create $POOL/$TESTFS 86 log_mustnot $ZPOOL set bootfs=$POOL/$TESTFS $POOL
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_007_pos.ksh | 57 POOL=$1 58 log_must $ZFS create -o recordsize=8k $POOL/fs 59 mntpnt=$(get_prop mountpoint "$POOL/fs") 63 log_must $ZFS snapshot $POOL/fs@a 71 log_must $ZFS snapshot $POOL/fs@b 73 log_must eval "$ZFS send $POOL/fs@a > $streamfile" 74 $CAT $streamfile | log_must $ZFS receive $POOL/recvfs 76 log_must eval "$ZFS send -i @a $POOL/fs@b > $streamfile" 77 $CAT $streamfile | log_must $ZFS receive $POOL/recvfs 79 recv_mntpnt=$(get_prop mountpoint "$POOL/recvfs") [all …]
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.kshlib | 110 POOL=$1 112 $FIND /$POOL -type f -exec $CKSUM {} + > \ 113 /$TESTPOOL/pool-checksums.$POOL.$STATE 114 echo /$TESTPOOL/pool-checksums.$POOL.$STATE 123 POOL=$1 127 ACTUAL=$($ZDB -C $POOL | $SED -n 's/version: \(.*\)$/\1/p') 131 log_fail "$POOL not upgraded, ver. $ACTUAL, expected $VERSION" 135 ACTUAL=$($ZPOOL upgrade | $GREP $POOL$ | \ 139 log_fail "$POOL reported version $ACTUAL, expected $VERSION"
|
/titanic_44/usr/src/cmd/fs.d/zfs/bootinstall/ |
H A D | bootinstall.sh | 36 POOL="$1" 39 if [ -z "${POOL}" -o -z "${DEV}" ]; then 46 if [ "$CURPOOL" != "$POOL" ] ; then
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/scrub_mirror/ |
H A D | scrub_mirror_common.kshlib | 34 typeset POOL=$1 55 log_must $ZPOOL scrub $POOL 57 while is_pool_scrubbing $POOL; do
|