== sanity-lfsck test 27b: LFSCK can recreate the lost remote parent directory as orphan ========================================================== 05:05:27 (1713431127) ##### The remote parent referenced by the MDT-object linkEA is lost. The namespace LFSCK will re-create the lost parent as orphan. ##### [0x2400013a2:0xc: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 18 05:05 MDT0000 162129603815538689 drwx------ 3 root root 4096 Apr 18 05:03 MDT0001 There should be an orphan under .lustre/lost+found/MDT0001/ total 12 162129603815538689 drwx------ 3 root root 4096 Apr 18 05:03 . 144115188109410307 dr-x------ 4 root root 4096 Dec 31 1969 .. 162129670907625484 drwx------ 3 root root 4096 Dec 31 1969 [0x2400013a2:0xc:0x0]-P-0