Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11510

preserve PFL/FLR/DoM layout with lfs_migrate

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0, Lustre 2.12.5
    • Lustre 2.11.0, Lustre 2.12.0
    • None
    • 3
    • 9223372036854775807

    Description

      The lfs_migrate tool does not currently preserve the PFL/FLR/DoM components of the layout when a file is migrated. By default, it will get the stripe_count and stripe_size of the file (maybe pool and mirror_count if https://review.whamcloud.com/32977 is updated to do so), but it does not preserve more complex layout details.

      Dropping the initial components of a PFL file is probably desirable, since it is unlikely that a file will become smaller, and it makes sense to keep the stripe_count of a file at the widest needed.

      We do need to keep the number of mirrors across migration, and it would probably be good to keep any OST pools per mirror, if they exist.

      Separately, it would be useful to have some way to migrate only the mirror(s) that exist on particular OSTs if we are trying to empty particular OSTs.

      Attachments

        Issue Links

          Activity

            [LU-11510] preserve PFL/FLR/DoM layout with lfs_migrate
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13703 [ LU-13703 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-20 [ JFC-20 ]
            pjones Peter Jones made changes -
            Labels Original: LTS12
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.5 [ 14696 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-883 [ EX-883 ]
            pjones Peter Jones made changes -
            Labels New: LTS12
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9392 [ LU-9392 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9982 [ LU-9982 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9629 [ LU-9629 ]

            People

              emoly.liu Emoly Liu
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: