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

lfs migrate sends file to stdout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: Lustre 2.7.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      16439

      Description

      The following test will not migrate the files, but sends them to stdout (eg. the display).

      ./llmount.sh
      cd /mnt/lustre
      cp /bin/ls .
       ~/lustre-cleanup/lustre/utils/lfs migrate -o 0 ls
      

      The problem is in llapi_file_open_param(), where rc is set to 1 by llapi_search_ost(), and then never reset.

      Patch will follow.

      (I can't believe that didn't break any test!)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yujian Jian Yu
                Reporter:
                fzago Frank Zago
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: