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

DNE3: directory migration in non-recursive mode

Details

    Description

      Directory migration will migrate target directory and all of its subdirectories to target MDTs recursively, this will cause huge inodes migration if the target directory is deep and contains lots of sub files. To make this more flexible, a "--non-recursive" option can be added to "lfs migrate -m" to only migrate target directory and the first level of sub files under it.

      Attachments

        Issue Links

          Activity

            [LU-14975] DNE3: directory migration in non-recursive mode

            "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51534
            Subject: LU-14975 utils: non-recursive dir migration fix
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 104f71d2f1707b49868408b896f0231e7407412c

            gerrit Gerrit Updater added a comment - "Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51534 Subject: LU-14975 utils: non-recursive dir migration fix Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 104f71d2f1707b49868408b896f0231e7407412c

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47012/
            Subject: LU-14975 utils: non-recursive dir migration fix
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: df3e6b4404496530a2ee65722b4b739cc0278227

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47012/ Subject: LU-14975 utils: non-recursive dir migration fix Project: fs/lustre-release Branch: master Current Patch Set: Commit: df3e6b4404496530a2ee65722b4b739cc0278227

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47012
            Subject: LU-14975 utils: non-recursive dir migration fix
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 571dafde377fc076acfda153bfb52112dc3675e1

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47012 Subject: LU-14975 utils: non-recursive dir migration fix Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 571dafde377fc076acfda153bfb52112dc3675e1
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44802/
            Subject: LU-14975 dne: dir migration in non-recursive mode
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 5604a6d270b8be13a8aacd72a105fc72b5e16976

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44802/ Subject: LU-14975 dne: dir migration in non-recursive mode Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5604a6d270b8be13a8aacd72a105fc72b5e16976

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44802
            Subject: LU-14975 dne: dir migration in non-recursive mode
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ae4985753b3b50b8aad19116e9d5d634a7bb171f

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44802 Subject: LU-14975 dne: dir migration in non-recursive mode Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ae4985753b3b50b8aad19116e9d5d634a7bb171f
            laisiyao Lai Siyao added a comment -

            The input is deformed, do you mean "--recursive"? Should it default to recursive mode?

            laisiyao Lai Siyao added a comment - The input is deformed, do you mean "--recursive"? Should it default to recursive mode?
            adilger Andreas Dilger added a comment - - edited

            This should use the option name "-d|--directory" to limit the migrate to the specified directory, to match "lfs getstripe" and "ls -ld".

            adilger Andreas Dilger added a comment - - edited This should use the option name " -d|--directory " to limit the migrate to the specified directory, to match " lfs getstripe " and " ls -ld ".

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: