== sanity-lfsck test 47: LFSCK mirror reconstruction depends on filter_fid ========================================================== 10:23:51 (1774880631) ##### Verify that mirror components without filter_fid are not restored by LFSCK, and that all mirrors are restored after resync writes to all mirrors ##### === Part 1: Stale mirrors are not restored === 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0874696 s, 24.0 MB/s Created mirror file with FID: [0x200000401:0x6:0x0] Component IDs: 65537 131074 Mirror count before: 2 Remove the MDT-object to create orphan OST objects fail_loc=0x1616 fail_loc=0 Trigger layout LFSCK to recover the file Started LFSCK on the device lustre-MDT0000: scrub layout Repaired orphans: 2 Found orphan: /mnt/lustre/.lustre/lost+found/MDT0000/[0x200000401:0x6:0x0]-R-0 Mirror count after LFSCK: 1 === Part 2: All mirrors restored after resync === 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0968149 s, 21.7 MB/s Created mirror file with FID: [0x200000401:0x8:0x0] Component IDs after resync: 65537 131074 Component 65537 flags: init Component 131074 flags: init Remove the MDT-object to create orphan OST objects fail_loc=0x1616 fail_loc=0 Trigger layout LFSCK to recover the file Started LFSCK on the device lustre-MDT0000: scrub layout Repaired orphans: 2 Found orphan: /mnt/lustre/.lustre/lost+found/MDT0000/[0x200000401:0x8:0x0]-R-0 Mirror count after LFSCK: 2