build_test_filter
-$LCTL set_param debug=+lfsck > /dev/null || true
-
MDT_DEV="${FSNAME}-MDT0000"
OST_DEV="${FSNAME}-OST0000"
MDT_DEVNAME=$(mdsdevname ${SINGLEMDS//mds/})
}
run_test 17 "LFSCK can repair multiple references"
+$LCTL set_param debug=+cache > /dev/null
+
test_18a() {
echo "#####"
echo "The target MDT-object is there, but related stripe information"
}
run_test 18f "Skip the failed OST(s) when handle orphan OST-objects"
+$LCTL set_param debug=-cache > /dev/null
+
test_19a() {
check_mount_and_prep
$LFS setstripe -c 1 -i 0 $DIR/$tdir
}
run_test 31h "Repair the corrupted shard's name entry"
-$LCTL set_param debug=-lfsck > /dev/null || true
-
# restore MDS/OST size
MDSSIZE=${SAVED_MDSSIZE}
OSTSIZE=${SAVED_OSTSIZE}