/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/ |
H A D | bootfs_006_pos.ksh | 48 zpool set 2>&1 | grep bootfs > /dev/null 63 log_must zpool set bootfs=$POOL/$TESTFS $POOL 64 VAL=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' ) 67 log_must zpool status -v $POOL 71 log_must zpool destroy $POOL 77 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL 78 VAL=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' ) 81 log_must zpool status -v $POOL 84 log_must zpool destroy $POOL 90 log_must zpool destroy $TESTPOOL [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | import_cachefile_device_removed.ksh | 51 log_must zpool create -o cachefile=$CPATH $TESTPOOL1 $poolcreate 55 log_must zpool remove $TESTPOOL1 $removevdev 59 log_must zpool export $TESTPOOL1 61 log_must zpool import -c $CPATHBKP $TESTPOOL1 65 log_must zpool destroy $TESTPOOL1 79 log_must zpool create -o cachefile=$CPATH $TESTPOOL1 \ 84 log_must zpool remove $TESTPOOL1 $VDEV4 87 log_must zpool remove $TESTPOOL1 $VDEV3 91 log_must zpool export $TESTPOOL1 93 log_must zpool import -c $CPATHBKP $TESTPOOL1 [all …]
|
H A D | zpool_import_007_pos.ksh | 66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDIV3 73 log_must zpool destroy $TESTPOOL1 75 log_must zpool create $TESTPOOL2 $VDEV0 76 log_must zpool import -d $DEVICE_DIR -D -f $target 77 log_must zpool destroy $TESTPOOL1 79 log_must zpool destroy $TESTPOOL2 81 log_must zpool import -d $DEVICE_DIR -D -f $target 82 log_must zpool destroy $TESTPOOL1 86 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 87 log_mustnot zpool import -d $DEVICE_DIR -D -f $target [all …]
|
H A D | zpool_import_008_pos.ksh | 66 log_must zpool create $TESTPOOL1 raidz2 $VDEV0 $VDEV1 $VDEV2 $VDIV3 73 log_must zpool destroy $TESTPOOL1 75 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 76 log_must zpool import -d $DEVICE_DIR -D -f $target 77 log_must zpool destroy $TESTPOOL1 79 log_must zpool destroy $TESTPOOL2 81 log_must zpool import -d $DEVICE_DIR -D -f $target 82 log_must zpool destroy $TESTPOOL1 87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 88 log_mustnot zpool import -d $DEVICE_DIR -D -f $target [all …]
|
H A D | zpool_import_010_pos.ksh | 71 log_must zpool create $poolA mirror $VDEV0 $VDEV1 $VDEV2 $VDEV3 $VDEV4 72 log_must zpool destroy $poolA 74 log_must zpool create $poolB $VDEV1 75 log_must zpool destroy $poolB 77 log_must zpool create $poolC raidz2 $VDEV2 $VDEV3 $VDEV4 78 log_must zpool destroy $poolC 80 log_must zpool create $poolD raidz $VDEV3 $VDEV4 81 log_must zpool destroy $poolD 83 log_must zpool create $poolE $VDEV4 84 log_must zpool destroy $poolE [all …]
|
H A D | import_rewind_device_replaced.ksh | 82 log_must zpool create $TESTPOOL1 $poolcreate 100 log_must zpool export $TESTPOOL1 101 log_must zpool import -d $DEVICE_DIR $TESTPOOL1 105 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby 109 log_must zpool export $TESTPOOL1 116 log_must zpool import -d $DEVICE_DIR -o readonly=on -T $txg $TESTPOOL1 121 log_must zpool export $TESTPOOL1 124 log_must zpool import -d $DEVICE_DIR $TESTPOOL1 127 log_must zpool export $TESTPOOL1 136 log_must zpool import -d $DEVICE_DIR -T $txg $TESTPOOL1 [all …]
|
H A D | import_cachefile_device_replaced.ksh | 78 log_must zpool create -o cachefile=$CPATH $TESTPOOL1 $poolcreate 85 log_must zpool export $TESTPOOL1 87 log_must zpool import -c $CPATH -o cachefile=$CPATH $TESTPOOL1 89 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby 96 log_must zpool export $TESTPOOL1 105 log_must zpool import -c $CPATH $TESTPOOL1 109 log_must zpool export $TESTPOOL1 116 log_must zpool import -c $CPATHBKP $TESTPOOL1 118 log_must zpool export $TESTPOOL1 123 log_must zpool import -c $CPATHBKP2 $TESTPOOL1 [all …]
|
H A D | import_rewind_config_changed.ksh | 68 log_must zpool create $TESTPOOL1 $poolcreate 83 log_must zpool add -f $TESTPOOL1 $addvdevs 86 log_must zpool attach $TESTPOOL1 $attachargs 89 log_must zpool detach $TESTPOOL1 $detachvdev 94 log_must zpool remove $TESTPOOL1 $removevdev 101 zpool export $TESTPOOL1 107 zpool import -d $DEVICE_DIR $TESTPOOL1 124 log_must zpool checkpoint $TESTPOOL1 128 log_must zpool export $TESTPOOL1 130 log_must zpool import -d $DEVICE_DIR -T $txg $TESTPOOL1 [all …]
|
H A D | zpool_import_all_001_pos.ksh | 68 log_must zpool export $pool 81 for pool in `zpool import | grep "pool:" | awk '{print $2}'`; do 82 zpool import -f $pool 85 for pool in `zpool import -d $DEVICE_DIR | grep "pool:" | awk '{print $2}'`; do 86 log_must zpool import -d $DEVICE_DIR -f $pool 96 log_must zpool export ${TESTPOOL}-$id 101 log_must zpool import -f ${TESTPOOL}-$id $TESTPOOL 156 log_must zpool export $TESTPOOL 157 log_must zpool import $TESTPOOL ${TESTPOOL}-0 159 log_must zpool export ${TESTPOOL}-0 [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/ |
H A D | zpool_export_004_pos.ksh | 56 datasetexists $TESTPOOL1 || log_must zpool import -d $mntpnt $TESTPOOL1 81 log_must zpool create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4 82 log_must zpool create $TESTPOOL2 mirror $vdev2 $vdev3 spare $vdev4 84 log_must zpool export $TESTPOOL1 85 log_must zpool import -d $mntpnt $TESTPOOL1 87 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 88 log_must zpool detach $TESTPOOL1 $vdev4 89 log_must zpool export $TESTPOOL1 90 log_must zpool import -d $mntpnt $TESTPOOL1 92 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/ |
H A D | alloc_class_003_pos.ksh | 36 log_must zpool create $TESTPOOL $type $ZPOOL_DISKS 39 log_must zpool add $TESTPOOL special mirror \ 41 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0 42 log_must zpool iostat -H $TESTPOOL $CLASS_DISK1 43 log_must zpool iostat -H $TESTPOOL $CLASS_DISK2 45 log_must zpool add $TESTPOOL special mirror \ 47 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0 48 log_must zpool iostat -H $TESTPOOL $CLASS_DISK1 50 log_must zpool add $TESTPOOL special $CLASS_DISK0 51 log_must zpool iostat -H $TESTPOOL $CLASS_DISK0 [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_encrypted.ksh | 67 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS 68 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS 69 log_mustnot zpool create -O keyformat=passphrase -O keylocation=prompt \ 72 log_must zpool create -O encryption=off $TESTPOOL $DISKS 73 log_must zpool destroy $TESTPOOL 75 log_mustnot zpool create -O encryption=off -O keylocation=prompt \ 77 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \ 79 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \ 82 log_mustnot zpool create -O encryption=on $TESTPOOL $DISKS 83 log_mustnot zpool create -O encryption=on -O keylocation=prompt \ [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/ |
H A D | cachefile_004_pos.ksh | 82 log_must zpool create $TESTPOOL $DISKS 92 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL1 $vdev0 94 log_must zpool create -o cachefile=$CPATH1 $TESTPOOL2 $vdev1 97 log_must zpool set cachefile=$CPATH2 $TESTPOOL1 99 log_must zpool set cachefile=$CPATH2 $TESTPOOL2 105 log_must zpool export $TESTPOOL1 106 log_must zpool export $TESTPOOL2 111 log_must zpool import -d $mntpnt $TESTPOOL1 112 log_must zpool set cachefile=$CPATH2 $TESTPOOL1 114 log_must zpool import -d $mntpnt $TESTPOOL2 [all …]
|
H A D | cachefile_002_pos.ksh | 64 log_must zpool create -o cachefile=none $TESTPOOL $DISKS 68 log_must zpool export $TESTPOOL 69 log_must zpool import -d $DEVICEDIR $TESTPOOL 72 log_must zpool export $TESTPOOL 73 log_must zpool import -o cachefile=none -d $DEVICEDIR $TESTPOOL 76 log_must zpool export $TESTPOOL 77 log_must zpool import -o cachefile=$CPATH -d $DEVICEDIR $TESTPOOL 80 log_must zpool destroy $TESTPOOL
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_checkpoint/ |
H A D | checkpoint_discard_busy.ksh | 72 log_must zpool checkpoint $NESTEDPOOL 76 log_must zpool checkpoint -d $NESTEDPOOL 78 log_must zpool export $NESTEDPOOL 89 log_mustnot zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL 91 log_must zpool import -d $FILEDISKDIR $NESTEDPOOL 97 log_mustnot zpool checkpoint $NESTEDPOOL 98 log_mustnot zpool checkpoint -d $NESTEDPOOL 99 log_mustnot zpool remove $NESTEDPOOL $FILEDISK1 100 log_mustnot zpool reguid $NESTEDPOOL 107 log_must zpool export $NESTEDPOOL
|
H A D | pool_checkpoint.kshlib | 141 log_must zpool create $NESTEDPOOL $FILEDISKS 146 log_must zpool create $TESTPOOL "$TESTDISK" 158 log_must zpool destroy $NESTEDPOOL 166 log_must zpool destroy $TESTPOOL 176 zpool labelclear -f $disk 193 log_must zpool remove $NESTEDPOOL $disk 196 log_must zpool add $NESTEDPOOL $disk 315 log_must zpool list -v 329 log_must zpool list -v 340 log_must zpool export $NESTEDPOOL [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/longevity/ |
H A D | slop_space_test.ksh | 71 log_must zpool destroy $TESTPOOL 79 size_range=$(zpool list | awk '{print $1,$4}' | \ 83 size_range=$(zpool list | awk '{print $1,$4}' | \ 91 free=$(zpool list | awk '{print $1,$4}' | \ 96 free=$(zpool list | awk '{print $1,$4}' | \ 109 log_must zpool create $TESTPOOL $DISK 115 log_must zpool create $NESTEDPOOL $FILEDISK 128 log_must zpool list $NESTEDPOOL 148 log_must zpool list $NESTEDPOOL 150 log_must zpool checkpoint $NESTEDPOOL [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_attach/ |
H A D | attach-o_ashift.ksh | 62 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1 72 log_must zpool attach -o ashift=$cmdval $TESTPOOL1 \ 81 log_mustnot zpool attach -o ashift=$cmdval $TESTPOOL1 \ 85 log_must zpool destroy $TESTPOOL1 86 log_must zpool labelclear $disk1 87 log_must zpool labelclear $disk2 94 log_must zpool create $TESTPOOL1 $disk1 95 log_mustnot zpool attach $TESTPOOL1 -o ashift=$badval $disk1 $disk2 96 log_must zpool destroy $TESTPOOL1 97 log_must zpool labelclear $disk1 [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_replace/ |
H A D | replace-o_ashift.ksh | 62 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1 72 log_must zpool replace -o ashift=$cmdval $TESTPOOL1 \ 82 log_mustnot zpool replace -o ashift=$cmdval $TESTPOOL1 \ 86 log_must zpool destroy $TESTPOOL1 87 log_must zpool labelclear $disk1 88 log_must zpool labelclear $disk2 95 log_must zpool create $TESTPOOL1 $disk1 96 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2 97 log_must zpool destroy $TESTPOOL1 98 log_must zpool labelclear $disk1 [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_labelclear/ |
H A D | zpool_labelclear_active.ksh | 43 log_must zpool create -O mountpoint=none -f $TESTPOOL $disk1 log $disk2 46 log_mustnot zpool labelclear $disk1 48 log_mustnot zpool labelclear -f $disk1 50 log_mustnot zpool labelclear $disk2 52 log_mustnot zpool labelclear -f $disk2 58 log_must zpool add $TESTPOOL $vdevtype $disk3 59 log_mustnot zpool labelclear $disk3 61 log_mustnot zpool labelclear -f $disk3 63 log_must zpool remove $TESTPOOL $disk3 64 log_must zpool labelclear $disk3
|
H A D | zpool_labelclear_exported.ksh | 46 log_must zpool create -O mountpoint=none -f $TESTPOOL $disk1 log $disk2 49 log_must zpool add $TESTPOOL $vdevtype $disk3 52 log_must zpool export $TESTPOOL 55 log_mustnot zpool labelclear $disk1 57 log_mustnot zpool labelclear $disk2 61 log_must zpool labelclear -f $disk1 63 log_must zpool labelclear -f $disk2 68 log_must zpool labelclear $disk3
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/ |
H A D | add-o_ashift.ksh | 60 log_must zpool create $TESTPOOL $disk1 61 log_must zpool add -o ashift=$ashift $TESTPOOL $disk2 69 log_must zpool destroy $TESTPOOL 70 log_must zpool labelclear $disk1 71 log_must zpool labelclear $disk2 77 log_must zpool create $TESTPOOL $disk1 78 log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2 80 log_must zpool destroy $TESTPOOL 81 log_must zpool labelclear $disk1 82 log_mustnot zpool labelclear $disk2
|
H A D | add_prop_ashift.ksh | 62 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1 63 log_must zpool add $TESTPOOL $disk2 71 log_must zpool destroy $TESTPOOL 72 log_must zpool labelclear $disk1 73 log_must zpool labelclear $disk2 80 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1 81 log_must zpool add -o ashift=$cmdval $TESTPOOL $disk2 89 log_must zpool destroy $TESTPOOL 90 log_must zpool labelclear $disk1 91 log_must zpool labelclear $disk2
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
H A D | zpool_initialize_start_and_cancel_neg.ksh | 45 log_must zpool list -v 46 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3 47 log_must zpool initialize $TESTPOOL $DISK1 52 log_mustnot zpool initialize -c $TESTPOOL $DISK2 53 log_mustnot zpool initialize -c $TESTPOOL $DISK2 $DISK3 55 log_mustnot zpool initialize -s $TESTPOOL $DISK2 56 log_mustnot zpool initialize -s $TESTPOOL $DISK2 $DISK3 58 log_mustnot zpool initialize $TESTPOOL $DISK1
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_trim/ |
H A D | zpool_trim_start_and_cancel_neg.ksh | 41 log_must zpool list -v 42 log_must zpool create -f $TESTPOOL $DISK1 $DISK2 $DISK3 43 log_must zpool trim -r 128M $TESTPOOL $DISK1 48 log_mustnot zpool trim -c $TESTPOOL $DISK2 49 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3 51 log_mustnot zpool trim -s $TESTPOOL $DISK2 52 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3 54 log_mustnot zpool trim $TESTPOOL $DISK1
|