run_test 18a "Find out orphan OST-object and repair it (1)"
test_18b() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
+
echo "#####"
echo "The target MDT-object is lost. The LFSCK should re-create the"
echo "MDT-object under .lustre/lost+found/MDTxxxx. The admin should"
run_test 18b "Find out orphan OST-object and repair it (2)"
test_18c() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
+
echo "#####"
echo "The target MDT-object is lost, and the OST-object FID is missing."
echo "The LFSCK should re-create the MDT-object with new FID under the "
run_test 18d "Find out orphan OST-object and repair it (4)"
test_18e() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
+
echo "#####"
echo "The target MDT-object layout EA slot is occpuied by some new"
echo "created OST-object when repair dangling reference case. Such"
run_test 18f "Skip the failed OST(s) when handle orphan OST-objects"
test_18g() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
+
echo "#####"
echo "The target MDT-object is lost, but related OI mapping is there"
echo "The LFSCK should recreate the lost MDT-object without affected"
test_20a() {
[ $OSTCOUNT -lt 2 ] && skip "needs >= 2 OSTs" && return
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
echo "#####"
echo "The target MDT-object and some of its OST-object are lost."
test_20b() {
[ $OSTCOUNT -lt 2 ] && skip "needs >= 2 OSTs" && return
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
echo "#####"
echo "The target MDT-object and some of its OST-object are lost."
test_24() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
echo "#####"
echo "Two MDT-objects back reference the same name entry via their"
run_test 26b "LFSCK can add the missing remote name entry back to the namespace"
test_27a() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
+
echo "#####"
echo "The local parent referenced by the MDT-object linkEA is lost."
echo "The namespace LFSCK will re-create the lost parent as orphan."
test_27b() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
echo "#####"
echo "The remote parent referenced by the MDT-object linkEA is lost."
test_30() {
[ $(facet_fstype $SINGLEMDS) != ldiskfs ] &&
skip "ldiskfs only test" && return
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
echo "#####"
echo "The namespace LFSCK will move the orphans from backend"
run_test 65m "normal user can't set filesystem default stripe"
test_65n() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
[[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.12.50) ]] ||
skip "Need MDS version at least 2.12.50"
[[ $PARALLEL != "yes" ]] || skip "skip parallel run"
test_161d() {
remote_mds_nodsh && skip "remote MDS with nodsh"
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
local pid
local fid
run_test 404 "validate manual {de}activated works properly for OSPs"
test_405() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
[ $MDS1_VERSION -lt $(version_code 2.6.92) -o \
[ $CLIENT_VERSION -lt $(version_code 2.6.99) ] &&
skip "Layout swap lock is not supported"
run_test 806 "Verify Lazy Size on MDS"
test_807() {
+ [ -n "$FILESET" ] && skip "Not functional for FILESET set"
[ $MDS1_VERSION -lt $(version_code 2.11.52) ] &&
skip "Need MDS version at least 2.11.52"