Lines Matching refs:pool
34 typeset pool=${1:-$MMP_POOL}
48 typeset pool=${1:-$MMP_POOL}
51 check_pool_import "$pool" "$opts" "status" \
58 typeset pool=${1:-$MMP_POOL}
61 while is_pool_imported "$pool" "$opts"; do
70 typeset pool=${1:-$MMP_POOL}
74 zpool import $opts $pool 2>&1 | grep -i "$msg"
153 typeset pool=${1:-$MMP_POOL}
161 log_must zpool create -f -o cachefile=$MMP_CACHE $pool \
163 log_must zpool set multihost=on $pool
168 typeset pool=${1:-$MMP_POOL}
170 typeset opts="-VVVVV -T120 -M -k0 -f $dir -E -p $pool"
172 mmp_pool_create_simple $pool $dir
175 log_must zpool export $pool
181 while ! is_pool_imported "$pool" "-d $dir"; do
189 typeset pool=${1:-$MMP_POOL}
198 if poolexists $pool; then
199 destroy_pool $pool
208 typeset pool=$1
212 log_must zpool export $pool
213 log_must zpool import $pool
223 typeset pool=$1
235 log_must zdb -e -p $devpath $pool >$tmpfile 2>/dev/null
259 typeset pool=$1
265 zpool import $opts $pool
278 typeset pool=$1
283 zpool import $opts $pool
302 typeset pool=$1
304 typeset hist_path="/proc/spl/kstat/zfs/$pool/multihost"
312 typeset pool=$1
314 typeset hist_path="/proc/spl/kstat/zfs/$pool/multihost"