Lines Matching refs:status
44 # Try zpool status/iostat for given pool
53 zpool status -xv $pool > /dev/null 2>&1
72 # Verify the given cache device have correct type and status
76 # $3 device status
83 typeset status=$3
86 if [[ -z $pool || -z $device || -z $status ]]; then
88 "<status> [type]"
92 # Get all the cache devices and status table like below
96 set -A dev_stat_tab $(zpool status -v $pool | nawk 'BEGIN {start=0} \
120 if [[ $stat != $status ]]; then
122 "!= Expected stat($status)"
133 if [[ $stat != $status ]]; then
135 "!= Expected stat($status)"