Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.11.0
-
3
-
9223372036854775807
Description
I was just doing a quick test on DoM striping on a directory, and found something strange with the output of lfs getstripe. I created a PFL default layout on the directory and then copied files there. They all seem to show the lmm_layout_gen: 0 and a non-zero lmm_stripe_offset: field for the DoM components:
lcm_layout_gen: 4 lcm_mirror_count: 1 lcm_entry_count: 3 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 2 lmm_objects: lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: 67108864 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: [0x100000000:0x3:0x0] }
It seems like lmm_layout_gen: should always be non-zero for PFL components, and lmm_stripe_offset: should be zero, or not even printed for DoM components?