Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
This issue was created by maloo for nasf <fan.yong@intel.com>
Please provide additional information about the failure here.
This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/803bb4ba-0fa0-11e7-b5b2-5254006e85c2.
== sanity-lfsck test 26a: LFSCK can add the missing local name entry back to the namespace =========== 23:24:00 (1490225040)
#####
The local name entry back referenced by the MDT-object is lost.
The namespace LFSCK will add the missing local name entry back
to the normal namespace.
#####
Inject failure stub on MDT0 to simulate the case that
foo's name entry will be removed, but the foo's object
and its linkEA are kept in the system.
CMD: trevis-37vm7 /usr/sbin/lctl set_param fail_loc=0x1624
fail_loc=0x1624
CMD: trevis-37vm7 /usr/sbin/lctl set_param fail_loc=0
fail_loc=0
Trigger namespace LFSCK to repair the missing remote name entry
CMD: trevis-37vm7 /usr/sbin/lctl lfsck_start -M lustre-MDT0000 -t namespace -r -A
Started LFSCK on the device lustre-MDT0000: scrub namespace
CMD: trevis-37vm7 /usr/sbin/lctl lfsck_query -t namespace -M lustre-MDT0000 -w |
awk '/^namespace_mdts_completed/ { print \$2 }'