count=$(($T32_BLIMIT / 1024 / 2))
chown $T32_QID.$T32_QID $tmp/src/t32_qf_old
- formatall
+ # format ost with comma-separated NIDs to verify LU-4460
+ local failnid="$(h2$NETTYPE 1.2.3.4),$(h2$NETTYPE 4.3.2.1)"
+ MGSNID="$MGSNID,$MGSNID" OSTOPT="--failnode=$failnid" formatall
setupall
do_node $ost1node 'mv '$objects' '${ost1mnt}'/lost+found'
[ $? -eq 0 ] || { error "Unable to move objects"; return 14; }
+ # recover objects dry-run
+ echo "ll_recover_lost_found_objs dry_run"
+ do_node $ost1node "ll_recover_lost_found_objs -n -d $ost1mnt/O"
+ [ $? -eq 0 ] || { error "ll_recover_lost_found_objs failed"; return 15; }
+
# recover objects
+ echo "ll_recover_lost_found_objs fix run"
do_node $ost1node "ll_recover_lost_found_objs -d $ost1mnt/lost+found"
[ $? -eq 0 ] || { error "ll_recover_lost_found_objs failed"; return 15; }