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
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-11621 [ LU-11621 ]
            mdiep Minh Diep made changes -
            Labels Original: LTS easy New: easy
            mdiep Minh Diep made changes -
            Fix Version/s New: Lustre 2.10.4 [ 13691 ]
            mdiep Minh Diep made changes -
            Labels Original: easy New: LTS easy
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-10 [ JFC-10 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-19 [ JFC-19 ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-9629 [ LU-9629 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-19 [ JFC-19 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to JFC-10 [ JFC-10 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: