[LU-10011] suppress annoying messages for lfs quota Created: 20/Sep/17  Updated: 09/Mar/18  Resolved: 22/Nov/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.3, Lustre 2.10.4

Type: Bug Priority: Minor
Reporter: Wang Shilong (Inactive) Assignee: Wang Shilong (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-10794 lfs quota did not work well for grace... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

See following output:

    
    [wsl@w003 ~]$ lfs quota /lustre1
    Disk quotas for usr wsl (uid 14434):
          Filesystem  kbytes   quota   limit   grace   files   quota limit
    grace
            /lustre1       0       0       0       -       0 0       0       -
    Disk quotas for grp se (gid 1000):
          Filesystem  kbytes   quota   limit   grace   files   quota limit
    grace
            /lustre1   44028       0       0       -      40 0       0       -
    Unexpected quotactl error: Operation not supported
    Disk quotas for prj <unknown> (pid 0):
          Filesystem  kbytes   quota   limit   grace   files   quota limit
    grace
            /lustre1     [0]     [0]     [0]       -     [0]     [0] [0]       -
    Some errors happened when getting quota info. Some devices may be not
    working or deactivated. The data in "[]" is inaccurate.
    
    Since project quota is disabled in default, unsupported project
    quota messages will be annoying here.
    
    Even Project quota is enabled, project id 0 will be outputed here,
    it dose not make much sense either, instead, lfs quota <mnt> will only
    output current user/group quota information in default.



 Comments   
Comment by Peter Jones [ 20/Sep/17 ]

Is this something that you intend to work on wangshilong?

Comment by Gerrit Updater [ 20/Sep/17 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/29107
Subject: LU-10011 utils: suppress annoying messages for project quota
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 11b0014377ce6b2841ea9cfeff3a8bb924c2acdd

Comment by Peter Jones [ 20/Sep/17 ]

I'll take that as a "yes"

Comment by Gerrit Updater [ 22/Sep/17 ]

Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/29165
Subject: LU-10011 utils: refactor lfs quota codes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 16d3793c6fc344cb21e948039f249fb863b3ab70

Comment by Gerrit Updater [ 09/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29107/
Subject: LU-10011 utils: suppress annoying messages for project quota
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0ba70b538768871f8504aca1ed6a24472f46a87d

Comment by Gerrit Updater [ 13/Oct/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/29600
Subject: LU-10011 utils: suppress annoying messages for project quota
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: fb76c0a625525a81ab305bb42bdfd0f992bed120

Comment by Gerrit Updater [ 22/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29165/
Subject: LU-10011 utils: refactor lfs quota codes
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 49fd1d15daf6a0ccb08dc0269f36530019994be1

Comment by Peter Jones [ 22/Nov/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 27/Nov/17 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30272
Subject: LU-10011 utils: refactor lfs quota codes
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 72fde2e478f5d019b4263d93e79c085544fe7a15

Comment by Gerrit Updater [ 19/Dec/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29600/
Subject: LU-10011 utils: suppress annoying messages for project quota
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: d67c1e44339a8a4ddeb91b6b4c212fead0bb3ee2

Comment by Gerrit Updater [ 26/Feb/18 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30272/
Subject: LU-10011 utils: refactor lfs quota codes
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 2ddf307e7f4135857ca7c0b67b7253080a55c23a

Generated at Sat Feb 10 02:31:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.