== sanity-flr test 48: Verify snapshot mirror ============ 10:59:08 (1754405948) ** 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.129238 s, 24.3 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.0700975 s, 44.9 MB/s ** resync it again ** verify mirror 2 doesn't change original checksum: b1637c145decfce4b81af7aac09095b4 - mirror 1 checksum: 74398ac4d4f407a6672d5c37b24495ae - mirror 2 checksum: b1637c145decfce4b81af7aac09095b4 - ** 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:59:09 2025' lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lcme_offset: 336 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000405 lmm_object_id: 0xa lmm_fid: [0x200000405:0xa: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: [0x2c0000401:0x54:0x0] } - lcme_id: 131076 lcme_mirror_id: 2 lcme_flags: init,stale,nosync lcme_timestamp: 'Tue Aug 5 10:59:09 2025' lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lcme_offset: 392 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000405 lmm_object_id: 0xa lmm_fid: [0x200000405:0xa: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: [0x2c0000401:0x55:0x0] } ** resync mirror 2 ** verify mirror 2 resync-ed original checksum: b1637c145decfce4b81af7aac09095b4 - mirror 1 checksum: 74398ac4d4f407a6672d5c37b24495ae - mirror 2 checksum: 74398ac4d4f407a6672d5c37b24495ae - ** 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:59:09 2025' lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lcme_offset: 336 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000405 lmm_object_id: 0xa lmm_fid: [0x200000405:0xa: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: [0x2c0000401:0x54:0x0] } - lcme_id: 131076 lcme_mirror_id: 2 lcme_flags: init,nosync lcme_timestamp: 'Tue Aug 5 10:59:09 2025' lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lcme_offset: 392 lcme_size: 56 sub_layout: lmm_magic: 0x0BD10BD0 lmm_seq: 0x200000405 lmm_object_id: 0xa lmm_fid: [0x200000405:0xa: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: [0x2c0000401:0x55:0x0] }