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

remote directories cannot be removed by "rm -r"

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • Lustre 2.4.0
    • Lustre 2.4.0
    • 3
    • 6716

    Description

      With MDSCOUNT=2, sanity test 31f will fail when the test creates a directory using 'lfs setdirstripe -i 1' but then tries to remove it using 'rm -r'. A test_rmdir function could be added to test-framework.sh to handle this case.

      Attachments

        Issue Links

          Activity

            [LU-2773] remote directories cannot be removed by "rm -r"

            Closing this as a duplicate of LU-2754, since the symptoms are similar, and they will be fixed by the same patch.

            adilger Andreas Dilger added a comment - Closing this as a duplicate of LU-2754 , since the symptoms are similar, and they will be fixed by the same patch.
            di.wang Di Wang added a comment -

            This can be fixed by http://review.whamcloud.com/#change,5257 as well.

            di.wang Di Wang added a comment - This can be fixed by http://review.whamcloud.com/#change,5257 as well.

            John, it would also be good to create new test cases if there is testing that you are doing by hand that is not being caught by existing regression tests.

            adilger Andreas Dilger added a comment - John, it would also be good to create new test cases if there is testing that you are doing by hand that is not being caught by existing regression tests.

            Deleting a remote directory should work fine with "rm -r" or "rmdir", and should not need any special handling in userspace.

            I think this is related to LU-2755, and there should NOT be special handling of deleting remote entries.

            adilger Andreas Dilger added a comment - Deleting a remote directory should work fine with "rm -r" or "rmdir", and should not need any special handling in userspace. I think this is related to LU-2755 , and there should NOT be special handling of deleting remote entries.

            People

              di.wang Di Wang
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: