Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
3
-
9223372036854775807
Description
It would be useful if "lfs quota -u $USER" without a filesystem mountpoint would print the quota information for all of the mounted Lustre client filesystems, rather than having to specify the filesystem names explicitly, like "lfs df" does in lfs_df(). This would make it useful to add into a login script like:
test -t 0 && lfs quota -u $USER
so that it prints Lustre quota usage for interactive login shells without the user/admin having to script this to scan for mounted Lustre filesystems and run "lfs quota -u $USER MOUNTPOINT" for each one.
Ideally, combined with "lfs quota -a" from LU-14535 for a regular user this would print the quota information for the current UID and every GID listed by "id". I'm not sure if there is any easy way to do this for project quota limits, except to check "lfs quota -p PROJID" where "PROJID = UID" as proposed in LU-13335.
Attachments
Issue Links
- is related to
-
LU-18191 sanity-quota test_90b: quota info from /mnt/lustre not xxx , found xxx
-
- Resolved
-
-
LU-19132 lfs quota -s START_QID -e END_QID needs documentation
-
- Resolved
-
-
LU-18079 add options for 'lfs quota' to replace getquota() argument parsing
-
- Resolved
-
-
LU-18220 "lfs quota" output is difficult to read
-
- Resolved
-
- is related to
-
LU-13335 add name lookup for project IDs
-
- Resolved
-
-
LU-14535 add option for LFS to get all quota information
-
- Resolved
-