Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0
    • Lustre 2.5.3
    • CentOS6.4, X86_64

    Description

      I found some problems of lustre_rsync,
      1. Do follow shell scripts:
      #!/bin/sh

      pushd /mnt/lustre
      mkdir racer
      mkdir racer/11
      mkdir racer/13
      mv racer/13 racer/14
      mkdir racer/14/14/
      mv racer/14 racer/11/

      popd

      2. use lustre_rsync to sync the files, then will cause difference between source and target directories.

      I found it will be orphan node under .lustrerepl

      Attachments

        Activity

          [LU-6166] bugs of lustre_rsync

          OK, create a new issue about this problems: https://jira.hpdd.intel.com/browse/LU-6229

          gnlwlb wu libin (Inactive) added a comment - OK, create a new issue about this problems: https://jira.hpdd.intel.com/browse/LU-6229

          Ah, sorry, maybe my patch is misleading your guys.
          I think there are some problems in the lustre_rsync, and my patch just fixed one problem.

          This script still will cause another problem, that data are difference between source and target directory:
          #!/bin/sh
          pushd /mnt/lustre
          mkdir racer
          mkdir racer/11
          mkdir racer/13
          mv racer/13 racer/14
          mkdir racer/14/14/
          mv racer/14 racer/11/
          popd

          And, i did not find the root cause, anyone can help me?

          gnlwlb wu libin (Inactive) added a comment - Ah, sorry, maybe my patch is misleading your guys. I think there are some problems in the lustre_rsync, and my patch just fixed one problem. This script still will cause another problem, that data are difference between source and target directory: #!/bin/sh pushd /mnt/lustre mkdir racer mkdir racer/11 mkdir racer/13 mv racer/13 racer/14 mkdir racer/14/14/ mv racer/14 racer/11/ popd And, i did not find the root cause, anyone can help me?
          pjones Peter Jones added a comment -

          Landed for 2.7

          pjones Peter Jones added a comment - Landed for 2.7

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13546/
          Subject: LU-6166 utils: fix bug in lr_link
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 20520e9a2667f63a2630b2f1636e3be5e76d8987

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13546/ Subject: LU-6166 utils: fix bug in lr_link Project: fs/lustre-release Branch: master Current Patch Set: Commit: 20520e9a2667f63a2630b2f1636e3be5e76d8987
          pjones Peter Jones added a comment -

          Yang Sheng

          Could you please take care of this patch?

          Thanks

          Peter

          pjones Peter Jones added a comment - Yang Sheng Could you please take care of this patch? Thanks Peter

          I think here is another small bug:
          http://review.whamcloud.com/13546

          gnlwlb wu libin (Inactive) added a comment - I think here is another small bug: http://review.whamcloud.com/13546

          Wu Libin (gnlwlb@gmail.com) uploaded a new patch: http://review.whamcloud.com/13546
          Subject: LU-6166 utils: fix bug in lr_link
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 217b44bdd2d5850a53f910d869aa604d155ac26d

          gerrit Gerrit Updater added a comment - Wu Libin (gnlwlb@gmail.com) uploaded a new patch: http://review.whamcloud.com/13546 Subject: LU-6166 utils: fix bug in lr_link Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 217b44bdd2d5850a53f910d869aa604d155ac26d

          People

            ys Yang Sheng
            gnlwlb wu libin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: