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

sanity: test_72a removes all files from Lustre share

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0, Lustre 2.5.2
    • Lustre 2.5.0, Lustre 2.6.0
    • None
    • 13947

    Description

      It's very dangerous to run sanity tests on real Lustre share because it removes all files from Lustre share. Instead of removing all files we need to gracefully cleanup used files after each test.

      The code in test_72a:

      # We had better clear the $DIR to get enough space for dd
      rm -rf $DIR/*
      

      Attachments

        Issue Links

          Activity

            [LU-5047] sanity: test_72a removes all files from Lustre share
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.5.2 [ 10645 ]
            jlevi Jodi Levi (Inactive) made changes -
            Fix Version/s New: Lustre 2.6.0 [ 10595 ]
            dmiter Dmitry Eremin (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Landed to master.

            dmiter Dmitry Eremin (Inactive) added a comment - Landed to master.
            jamesanunez James Nunez (Inactive) made changes -
            Link New: This issue is related to LU-2524 [ LU-2524 ]
            dmiter Dmitry Eremin (Inactive) added a comment - Patch is http://review.whamcloud.com/10291
            dmiter Dmitry Eremin (Inactive) created issue -

            People

              dmiter Dmitry Eremin (Inactive)
              dmiter Dmitry Eremin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: