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

set default max-inherit to 3 for default dir stripe policy if stripe count is not 0 or 1

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • Lustre 2.15.0
    • Lustre 2.7.0
    • 9223372036854775807

    Description

      From LU-15307 by adilger
       
      In addition to limiting the stripe count used when selecting "-c -1" it also makes sense to return an error from "lfs setdirstripe" when creating a default directory striping that has a stripe count > 1 but does not have max-inherit set. There have repeatedly been problems hit when a filesystem is configured with "lfs setdirstripe -c N -D $MOUNT" (for any N > 1) causing REMOTE_PARENT_DIR to be filled or have tens of millions of entries, excessive MDT inode usage, performance issues, etc.

      With automatic DNE MDT space balancing (LU-13440) the need to stripe directories by default is almost completely eliminated. It should still be possible to set this by explicitly specifying --max-inherit=N, but this is too dangerous to let users shoot themselves in the foot by accident by what "seems" like a good idea but is actually very bad over time.
      Edit

      Attachments

        Issue Links

          Activity

            People

              flei Feng Lei
              flei Feng Lei
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: