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

lfs_migrate script does not preserve OST pool if unspecified

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.14.0, Lustre 2.16.1
    • None
    • 3
    • 9223372036854775807

    Description

      It appears that if "lfs_migrate FILE" is run without specifying an OST pool, then the existing pool that a file is allocated on is lost, due to a bug in the script. Running the "lfs migrate" command without any arguments does not lose the pool, but if some other argument is passed (e.g. "-c 2") then the OST pool in the layout is also lost.

      This can cause file objects to be allocated on the wrong OSTs during a mass migration.

      Attachments

        Activity

          [LU-18579] lfs_migrate script does not preserve OST pool if unspecified
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57519/
          Subject: LU-18579 utils: lfs_migrate should inherit OST pool
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: e3f98f9ba4a9e8df2cda56f6ed65bee21e2e78f6

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57519/ Subject: LU-18579 utils: lfs_migrate should inherit OST pool Project: fs/lustre-release Branch: master Current Patch Set: Commit: e3f98f9ba4a9e8df2cda56f6ed65bee21e2e78f6

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: