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

lfs migrate sends file to stdout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 3
    • 16439

      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!)

            yujian Jian Yu
            fzago Frank Zago (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: