Details

    • 3
    • 16861

    Description

      There are a couple of improvements to make to the lfs_migrate script:

      • pass all of the "lfs setstripe" options through to "lfs migrate" when calling "lfs_migrate" (they do not overlap), so it would be possible to just strip out existing lfs_migrate options and pass the rest to "lfs migrate"
      • the man page should be updated to say it is safe to use on in-use files for 2.5+ MDTs (when the lfs migrate command was in place and working correctly)
      • the man page should be split into a separate lfs-migrate.1 man page with more description and examples (per LU-4315)
      • the hard-link migration doesn't need to do anything special if "lfs migrate" works, and if it fails then "lfs path2fid" and "lfs fid2path" (or "lfs path2fid --parents") can be used to generate the list of links to a file and then hard-link

      Attachments

        Issue Links

          Activity

            [LU-6051] "lfs_migrate" improvements

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30801/
            Subject: LU-6051 utils: allow lfs_migrate to handle hard links
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 19fb581aa291f5d192a2e192e5079ae300b5e7aa

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30801/ Subject: LU-6051 utils: allow lfs_migrate to handle hard links Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 19fb581aa291f5d192a2e192e5079ae300b5e7aa

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30800/
            Subject: LU-6051 utils: Remove incorrect request for getstripe help
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 44a4b7931f5dbaf0a07c41aaedf6ad93d671dca9

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30800/ Subject: LU-6051 utils: Remove incorrect request for getstripe help Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 44a4b7931f5dbaf0a07c41aaedf6ad93d671dca9

            John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30799/
            Subject: LU-6051 utils: allow lfs_migrate to migrate links
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: 84e0507e79b2baa5b011aed17989395d79ec7f8a

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30799/ Subject: LU-6051 utils: allow lfs_migrate to migrate links Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 84e0507e79b2baa5b011aed17989395d79ec7f8a

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29950/
            Subject: LU-6051 lfs: Update lfs_migrate man page for in-use files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6b097499d9ce191b49a4e9c4b590ca2b7e89700f

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29950/ Subject: LU-6051 lfs: Update lfs_migrate man page for in-use files Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6b097499d9ce191b49a4e9c4b590ca2b7e89700f

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30801
            Subject: LU-6051 utils: allow lfs_migrate to handle hard links
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 9f0a1fda800cf58ed278ed86f8338ba90545dccc

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30801 Subject: LU-6051 utils: allow lfs_migrate to handle hard links Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 9f0a1fda800cf58ed278ed86f8338ba90545dccc

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30800
            Subject: LU-6051 utils: Remove incorrect request for getstripe help
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 7e23e96e3cc8eec0013c1c1b908b15c08fed4a4a

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30800 Subject: LU-6051 utils: Remove incorrect request for getstripe help Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 7e23e96e3cc8eec0013c1c1b908b15c08fed4a4a

            Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30799
            Subject: LU-6051 utils: allow lfs_migrate to migrate links
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: 263465020d55735841f89fe325168da7c8ee982a

            gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30799 Subject: LU-6051 utils: allow lfs_migrate to migrate links Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 263465020d55735841f89fe325168da7c8ee982a

            Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/29950
            Subject: LU-6051 lfs: Update lfs_migrate man page for in-use files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2c47428fbf9d6624b6b652d239730bf0e06cf7a4

            gerrit Gerrit Updater added a comment - Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/29950 Subject: LU-6051 lfs: Update lfs_migrate man page for in-use files Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2c47428fbf9d6624b6b652d239730bf0e06cf7a4

            The other lfs migrate patches are tracked by their own tickets.

            adilger Andreas Dilger added a comment - The other lfs migrate patches are tracked by their own tickets.
            pjones Peter Jones added a comment -

            All the patches seem to have landed - are more still to come?

            pjones Peter Jones added a comment - All the patches seem to have landed - are more still to come?

            People

              sguminsx Steve Guminski (Inactive)
              adilger Andreas Dilger
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: