Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
This issue was created by maloo for paf <pfarrell@whamcloud.com>
This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/1c630072-5357-11e9-92fe-52540065bddc
Error: 'Timeout occurred after 252 mins, last suite running was sanity-lfsck, restarting cluster to continue tests'
== sanity-lfsck test 27b: LFSCK can recreate the lost remote parent directory as orphan ============== 22:33:21 (1553985201)
#####
The remote parent referenced by the MDT-object linkEA is lost.
The namespace LFSCK will re-create the lost parent as orphan.
#####
[0x2400032e2:0xb:0x0]
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. And then remove
the parent directory.
CMD: onyx-42vm9 /usr/sbin/lctl set_param fail_loc=0x1624
fail_loc=0x1624
CMD: onyx-42vm9 /usr/sbin/lctl set_param fail_loc=0
fail_loc=0
Trigger namespace LFSCK to repair the missing remote name entry
CMD: onyx-42vm9 /usr/sbin/lctl lfsck_start -M lustre-MDT0000 -t namespace -r -A
Started LFSCK on the device lustre-MDT0000: scrub namespace
CMD: onyx-42vm9 /usr/sbin/lctl lfsck_query -t namespace -M lustre-MDT0000 -w |
awk '/^namespace_mdts_completed/
'