[LU-16928] sanity-compr test_56wb: file was not migrated to pool testpool with PFL layout set for root Created: 27/Jun/23  Updated: 27/Jun/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/24922969-cde5-4abd-8dfd-88bc1571d1e4

test_56wb failed with the following error:

file was not migrated to pool testpool

Test session details:
clients: https://build.whamcloud.com/job/lustre-reviews/95735 - 4.18.0-425.10.1.el8_7.x86_64
servers: https://build.whamcloud.com/job/lustre-reviews/95735 - 4.18.0-425.10.1.el8_lustre.x86_64

the utility lfs_migrate seems not working when root is set with PFL layout and it doesn't return any error

[root@trevis-88vm4 lustre]# mkdir tdir
[root@trevis-88vm4 lustre]# touch tdir/f
[root@trevis-88vm4 lustre]# lfs pool_list lustre
Pools from lustre:
[root@trevis-88vm4 lustre]# lfs getstripe tdir/f 
tdir/f
  lcm_layout_gen:    1
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             1
    lcme_mirror_id:      0
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  1
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 0
      lmm_objects:
      - 0: { l_ost_idx: 0, l_fid: [0x100000000:0x2d601:0x0] }

[root@trevis-88vm4 lustre]# lfs pool_list lustre
Pools from lustre:
lustre.testpool
[root@trevis-88vm4 lustre]# /usr/bin/lfs_migrate -y -q --no-rsync -p testpool /mnt/lustre/tdir/f 
[root@trevis-88vm4 lustre]# lfs getstripe tdir/f 
tdir/f
  lcm_layout_gen:    2
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             1
    lcme_mirror_id:      0
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      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: [0x100010000:0x2da60:0x0] }

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity-compr test_56wb - file was not migrated to pool testpool


Generated at Sat Feb 10 03:31:10 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.