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

read-only client mounts shouldn't allow quota changes

Details

    • 3
    • 9223372036854775807

    Description

      Currently, read-only Lustre mount does not prevent quota changes from being made to it.

      # lfs quota -g abc123 .
      Disk quotas for grp abc123 (gid 6901):
       Filesystem kbytes quota limit grace files quota limit grace
       . 43634815148 177167400960 186025771008 - 106943 14641000 15373050 -
      # touch afile
      touch: cannot touch 'afile': Read-only file system
      # lfs setquota -g abc123 -I 15373999 .
      # lfs quota -g abc123 .
      Disk quotas for grp abc123 (gid 6901):
       Filesystem kbytes quota limit grace files quota limit grace
       . 43634815148 177167400960 186025771008 - 106943 14641000 15373999 -
      #
      

      Attachments

        Activity

          [LU-14696] read-only client mounts shouldn't allow quota changes

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44923/
          Subject: LU-14696 llite: check read only mount for setquota
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: 2422773e37f6cc2b98408e44f95d1f928b546854

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44923/ Subject: LU-14696 llite: check read only mount for setquota Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 2422773e37f6cc2b98408e44f95d1f928b546854

          "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44923
          Subject: LU-14696 llite: check read only mount for setquota
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: e18c47a7fbd1d2520da2eb091362658191219440

          gerrit Gerrit Updater added a comment - "Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44923 Subject: LU-14696 llite: check read only mount for setquota Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: e18c47a7fbd1d2520da2eb091362658191219440
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43765/
          Subject: LU-14696 llite: check read only mount for setquota
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 29e00cecc6019fbdb5bd98511970970ac5ef5318

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/43765/ Subject: LU-14696 llite: check read only mount for setquota Project: fs/lustre-release Branch: master Current Patch Set: Commit: 29e00cecc6019fbdb5bd98511970970ac5ef5318

          Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43765
          Subject: LU-14696 llite: check read only mount for setquota
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: e8603b1a9ac493d56e2c437cd075740245d67392

          gerrit Gerrit Updater added a comment - Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43765 Subject: LU-14696 llite: check read only mount for setquota Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e8603b1a9ac493d56e2c437cd075740245d67392

          People

            hongchao.zhang Hongchao Zhang
            hongchao.zhang Hongchao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: