Lines Matching refs:disks
134 # Given a list of disks, setup storage pools and datasets.
181 # Given a list of disks, setup a storage pool, file system and
192 # Given a list of disks, setup a storage pool,file system
203 # Given a list of disks, setup a storage pool,file system,
335 # Given a pair of disks, set up a storage pool and dataset for the mirror
357 # We create a number($1) of 2 way mirrors using the pairs of disks named
378 # We create a number($1) of 2 raidz pools using the pairs of disks named
409 # Given a minimum of two disks, set up a storage pool and dataset for the raid-z
410 # $1 the list of disks
415 disks=(${disklist[*]})
417 if [[ ${#disks[*]} -lt 2 ]]; then
418 log_fail "A raid-z requires a minimum of two disks."
1567 # Given a pool, and this function list all disks in the pool
1855 # A function to find and locate free disks on a system or from given
1856 # disks as the parameter. It works by locating disks that are in use
1857 # as swap devices and dump devices, and also disks listed in /etc/vfstab
1859 # $@ given disks to find which are free, default is all disks in
1862 # @return a string containing the list of available disks
1874 # to produce a list of disks we know about. Note that we have
1900 disks=${@:-$(echo "" | format -e 2>/dev/null | /tmp/find_disks.awk)}
1904 for disk in $disks; do
1923 # now just check to see if those disks do actually exist
2546 # To verify if the require numbers of disks is given
2555 log_untested "A minimum of $min disks is required to run." \