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

add option to restrict lfs setstripe

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

            [LU-17628] add option to restrict lfs setstripe
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54341/
            Subject: LU-17628 lfs: add lfs_setstripe admin restrict
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 5b99b881c412993f239bf8e708ae9526ba1bc9e3

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54341/ Subject: LU-17628 lfs: add lfs_setstripe admin restrict Project: fs/lustre-release Branch: master Current Patch Set: Commit: 5b99b881c412993f239bf8e708ae9526ba1bc9e3

            "Patrick Farrell <patrick.farrell@oracle.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54341
            Subject: LU-17628 lfs: add lfs_setstripe admin restrict
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: be1094197fb18f76537c43c3f5a225e0a3c385bc

            gerrit Gerrit Updater added a comment - "Patrick Farrell <patrick.farrell@oracle.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54341 Subject: LU-17628 lfs: add lfs_setstripe admin restrict Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: be1094197fb18f76537c43c3f5a225e0a3c385bc

            People

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

              Dates

                Created:
                Updated:
                Resolved: