== sanity-flr test 48: Verify snapshot mirror ============ 10:57:59 (1754405879) ** create 2 mirrors FLR file /mnt/lustre/f48.sanity-flr DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[0, 2097152] DEBUG: prev component: NULL DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=2097152 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[2097152, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x0, extent=[0, 2097152] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 2097152], curr=[2097152, 18446744073709551615] DEBUG: prev flags=0x0, curr flags=0x0 DEBUG: Checking start <= end: start=2097152, end=18446744073709551615 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[0, 1048576] DEBUG: prev component: NULL DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=1048576 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[1048576, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x0, extent=[0, 1048576] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 1048576], curr=[1048576, 18446744073709551615] DEBUG: prev flags=0x0, curr flags=0x0 DEBUG: Checking start <= end: start=1048576, end=18446744073709551615 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x6, extent=[0, 2097152] DEBUG: prev component: NULL DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=2097152 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x6, extent=[2097152, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x6, extent=[0, 2097152] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 2097152], curr=[2097152, 18446744073709551615] DEBUG: prev flags=0x6, curr flags=0x6 DEBUG: Checking start <= end: start=2097152, end=18446744073709551615 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[0, 1048576] DEBUG: prev component: found DEBUG: prev component flags=0x6, extent=[2097152, 18446744073709551615] DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=1048576 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x0, extent=[1048576, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x0, extent=[0, 1048576] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 1048576], curr=[1048576, 18446744073709551615] DEBUG: prev flags=0x0, curr flags=0x0 DEBUG: Checking start <= end: start=1048576, end=18446744073709551615 DEBUG: Component validation passed, continuing ** write it 3+0 records in 3+0 records out 3145728 bytes (3.1 MB, 3.0 MiB) copied, 0.140044 s, 22.5 MB/s ** resync the file ** snapshot mirror 2 DEBUG: llapi_layout_sanity_cb: component flags=0x16, extent=[0, 2097152] DEBUG: prev component: NULL DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=2097152 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x16, extent=[2097152, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x16, extent=[0, 2097152] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 2097152], curr=[2097152, 18446744073709551615] DEBUG: prev flags=0x16, curr flags=0x16 DEBUG: Checking start <= end: start=2097152, end=18446744073709551615 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x30, extent=[0, 1048576] DEBUG: prev component: found DEBUG: prev component flags=0x16, extent=[2097152, 18446744073709551615] DEBUG: Component starts at 0, checking if new mirror DEBUG: Setting first_comp = true (new mirror) DEBUG: Setting prev = NULL (new mirror) DEBUG: About to check adjacency, prev=NULL DEBUG: Checking start <= end: start=0, end=1048576 DEBUG: Component validation passed, continuing DEBUG: llapi_layout_sanity_cb: component flags=0x10, extent=[1048576, 18446744073709551615] DEBUG: prev component: found DEBUG: prev component flags=0x30, extent=[0, 1048576] DEBUG: About to check adjacency, prev=exists DEBUG: Checking adjacency: prev=[0, 1048576], curr=[1048576, 18446744073709551615] DEBUG: prev flags=0x30, curr flags=0x10 DEBUG: Checking start <= end: start=1048576, end=18446744073709551615 DEBUG: Component validation passed, continuing ** write it again 3+0 records in 3+0 records out 3145728 bytes (3.1 MB, 3.0 MiB) copied, 0.0962935 s, 32.7 MB/s ** resync it again ** verify mirror 2 doesn't change original checksum: 17fa7436ae8229d075edbef61aacd553 - mirror 1 checksum: 587eeedbf0a404e4139f1a2cfbb51498 - mirror 2 checksum: 17fa7436ae8229d075edbef61aacd553 - ** mirror 2 stripe info /mnt/lustre/f48.sanity-flr composite_header: lcm_magic: 0x0BD60BD0 lcm_size: 448 lcm_flags: wp lcm_layout_gen: 10 lcm_mirror_count: 2 lcm_entry_count: 4 components: - lcme_id: 131075 lcme_mirror_id: 2 lcme_flags: init,stale,nosync lcme_timestamp: 'Tue Aug 5 10:58:02 2025' lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lcme_offset: 336 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000404 lmm_object_id: 0x11 lmm_fid: [0x200000404:0x11:0x0] 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:0x69:0x0] } - lcme_id: 131076 lcme_mirror_id: 2 lcme_flags: init,stale,nosync lcme_timestamp: 'Tue Aug 5 10:58:02 2025' lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lcme_offset: 392 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000404 lmm_object_id: 0x11 lmm_fid: [0x200000404:0x11:0x0] lmm_stripe_count: 1 lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x6a:0x0] } ** resync mirror 2 ** verify mirror 2 resync-ed original checksum: 17fa7436ae8229d075edbef61aacd553 - mirror 1 checksum: 587eeedbf0a404e4139f1a2cfbb51498 - mirror 2 checksum: 587eeedbf0a404e4139f1a2cfbb51498 - ** mirror 2 stripe info /mnt/lustre/f48.sanity-flr composite_header: lcm_magic: 0x0BD60BD0 lcm_size: 448 lcm_flags: ro lcm_layout_gen: 12 lcm_mirror_count: 2 lcm_entry_count: 4 components: - lcme_id: 131075 lcme_mirror_id: 2 lcme_flags: init,nosync lcme_timestamp: 'Tue Aug 5 10:58:02 2025' lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lcme_offset: 336 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000404 lmm_object_id: 0x11 lmm_fid: [0x200000404:0x11:0x0] 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:0x69:0x0] } - lcme_id: 131076 lcme_mirror_id: 2 lcme_flags: init,nosync lcme_timestamp: 'Tue Aug 5 10:58:02 2025' lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lcme_offset: 392 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000404 lmm_object_id: 0x11 lmm_fid: [0x200000404:0x11:0x0] lmm_stripe_count: 1 lmm_stripe_size: 4194304 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x280000400:0x6a:0x0] }