[LU-7307] quota output Created: 15/Oct/15  Updated: 29/Jun/17  Resolved: 29/Jun/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.3
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Mahmoud Hanafi Assignee: Niu Yawei (Inactive)
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

lustre 2.5.3


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

We would like the default quota output improved to make it easier
to understand for users who are unfamiliar with Lustre.

This has been a frequent question from our users about quotas for
years now.
"I'm under quota, but the quota command says I'm over???"

The fact that the quota command shows only the use and the quota,
but not the allocation (which the quota status is based on) is
very confusing for users. All they can see is that they are
marked as over quota when the lfs quota command shows them that
they are under.

We need the allocation to be included in the basic "lfs quota"
output so that users can see the number they are actually over.
Having it at the bottom of the verbose output hundreds of lines
away from from their quota may seem workable to computer
professionals and power users, but it is not useful to many of
our users focused on their science who often aren't even aware
that commands like "head" and "tail" exist.

---------------------------------------------------------------
Here are the output fields for "lfs quota -u joecool /nobackup"
as we would like them (-h as the default would be good):

Disk quotas for user joecool (uid 77777):
  Filesystem    used  alloc   quota   limit   grace   files   alloc  quota   limit   grace
  /nobackup   14.55T  15.59T  10.24T  20.49T       -  199105  202752 300000  400000       -

---------------------------------------------------------------

---------------------------------------------------------------
Current less-useful verbose output with 620 lines of output deleted:

Disk quotas for user someguy  (uid 11361):
     Filesystem    used   quota   limit   grace   files   quota   limit   grace
    /nobackupp8  14.55T  10.24T  20.49T       -  128182  250000  300000       -
nbp8-MDT0000_UUID
                  14.1M       -      0k       -  128182*      -  131072       -
nbp8-OST0000_UUID
                 46.03G*      -  26.55G       -       -       -       -       -

[*620 lines deleted*]

nbp8-OST0137_UUID
                 47.09G*      -  26.51G       -       -       -       -       -
Total allocated inode limit: 131072, total allocated block limit: 8.549T

---------------------------------------------------------------



 Comments   
Comment by Peter Jones [ 16/Oct/15 ]

Niu

Could you please advise?

Thanks

Peter

Comment by Niu Yawei (Inactive) [ 19/Oct/15 ]

Mahmoud, you mean you want the "Total allocated" is displayed as well even if no '-v' is specified?

"I'm under quota, but the quota command says I'm over???"
The fact that the quota command shows only the use and the quota,
but not the allocation (which the quota status is based on) is
very confusing for users. All they can see is that they are
marked as over quota when the lfs quota command shows them that
they are under

'overquota' is determined by "used" and the "limits", "allocation" isn't involved here. So I'm not sure how can a user observe 'overquota' when the 'used' is less than 'limit', could you show me some real example? Thanks.

Comment by Mahmoud Hanafi [ 29/Jun/17 ]

We can close this case thank you.

Comment by Peter Jones [ 29/Jun/17 ]

Thanks Mahmoud.

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