Lines Matching refs:disk2
51 disk2=$(echo $DISKS | awk '{print $2}')
52 log_must zpool attach $TESTPOOL $DISK $disk2
72 dsk2_top=$(get_top_vd_zap $disk2 $conf)
73 dsk2_leaf=$(get_leaf_vd_zap $disk2 $conf)
74 [[ -n "$dsk2_top" ]] && log_fail "Attached disk $disk2 has top ZAP."
75 [[ -z "$dsk2_leaf" ]] && log_fail "Attached disk $disk2 has no leaf ZAP."
84 final_top=$(get_top_vd_zap $disk2 $conf)
85 final_leaf=$(get_leaf_vd_zap $disk2 $conf)
88 "promoting $disk2 (expected $orig_top, found $final_top)"
91 [[ "$final_leaf" -ne "$dsk2_leaf" ]] && log_fail "$disk2 lost its leaf ZAP "\