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

Requesting a tunable that prevents regular users from setting the initial OST

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 16848

    Description

      The ability to explicitly define the initial OST for a new file has been misused by some end users. While we all agree that removing this feature should not be the solution, at least one user has requested the ability to disable the lfs setstripe -i functionality on a per-filesystem basis.

      One option is to block users from being able to use lfs setstripe -i by adding a /proc tunable on the MDS that prevents regular users from doing this, but it would be off by default.

      Thanks!

      Attachments

        Issue Links

          Activity

            [LU-6689] Requesting a tunable that prevents regular users from setting the initial OST

            This is at least partly implemented by patch https://review.whamcloud.com/54341 ("LU-17628 lfs: add lfs_setstripe admin restrict"), which prevents users from setting any parameters with "lfs setstripe". However, that is a "soft" restriction that can be overridden by application libraries, while this should probably be implemented as an RBAC control on a nodemap.

            adilger Andreas Dilger added a comment - This is at least partly implemented by patch https://review.whamcloud.com/54341 ( " LU-17628 lfs: add lfs_setstripe admin restrict" ), which prevents users from setting any parameters with " lfs setstripe ". However, that is a "soft" restriction that can be overridden by application libraries, while this should probably be implemented as an RBAC control on a nodemap.

            People

              wc-triage WC Triage
              brett Brett Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: