== sanity-lfsck test 23c: LFSCK can repair dangling name entry (3) ========================================================== 23:18:02 (1717557482) ##### The objectA has multiple hard links, one of them corresponding to the name entry_B. But there is something wrong for the name entry_B and cause entry_B to references non-exist object_C. In the first-stage scanning, the LFSCK will think the entry_B as dangling, and re-create the lost object_C. And then others modified the re-created object_C. When the LFSCK comes to the second-stage scanning, it will find that the former re-creating object_C maybe wrong and try to replace the object_C with the real object_A. But because object_C has been modified, so the LFSCK cannot replace it. ##### error: get_param: param_path 'debug_mb': No such file or directory oleg424-server: error: set_param: param_path 'debug_mb': No such file or directory oleg424-server: error: set_param: setting 'debug_mb'='150': No such file or directory pdsh@oleg424-client: oleg424-server: ssh exited with exit code 2 oleg424-client: error: set_param: param_path 'debug_mb': No such file or directory oleg424-client: error: set_param: setting 'debug_mb'='150': No such file or directory pdsh@oleg424-client: oleg424-client: ssh exited with exit code 2 debug=-1 debug=-1 parent_fid=[0x200004a52:0x76:0x0] total: 10 open/close in 0.05 seconds: 213.61 ops/second f0_fid=[0x200004a52:0x81:0x0] f1_fid=[0x200004a52:0x82:0x0] Inject failure stub on MDT0 to simulate dangling name entry fail_val=0x82 fail_loc=0x1621 fail_val=0 fail_loc=0 - unlinked 0 (time 1717557485 ; total 0 ; last 0) total: 10 unlinks in 0 seconds: inf unlinks/second 'ls' should fail because of dangling name entry fail_val=10 fail_loc=0x1602 Trigger namespace LFSCK to find out dangling name entry Started LFSCK on the device lustre-MDT0000: scrub namespace fail_val=0 fail_loc=0