Lines Matching refs:disks
120 # Given a list of disks, setup storage pools and datasets.
167 # Given a list of disks, setup a storage pool, file system and
178 # Given a list of disks, setup a storage pool,file system
189 # Given a list of disks, setup a storage pool,file system,
279 # Given a pair of disks, set up a storage pool and dataset for the mirror
301 # We create a number($1) of 2 way mirrors using the pairs of disks named
322 # We create a number($1) of 2 raidz pools using the pairs of disks named
353 # Given a minimum of two disks, set up a storage pool and dataset for the raid-z
354 # $1 the list of disks
359 disks=(${disklist[*]})
361 if [[ ${#disks[*]} -lt 2 ]]; then
362 log_fail "A raid-z requires a minimum of two disks."
1401 # Given a pool, and this function list all disks in the pool
1723 # A function to find and locate free disks on a system or from given
1724 # disks as the parameter. It works by locating disks that are in use
1725 # as swap devices, SVM devices, and dump devices, and also disks
1728 # $@ given disks to find which are free, default is all disks in
1731 # @return a string containing the list of available disks
1745 # to produce a list of disks we know about. Note that we have
1771 disks=${@:-$($ECHO "" | $FORMAT -e 2>/dev/null | /tmp/find_disks.awk)}
1775 for disk in $disks; do
1798 # now just check to see if those disks do actually exist
2582 # To verify if the require numbers of disks is given
2591 log_untested "A minimum of $min disks is required to run." \