| /freebsd-14.2/cddl/sbin/zpool/ |
| H A D | Makefile | 13 PROG= zpool 18 zpool.8 \ 19 zpool-add.8 \ 20 zpool-attach.8 \ 22 zpool-clear.8 \ 29 zpool-get.8 \ 35 zpool-list.8 \ 45 zpool-sync.8 \ 46 zpool-trim.8 \ 52 zpool-offline.8 zpool-online.8 \ [all …]
|
| /freebsd-14.2/sbin/bectl/tests/ |
| H A D | bectl_test.sh | 43 zpool=$1 48 atf_check test -n "$zpool" 60 atf_check zpool create -R ${mnt} ${zpool} ${disk} 63 ${zpool}/ROOT/default 67 zpool=$1 85 zpool=$1 86 if [ -z "$zpool" ]; then 88 elif zpool get health ${zpool} >/dev/null 2>&1; then 89 zpool destroy -f ${zpool} 113 zpool=$(make_zpool_name) [all …]
|
| /freebsd-14.2/lib/libbe/tests/ |
| H A D | be_create.sh | 46 zpool=$1 51 atf_check test -n "$zpool" 56 atf_check zpool create -o altroot=${mnt} ${zpool} ${disk} 59 ${zpool}/ROOT/default 61 ${zpool}/ROOT/default/usr 63 ${zpool}/ROOT/default/usr/obj 68 zpool=$1 71 if [ -z "$zpool" ]; then 73 elif zpool get health ${zpool} >/dev/null 2>&1; then 74 zpool destroy -f ${zpool} [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/zpool/ |
| H A D | Makefile.am | 7 sbin_PROGRAMS += zpool program 8 CPPCHECKTARGETS += zpool 50 %D%/zpool.d/enc \ 58 %D%/zpool.d/label \ 60 %D%/zpool.d/lsblk \ 61 %D%/zpool.d/media \ 73 %D%/zpool.d/ses \ 74 %D%/zpool.d/size \ 75 %D%/zpool.d/slot \ 79 %D%/zpool.d/temp \ [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
| H A D | zpool_initialize_uninit.ksh | 85 log_must zpool initialize -u $TESTPOOL 89 log_must zpool initialize $TESTPOOL 92 log_mustnot zpool initialize -u $TESTPOOL 95 log_must zpool initialize -c $TESTPOOL 98 log_must zpool initialize -u $TESTPOOL 102 log_must zpool initialize $TESTPOOL 105 log_mustnot zpool initialize -u $TESTPOOL 108 log_must zpool initialize -s $TESTPOOL 111 log_must zpool initialize -u $TESTPOOL 115 log_must zpool initialize $TESTPOOL [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/man/ |
| H A D | Makefile.am | 21 %D%/man7/zpool-features.7 \ 67 %D%/man8/zpool.8 \ 68 %D%/man8/zpool-add.8 \ 71 %D%/man8/zpool-clear.8 \ 77 %D%/man8/zpool-get.8 \ 83 %D%/man8/zpool-list.8 \ 91 %D%/man8/zpool-scrub.8 \ 92 %D%/man8/zpool-set.8 \ 95 %D%/man8/zpool-sync.8 \ 96 %D%/man8/zpool-trim.8 \ [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy_raidz.ksh | 70 log_must zpool export $pool 91 log_must zpool clear $pool 93 log_must zpool export $pool 109 log_must zpool clear $pool 122 log_must zpool export $pool 141 log_must zpool clear $pool 147 log_must zpool export $pool 166 log_must zpool clear $pool 175 log_must zpool export $pool 187 log_must zpool clear $pool [all …]
|
| H A D | redundancy_draid.ksh | 70 log_must zpool export $pool 91 log_must zpool clear $pool 93 log_must zpool export $pool 109 log_must zpool clear $pool 122 log_must zpool export $pool 141 log_must zpool clear $pool 147 log_must zpool export $pool 166 log_must zpool clear $pool 175 log_must zpool export $pool 187 log_must zpool clear $pool [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/ |
| H A D | bootfs_006_pos.ksh | 56 log_must zpool set bootfs=$POOL/$TESTFS $POOL 60 log_must zpool status -v $POOL 64 log_must zpool destroy $POOL 70 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL 74 log_must zpool status -v $POOL 77 log_must zpool destroy $POOL 83 log_must zpool destroy $TESTPOOL 99 log_must zpool create $TESTPOOL $VDEV1 103 log_must zpool create $TESTPOOL $VDEV1 spare $VDEV2 116 log_must zpool create $TESTPOOL $VDEV1 $VDEV2 [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
| H A D | add-o_ashift.ksh | 78 log_must zpool create $TESTPOOL $disk1 83 log_must zpool destroy $TESTPOOL 84 log_must zpool labelclear $disk1 85 log_must zpool labelclear $disk2 90 log_must zpool create $TESTPOOL $disk1 98 log_must zpool destroy $TESTPOOL 99 log_must zpool labelclear $disk1 100 log_must zpool labelclear $disk2 109 log_must zpool destroy $TESTPOOL 110 log_must zpool labelclear $disk1 [all …]
|
| /freebsd-14.2/sys/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 …]
|
| /freebsd-14.2/sys/contrib/openzfs/contrib/debian/ |
| H A D | openzfs-zfsutils.install | 3 etc/zfs/zpool.d/ 30 sbin/zpool 35 usr/lib/zfs-linux/zpool.d/ 96 usr/share/man/man8/zpool-add.8 105 usr/share/man/man8/zpool-get.8 111 usr/share/man/man8/zpool-list.8 120 usr/share/man/man8/zpool-set.8 123 usr/share/man/man8/zpool-sync.8 124 usr/share/man/man8/zpool-trim.8 126 usr/share/man/man8/zpool-wait.8 [all …]
|
| /freebsd-14.2/sys/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_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 …]
|
| 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 …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 68 log_must zpool create $TESTPOOL1 mirror $vdev0 $vdev1 spare $vdev4 71 log_must zpool export $TESTPOOL1 72 log_must zpool import -d $mntpnt $TESTPOOL1 74 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 75 log_must zpool detach $TESTPOOL1 $vdev4 76 log_must zpool export $TESTPOOL1 77 log_must zpool import -d $mntpnt $TESTPOOL1 79 log_must zpool replace $TESTPOOL1 $vdev0 $vdev4 80 log_mustnot zpool export $TESTPOOL1 82 log_must zpool export -f $TESTPOOL1 [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
| H A D | zpool_error_scrub_002_pos.ksh | 61 log_must zpool export $TESTPOOL 62 log_must zpool import $TESTPOOL 72 log_must zpool scrub $TESTPOOL 75 log_must zpool scrub -p $TESTPOOL 78 log_must zpool scrub $TESTPOOL 80 log_must zpool scrub -s $TESTPOOL 88 log_must zpool scrub -e $TESTPOOL 90 log_mustnot zpool scrub $TESTPOOL 91 log_must zpool scrub -s $TESTPOOL 94 log_must zpool scrub $TESTPOOL [all …]
|
| /freebsd-14.2/sys/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 …]
|
| /freebsd-14.2/sys/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 …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pool_checkpoint/ |
| H A D | checkpoint_discard_busy.ksh | 74 log_must zpool checkpoint $NESTEDPOOL 78 log_must zpool checkpoint -d $NESTEDPOOL 80 log_must zpool export $NESTEDPOOL 91 log_mustnot zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL 93 log_must zpool import -d $FILEDISKDIR $NESTEDPOOL 99 log_mustnot zpool checkpoint $NESTEDPOOL 100 log_mustnot zpool checkpoint -d $NESTEDPOOL 101 log_mustnot zpool remove $NESTEDPOOL $FILEDISK1 102 log_mustnot zpool reguid $NESTEDPOOL 109 log_must zpool export $NESTEDPOOL
|
| /freebsd-14.2/sys/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 …]
|
| /freebsd-14.2/sys/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 78 log_must zpool offline -$arg $TESTPOOL $disk 80 log_must zpool clear $TESTPOOL $disk 84 log_must zpool offline $TESTPOOL $disk 86 log_must zpool offline -$arg $TESTPOOL $disk 88 log_must zpool clear $TESTPOOL $disk 90 log_must zpool online $TESTPOOL $disk 94 log_must zpool offline -tf $TESTPOOL $disk 96 log_must zpool export $TESTPOOL 97 log_must zpool import $TESTPOOL [all …]
|