== sanity-lfsck test 27b: LFSCK can recreate the lost remote parent directory as orphan ========================================================== 05:07:05 (1713344825) ##### 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. fail_loc=0x1624 fail_loc=0 Trigger namespace LFSCK to repair the missing remote name entry Started LFSCK on the device lustre-MDT0000: scrub namespace total 12 144115188109410307 dr-x------ 4 root root 4096 Dec 31 1969 . 144115205306056705 drwx------ 2 root root 4096 Apr 17 05:07 MDT0000 162129670907625473 drwx------ 3 root root 4096 Apr 17 05:05 MDT0001 There should be an orphan under .lustre/lost+found/MDT0001/ total 12 162129670907625473 drwx------ 3 root root 4096 Apr 17 05:05 . 144115188109410307 dr-x------ 4 root root 4096 Dec 31 1969 .. 162129805125353483 drwx------ 3 root root 4096 Dec 31 1969 [0x2400032e2:0xb:0x0]-P-0