[LU-12143] sanity-lfsck: test_27b Created: 01/Apr/19  Updated: 01/Apr/19

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 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/

{ print \$2 }

'


Generated at Sat Feb 10 02:50:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.