| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | zpool_import_rename_001_pos.ksh | 57 set -A pools "$TESTPOOL" "$TESTPOOL1" 66 while (( i < ${#pools[*]} )); do 67 if poolexists "${pools[i]}-new" ; then 68 log_must zpool export "${pools[i]}-new" 70 [[ -d /${pools[i]}-new ]] && \ 71 log_must rm -rf /${pools[i]}-new 74 "${pools[i]}-new" ${pools[i]} 77 datasetexists "${pools[i]}" || \ 78 log_must zpool import ${devs[i]} ${pools[i]} 80 ismounted "${pools[i]}/$TESTFS" || \ [all …]
|
| H A D | zpool_import_002_pos.ksh | 55 set -A pools "$TESTPOOL" "$TESTPOOL1" 64 while (( i < ${#pools[*]} )); do 65 poolexists ${pools[i]} && \ 66 log_must zpool export ${pools[i]} 68 datasetexists "${pools[i]}/$TESTFS" || \ 69 log_must zpool import ${devs[i]} ${pools[i]} 71 ismounted "${pools[i]}/$TESTFS" || \ 72 log_must zfs mount ${pools[i]}/$TESTFS 100 while (( i < ${#pools[*]} )); do 101 guid=$(get_config ${pools[i]} pool_guid) [all …]
|
| H A D | zpool_import_001_pos.ksh | 55 set -A pools "$TESTPOOL" "$TESTPOOL1" 65 while (( i < ${#pools[*]} )); do 66 poolexists ${pools[i]} && \ 67 log_must zpool export ${pools[i]} 69 datasetexists "${pools[i]}/$TESTFS" || \ 70 log_must zpool import ${devs[i]} ${pools[i]} 72 ismounted "${pools[i]}/$TESTFS" || \ 73 log_must zfs mount ${pools[i]}/$TESTFS 101 while (( i < ${#pools[*]} )); do 102 guid=$(get_config ${pools[i]} pool_guid) [all …]
|
| H A D | zpool_import_012_pos.ksh | 55 set -A pools "$TESTPOOL" "$TESTPOOL1" 65 while ((i < ${#pools[*]})); do 66 if poolexists ${pools[i]}; then 67 log_must zpool export ${pools[i]} 68 log_note "Try to import ${devs[i]} ${pools[i]}" 69 zpool import ${devs[i]} ${pools[i]} 71 log_note "Try to import $option ${devs[i]} ${pools[i]}" 72 zpool import $option ${devs[i]} ${pools[i]} 75 if poolexists ${pools[i]}; then 76 is_shared ${pools[i]} && \ [all …]
|
| H A D | zpool_import_parallel_pos.ksh | 45 # 1. Create 8 pools 47 # 3. Export the pools 48 # 4. Import half of the pools synchronously to baseline sequential cost 50 # 6. Export 4 pools 87 # create some exported pools with import delay injectors 97 # import half of the pools synchronously 104 log_note "sequentially imported 4 pools in $sequential_time seconds" 107 # import half of the pools in parallel 115 log_note "asyncronously imported 4 pools in $parallel_time seconds" 120 # export pools with import delay injectors [all …]
|
| H A D | zpool_import_009_neg.ksh | 61 set -A pools "$TESTPOOL" "$TESTPOOL1" 69 while (( i < ${#pools[*]} )); do 71 poolexists ${pools[i]} && \ 72 log_must zpool export ${pools[i]} 74 datasetexists "${pools[i]}/$TESTFS" || \ 75 log_must zpool import ${devs[i]} ${pools[i]} 77 ismounted "${pools[i]}/$TESTFS" || \ 78 log_must zfs mount ${pools[i]}/$TESTFS
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
| H A D | zpool_import_rename_001_pos.ksh | 63 set -A pools "$TESTPOOL" "$TESTPOOL1" 72 while (( i < ${#pools[*]} )); do 73 if poolexists "${pools[i]}-new" ; then 74 log_must $ZPOOL export "${pools[i]}-new" 76 [[ -d /${pools[i]}-new ]] && \ 77 log_must $RM -rf /${pools[i]}-new 80 "${pools[i]}-new" ${pools[i]} 83 datasetexists "${pools[i]}" || \ 84 log_must $ZPOOL import ${devs[i]} ${pools[i]} 86 ismounted "${pools[i]}/$TESTFS" || \ [all …]
|
| H A D | zpool_import_012_pos.ksh | 61 set -A pools "$TESTPOOL" "$TESTPOOL1" 71 while (( i < ${#pools[*]} )); do 72 if poolexists ${pools[i]} ; then 73 log_must $ZPOOL export ${pools[i]} 74 log_note "Try to import ${devs[i]} ${pools[i]}" 75 $ZPOOL import ${devs[i]} ${pools[i]} 77 log_note "Try to import $option ${devs[i]} ${pools[i]}" 78 $ZPOOL import $option ${devs[i]} ${pools[i]} 81 if poolexists ${pools[i]} ; then 82 is_shared ${pools[i]} && \ [all …]
|
| H A D | zpool_import_002_pos.ksh | 61 set -A pools "$TESTPOOL" "$TESTPOOL1" 70 while (( i < ${#pools[*]} )); do 71 poolexists ${pools[i]} && \ 72 log_must $ZPOOL export ${pools[i]} 74 datasetexists "${pools[i]}/$TESTFS" || \ 75 log_must $ZPOOL import ${devs[i]} ${pools[i]} 77 ismounted "${pools[i]}/$TESTFS" || \ 78 log_must $ZFS mount ${pools[i]}/$TESTFS 131 while (( i < ${#pools[*]} )); do 138 typeset pool=${pools[i]} [all …]
|
| H A D | zpool_import_009_neg.ksh | 67 set -A pools "$TESTPOOL" "$TESTPOOL1" 75 while (( i < ${#pools[*]} )); do 77 poolexists ${pools[i]} && \ 78 log_must $ZPOOL export ${pools[i]} 80 datasetexists "${pools[i]}/$TESTFS" || \ 81 log_must $ZPOOL import ${devs[i]} ${pools[i]} 83 ismounted "${pools[i]}/$TESTFS" || \ 84 log_must $ZFS mount ${pools[i]}/$TESTFS
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/ |
| H A D | zpool_initialize_multiple_pools.ksh | 27 # Verify 'zpool initialize -a' works correctly with multiple pools 30 # 1. Create multiple pools. 31 # 2. Start a initialize operation on all pools using 'zpool initialize -a'. 32 # 3. Verify that the initializing is active on all pools. 34 # 5. Verify that the initialize operation is complete on all pools. 35 # 6. Start a initializing on all pools using 'zpool initialize -w -a'. 36 # 7. Verify that the initialize operation is complete on all pools. 37 # 8. Now test the -u, -c and -s options on multiple pools with -a. 38 # 9. Verify that the initialize status is correctly updated on all pools. 53 log_assert "Verify if 'zpool initialize -a' works correctly with multiple pools." [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
| H A D | zpool_scrub_multiple_pools.ksh | 27 # Verify 'zpool scrub -a' works correctly with multiple pools 30 # 1. Create multiple pools. 31 # 2. Start a scrub on all pools using 'zpool scrub -a'. 32 # 3. Verify that the scrub is running on all pools. 34 # 5. Verify that the scrub status is complete on all pools. 35 # 6. Start a scrub on all pools using 'zpool scrub -w -a'. 36 # 7. Verify that the scrub status is complete on all pools. 37 # 8. Now test the -p and -s options on multiple pools with -a. 56 log_assert "Verify if scrubbing multiple pools works correctly." 85 # Start a scrub on all pools using 'zpool scrub -a'. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
| H A D | zpool_trim_multiple_pools.ksh | 27 # Verify 'zpool trim -a' works correctly with multiple pools 30 # 1. Create multiple pools. 31 # 2. Start a trim on all pools using 'zpool trim -a'. 32 # 3. Verify that the trim is started on all pools. 34 # 5. Verify that the trim is complete on all pools. 35 # 6. Start a trim on all pools using 'zpool trim -w -a'. 36 # 7. Verify that the trim is complete on all pools. 37 # 8. Now test the -c and -s options on multiple pools with -a. 53 log_assert "Verify if trim '-a' works on multiple pools correctly." 74 # Start a trim on all pools using 'zpool trim -a'. [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
| H A D | zpool_upgrade.cfg | 44 # Version 1 pools 61 # Version 2 pools 178 # we should be able to upgrade pools of version 1 183 # we should be able to upgrade pools of version 1 & 2 188 # we should be able to upgrade pools of version 1, 2 & 3 194 # we should be able to upgrade pools of version 1, 2, 3 & 4 200 # we should be able to upgrade pools up to version 5 206 # we should be able to upgrade pools up to version 6 212 # we should be able to upgrade pools up to version 7 218 # we should be able to upgrade pools up to version 8 [all …]
|
| H A D | zpool_upgrade_007_pos.ksh | 38 # import pools of all versions - verify the following operation not break. 44 # 1. Import pools of all versions 45 # 2. Setup a test enviorment over the old pools. 69 log_assert "Import pools of all versions - 'zfs upgrade' on each pools works" 83 log_pass "Import pools of all versions - 'zfs upgrade' on each pools works"
|
| /freebsd/sys/contrib/openzfs/man/man8/ |
| H A D | zpool-import.8 | 36 .Nd import ZFS storage pools or list available pools 73 Lists pools available to import. 87 Destroyed pools, pools that were previously destroyed with the 94 multiple exported pools of the same name are available. 114 Lists destroyed pools only. 128 Imports all pools found in the search directories. 129 Identical to the previous command, except that all pools with a sufficient 131 Destroyed pools, pools that were previously destroyed with the 138 Searches for and imports all pools found. 160 Imports destroyed pools only. [all …]
|
| H A D | zpool-upgrade.8 | 37 .Nd manage version and feature flags of ZFS storage pools 55 Displays pools which do not have all supported features enabled and pools 57 These pools can continue to be used, but some features may not be available. 60 to enable all features on all pools (subject to the 98 pools. 110 .Ss Example 1 : No Upgrading All ZFS Storage Pools to the Current Version 111 The following command upgrades all ZFS Storage pools to the current version of
|
| H A D | zpool.8 | 36 .Nd configure ZFS storage pools 50 command configures ZFS storage pools. 58 For an overview of creating and managing ZFS storage pools see the 68 command provides subcommands to create and destroy storage pools, add capacity 69 to storage pools, and provide information about the storage pools. 141 Lists the given pools along with a health status and space usage. 157 Displays the detailed health status for the given pools. 159 Displays logical I/O statistics for the given pools/vdevs. 171 Displays the command history of the specified pool(s) or all pools if no pool is 198 will sync all pools on the system. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_parallel_pos.ksh | 47 # 1. Create 8 pools 49 # 3. Export half of the pools synchronously to baseline sequential cost 51 # 6. Import 4 pools 81 # Create some pools with export delay injectors 90 # Export half of the pools synchronously 97 log_note "sequentially exported 4 pools in $sequential_time seconds" 100 # Export half of the pools in parallel 108 log_note "asyncronously exported 4 pools in $parallel_time seconds" 113 # import 4 pools with export delay injectors 126 log_note "asyncronously exported 4 pools, using '-a', in $parallel_time seconds"
|
| /freebsd/sys/contrib/openzfs/etc/init.d/ |
| H A D | zfs-import.in | 5 # zfs-import This script will import ZFS pools 8 # description: This script will perform a verbatim import of ZFS pools 20 # Short-Description: Import ZFS pools 46 # Use the zpool cache file to import pools 56 # Support function to get a list of all pools, separated with ';' 59 local pools 61 pools=$("$@" 2> /dev/null | \ 66 echo "${pools%%;}" # Return without the last ';'. 69 # Find and import all visible pools, even exported ones 86 # Find list of already imported pools. [all …]
|
| /freebsd/sys/dev/drm2/ttm/ |
| H A D | ttm_page_alloc_dma.c | 28 * over the DMA pools: 77 * The pool structure. There are usually six pools: 84 * @pools: The 'struct device->dma_pools' link. 92 * @dev: The device that is associated with these pools. 104 struct list_head pools; /* The 'struct device->dma_pools link */ member 149 * DMA pools. Guarded by _mutex->lock. 150 * @pools: The link to 'struct ttm_pool_manager->pools' 155 struct list_head pools; member 161 * struct ttm_pool_manager - Holds memory pools for fast allocation 163 * @lock: Lock used when adding/removing from pools [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/bootfs/ |
| H A D | bootfs_004_neg.ksh | 40 # 1. Try to set bootfs on some non-existent pools 56 set -A pools "pool//${TESTCASE_ID}" "pool%d123" "mirror" "c0t0d0s0" "pool*23*" "*po!l" \ 62 while [ $i -lt "${#pools[@]}" ]; do 63 destroy_pool ${pools[$i]} 89 pools[${#pools[@]}]="$bigname" 95 while [ $i -lt "${#pools[@]}" ] 97 POOL=${pools[$i]}/$FS
|
| /freebsd/sys/contrib/openzfs/etc/default/ |
| H A D | zfs.in | 33 # By default, a verbatim import of all pools is performed at boot based on the 38 # pools and attempt to import them all at boot, even those that have been 40 # ZPOOL_IMPORT_PATH variable and a list of pools that should not be imported 43 # Note that importing all visible pools may include pools that you don't 44 # expect, such as those on removable devices and SANs, and those pools may 48 # SAN to prevent the insertion of malicious pools. 58 # List of pools that should NOT be imported at boot
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
| H A D | auto_spare_shared.ksh | 28 # Spare devices (both files and disks) can be shared among different ZFS pools. 31 # 1. Create two pools 32 # 2. Add the same spare device to different pools 61 log_assert "Spare devices can be shared among different ZFS pools" 77 # 1. Create two pools 81 # 2. Add the same spare device to different pools 117 log_pass "Spare devices can be shared among different ZFS pools"
|
| /freebsd/sbin/ipf/ippool/ |
| H A D | ippool.5 | 6 The file ippool.conf is used with ippool(8) to configure address pools for 9 There are four different types of address pools that can be configured 35 address pools - are an alternative to hash tables that can perform just 36 as well in most circumstances. In addition, the address pools allow for 66 IPFilter devices and pools 72 pools defined for role "ipf" are available for use with all rules that are 77 pools defined for role "nat" are available for use with all rules that are 82 pools defined for role "auth" are available only for use with "auth" rules 87 pools that are defined for the "all" role are available to all types of 89 .SH Address Pools [all …]
|