== sanity-lfsck test 18f: Skip the failed OST(s) when handle orphan OST-objects ========================================================== 12:51:00 (1736358660) ##### The target MDT-object is lost. The LFSCK should re-create the MDT-object under .lustre/lost+found/MDTxxxx. If some OST fail to verify some OST-object(s) during the first stage-scanning, the LFSCK should skip orphan OST-objects for such OST. Others should not be affected. ##### 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0159131 s, 132 MB/s 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.014618 s, 143 MB/s 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0174064 s, 120 MB/s /mnt/lustre/d18f.sanity-lfsck/a1/f1 lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 3843 0xf03 0 /mnt/lustre/d18f.sanity-lfsck/a2/f2 lmm_stripe_count: 2 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 3844 0xf04 0 1 3395 0xd43 0 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0164901 s, 127 MB/s 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.0185114 s, 113 MB/s 2+0 records in 2+0 records out 2097152 bytes (2.1 MB) copied, 0.018236 s, 115 MB/s /mnt/lustre/d18f.sanity-lfsck/a3/f3 lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 259 0x103 0x2c0000400 /mnt/lustre/d18f.sanity-lfsck/a4/f4 lmm_stripe_count: 2 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 260 0x104 0x2c0000400 1 258 0x102 0x280000400 Inject failure, to simulate the case of missing the MDT-object fail_loc=0x1616 fail_loc=0x1616 fail_loc=0 fail_loc=0 Inject failure, to simulate the OST0 fail to handle MDT0 LFSCK request during the first-stage scanning. fail_loc=0x161c fail_val=0 Trigger layout LFSCK on all devices to find out orphan OST-object Started LFSCK on the device lustre-MDT0000: scrub layout Waiting 120s for 'partial' Waiting 110s for 'partial' Waiting 100s for 'partial' Updated after 30s: want 'partial' got 'partial' fail_loc=0 fail_val=0 Trigger layout LFSCK on all devices again to cleanup Started LFSCK on the device lustre-MDT0000: scrub layout