== sanity-lfsck test 18b: Find out orphan OST-object and repair it (2) ========================================================== 02:45:42 (1747809942) ##### The target MDT-object is lost. The LFSCK should re-create the MDT-object under .lustre/lost+found/MDTxxxx. The admin should can move it back to normal namespace manually. ##### 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.020195 s, 104 MB/s [0x200003ab1:0x86:0x0] /mnt/lustre/d18b.sanity-lfsck/a1/f1 lmm_stripe_count: 1 lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 3221 0xc95 0x240000400 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0285845 s, 73.4 MB/s [0x200003ab1:0x87:0x0] /mnt/lustre/d18b.sanity-lfsck/f3 lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 lmm_objects: - 0: { l_ost_idx: 0, l_fid: [0x240000400:0xc96:0x0] } lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0xae5:0x0] } Inject failure, to simulate the case of missing the MDT-object fail_loc=0x1616 fail_loc=0 Trigger layout LFSCK --dryrun to find out orphan OST-object Started LFSCK on the device lustre-MDT0000: scrub layout sanity-lfsck test_18b: @@@@@@ FAIL: Expect 3 found on mds1, but got: 4 Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7343:error() = /home/green/git/lustre-release/lustre/tests/sanity-lfsck.sh:2338:test_18b() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7720:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7783:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7597:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-lfsck.sh:2419:main() Dumping lctl log to /tmp/testlogs//sanity-lfsck.test_18b.*.1747809946.log rsync: chown "/tmp/testlogs/.sanity-lfsck.test_18b.debug_log.oleg120-server.1747809946.log.vftkkN" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-lfsck.test_18b.dmesg.oleg120-server.1747809946.log.yF1GQp" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [generator=3.1.2]