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

add option to restrict lfs setstripe

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In some settings, it's not desirable for users to be able to set their own striping.  This is purely a 'convenience' restriction, where the admin prefers users not set their own striping to avoid user error, and not a security restriction.  This is for sites which have a sensible default striping and prefer not to modify it.

      The goal here is to avoid user error.  However, some applications use the Lustre API to set their own striping, and it's not desirable for such applications to fail.  So this check is special-cased to check if the 'lfs' command is being used and only return error in that case.  The idea is that a determined user could get around this, but it will be much harder for users to set incorrect striping without intending to do so.  (Users making inadvertent striping errors is a persistent cause of OST imbalance.)

      Attachments

        Issue Links

          Activity

            People

              paf Patrick Farrell (Inactive)
              paf Patrick Farrell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: