| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | Makefile.am | 7 sbin_PROGRAMS = zpool program 44 zpool.d/enc \ 50 zpool.d/label \ 52 zpool.d/lsblk \ 53 zpool.d/media \ 54 zpool.d/model \ 56 zpool.d/ses \ 57 zpool.d/size \ 58 zpool.d/slot \ 59 zpool.d/smart \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/man/man8/ |
| H A D | Makefile.am | 50 zpool.8 \ 53 zpool-add.8 \ 56 zpool-clear.8 \ 62 zpool-get.8 \ 68 zpool-list.8 \ 76 zpool-scrub.8 \ 77 zpool-set.8 \ 78 zpool-split.8 \ 80 zpool-sync.8 \ 81 zpool-trim.8 \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/ |
| H A D | bootfs_006_pos.ksh | 47 zpool set 2>&1 | grep bootfs > /dev/null 62 log_must zpool set bootfs=$POOL/$TESTFS $POOL 66 log_must zpool status -v $POOL 70 log_must zpool destroy $POOL 76 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL 80 log_must zpool status -v $POOL 83 log_must zpool destroy $POOL 89 log_must zpool destroy $TESTPOOL 105 log_must zpool create $TESTPOOL $VDEV1 122 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy_raidz.ksh | 72 log_must zpool export $pool 87 log_must zpool status -v $pool 91 log_must zpool clear $pool 97 log_must zpool export $pool 116 log_must zpool clear $pool 126 log_must zpool export $pool 135 log_must zpool scrub -w $pool 138 log_must zpool clear $pool 140 log_must zpool export $pool 149 log_must zpool scrub -w $pool [all …]
|
| H A D | redundancy_draid_spare3.ksh | 113 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0 114 log_must zpool detach $TESTPOOL $BASEDIR/vdev7 119 log_must zpool offline -f $TESTPOOL $BASEDIR/vdev8 121 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev8 draid1-0-1 136 log_must zpool offline -f $TESTPOOL $BASEDIR/vdev0 142 log_must zpool offline -f $TESTPOOL $BASEDIR/vdev2 161 log_must zpool offline -f $TESTPOOL $BASEDIR/vdev3 167 log_must zpool status -v $TESTPOOL 172 log_must zpool scrub -w $TESTPOOL 175 log_must zpool scrub -w $TESTPOOL [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
| H A D | add-o_ashift.ksh | 65 log_must zpool create $TESTPOOL $disk1 74 log_must zpool destroy $TESTPOOL 75 log_must zpool labelclear $disk1 76 log_must zpool labelclear $disk2 83 log_must zpool add $TESTPOOL $disk2 92 log_must zpool destroy $TESTPOOL 93 log_must zpool labelclear $disk1 94 log_must zpool labelclear $disk2 103 log_must zpool destroy $TESTPOOL 104 log_must zpool labelclear $disk1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_draid_003_pos.ksh | 68 log_must zpool create $TESTPOOL $draid $draid_vdevs 83 log_mustnot zpool create $TESTPOOL draid:d8 $draid_vdevs 84 log_mustnot zpool create $TESTPOOL draid:s3 $draid_vdevs 85 log_mustnot zpool create $TESTPOOL draid:c32 $draid_vdevs 86 log_mustnot zpool create $TESTPOOL draid:10x $draid_vdevs 87 log_mustnot zpool create $TESTPOOL draid:x10 $draid_vdevs 90 log_must zpool create $TESTPOOL draid2:30d $draid_vdevs 95 log_mustnot zpool create $TESTPOOL draid2:0d $draid_vdevs 98 log_mustnot zpool create $TESTPOOL draid0 $draid_vdevs 99 log_mustnot zpool create $TESTPOOL draid4 $draid_vdevs [all …]
|
| H A D | zpool_create_encrypted.ksh | 68 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS 69 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS 73 log_must zpool create -O encryption=off $TESTPOOL $DISKS 74 log_must zpool destroy $TESTPOOL 76 log_mustnot zpool create -O encryption=off -O keylocation=prompt \ 78 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \ 80 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \ 83 log_mustnot zpool create -O encryption=on $TESTPOOL $DISKS 84 log_mustnot zpool create -O encryption=on -O keylocation=prompt \ 93 log_must zpool destroy $TESTPOOL [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 85 log_must zpool create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4 88 log_must zpool export $TESTPOOL1 89 log_must zpool import -d $mntpnt $TESTPOOL1 91 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 92 log_must zpool detach $TESTPOOL1 $vdev4 93 log_must zpool export $TESTPOOL1 94 log_must zpool import -d $mntpnt $TESTPOOL1 96 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 97 log_mustnot zpool export $TESTPOOL1 99 log_must zpool export -f $TESTPOOL1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_cachefile_device_removed.ksh | 59 log_must zpool export $TESTPOOL1 65 log_must zpool destroy $TESTPOOL1 84 log_must zpool remove $TESTPOOL1 $VDEV4 87 log_must zpool remove $TESTPOOL1 $VDEV3 91 log_must zpool export $TESTPOOL1 97 log_must zpool destroy $TESTPOOL1 116 log_must zpool remove $TESTPOOL1 $VDEV1 118 log_must zpool remove $TESTPOOL1 $VDEV3 121 log_must zpool add $TESTPOOL1 $VDEV4 123 log_must zpool export $TESTPOOL1 [all …]
|
| H A D | zpool_import_016_pos.ksh | 67 log_must zpool create $TESTPOOL1 draid $VDEV0 $VDEV1 $VDEV2 $VDEV3 74 log_must zpool destroy $TESTPOOL1 76 log_must zpool create $TESTPOOL2 $VDEV0 77 log_must zpool import -d $DEVICE_DIR -D -f $target 78 log_must zpool destroy $TESTPOOL1 80 log_must zpool destroy $TESTPOOL2 82 log_must zpool import -d $DEVICE_DIR -D -f $target 83 log_must zpool destroy $TESTPOOL1 87 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 88 log_mustnot zpool import -d $DEVICE_DIR -D -f $target [all …]
|
| H A D | zpool_import_007_pos.ksh | 66 log_must zpool create $TESTPOOL1 raidz $VDEV0 $VDEV1 $VDEV2 $VDEV3 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_017_pos.ksh | 67 log_must zpool create $TESTPOOL1 draid2 $VDEV0 $VDEV1 $VDEV2 $VDEV3 74 log_must zpool destroy $TESTPOOL1 76 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 77 log_must zpool import -d $DEVICE_DIR -D -f $target 78 log_must zpool destroy $TESTPOOL1 80 log_must zpool destroy $TESTPOOL2 82 log_must zpool import -d $DEVICE_DIR -D -f $target 83 log_must zpool destroy $TESTPOOL1 88 log_must zpool create $TESTPOOL2 $VDEV0 $VDEV1 $VDEV2 89 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 $VDEV3 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 draid2 $VDEV2 $VDEV3 $VDEV4 $VDEV5 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 …]
|
| /f-stack/freebsd/contrib/openzfs/tests/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 …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_004_pos.ksh | 82 log_must zpool create $TESTPOOL $DISKS 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 115 log_must zpool set cachefile=$CPATH2 $TESTPOOL2 118 log_must zpool destroy $TESTPOOL1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/ |
| H A D | zpool_offline_003_pos.ksh | 56 log_must zpool online $TESTPOOL $disk 81 log_must zpool offline -$arg $TESTPOOL $disk 83 log_must zpool clear $TESTPOOL $disk 87 log_must zpool offline $TESTPOOL $disk 89 log_must zpool offline -$arg $TESTPOOL $disk 91 log_must zpool clear $TESTPOOL $disk 93 log_must zpool online $TESTPOOL $disk 97 log_must zpool offline -tf $TESTPOOL $disk 99 log_must zpool export $TESTPOOL 100 log_must zpool import $TESTPOOL [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
| H A D | mmp_hostid.ksh | 58 log_must zpool create $MMP_POOL $MMP_DIR/file.0 73 log_mustnot zpool set multihost=on $MMP_POOL 76 log_must zpool set multihost=on $MMP_POOL 80 log_must zpool detach $MMP_POOL $MMP_DIR/file.1 83 log_must zpool add $MMP_POOL $MMP_DIR/file.1 84 log_must zpool add $MMP_POOL $MMP_DIR/file.2 85 log_must zpool add $MMP_POOL cache $MMP_DIR/file.3 86 log_must zpool add $MMP_POOL log $MMP_DIR/file.4 90 log_must zpool remove $MMP_POOL $MMP_DIR/file.2 91 log_must zpool remove $MMP_POOL $MMP_DIR/file.3 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/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
|
| /f-stack/freebsd/contrib/openzfs/tests/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
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/ |
| H A D | replace-o_ashift.ksh | 71 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1 81 log_must zpool replace -o ashift=$cmdval $TESTPOOL1 \ 91 log_mustnot zpool replace -o ashift=$cmdval $TESTPOOL1 \ 95 log_must zpool destroy $TESTPOOL1 96 log_must zpool labelclear $disk1 97 log_must zpool labelclear $disk2 104 log_must zpool create $TESTPOOL1 $disk1 105 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2 106 log_must zpool destroy $TESTPOOL1 107 log_must zpool labelclear $disk1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_attach/ |
| H A D | attach-o_ashift.ksh | 71 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1 81 log_must zpool attach -o ashift=$cmdval $TESTPOOL1 \ 90 log_mustnot zpool attach -o ashift=$cmdval $TESTPOOL1 \ 94 log_must zpool destroy $TESTPOOL1 95 log_must zpool labelclear $disk1 96 log_must zpool labelclear $disk2 103 log_must zpool create $TESTPOOL1 $disk1 104 log_mustnot zpool attach -o ashift=$badval $TESTPOOL1 $disk1 $disk2 105 log_must zpool destroy $TESTPOOL1 106 log_must zpool labelclear $disk1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
| H A D | zpool_wait_multiple.ksh | 48 log_must zpool create -f $TESTPOOL $DISK1 55 log_must zpool scrub $TESTPOOL 57 log_bkgrnd zpool wait -t scrub,initialize $TESTPOOL 62 log_must zpool initialize $TESTPOOL $DISK1 63 log_must zpool scrub -s $TESTPOOL 67 log_must zpool scrub $TESTPOOL 68 log_must zpool initialize -s $TESTPOOL $DISK1 72 log_must zpool initialize $TESTPOOL $DISK1 73 log_must zpool scrub -s $TESTPOOL 80 log_must zpool initialize -s $TESTPOOL $DISK1
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/ |
| H A D | zpool_events_cliargs.ksh | 67 log_mustnot zpool events $opt "/tmp/" 68 log_mustnot zpool events $opt "$TESTPOOL/fs" 69 log_mustnot zpool events $opt "$TESTPOOL@snap" 70 log_mustnot zpool events $opt "$TESTPOOL#bm" 71 log_mustnot zpool events $opt "$TESTPOOL" "$TESTPOOL" 76 log_mustnot zpool events -c "$TESTPOOL" 79 log_mustnot zpool events -c $opt 85 log_mustnot zpool events $opt 86 log_mustnot zpool events $opt "$TESTPOOL"
|