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

sanity.sh test_51b and test_51bb fail for small/full MDT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • Lustre 2.4.0
    • None
    • 3
    • 4406

    Description

      Running sanity.sh test_51b() fails when the MDT filesystem is 256MB, because the filesystem can create fewer than 64k directories consume at 4kB each, even if there are enough inodes. The following test_51bb() fails if NUMTEST is reduced in test_51b(), because this is done inside the subshell, and does not get propagated to the next test.

      Add an additional check that there are enough free blocks in the filesystem for creating subdirectories, or reduce the subdirectory count appropriately. Also, write the actual number of subdirectories created into a temporary file in test_51b() and then read it back in test_51bb() so that the test completes correctly.

      Attachments

        Activity

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: