Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
3
-
9223372036854775807
Description
lfs setquota -g quota_usr -b 0 -B 0 -i 0 -I 0 /mnt/lustre lt-lfs setquota: invalid project id 'quota_usr' setquota failed: Operation not permitted sanity-quota : @@@@@@ FAIL: clear quota for [type:-g name:quota_usr] failed
The lfs_setquota function where all quota types (user, group, and project) were using the same error handling path that always displayed "invalid project id" regardless of the actual quota type being processed.
Should be fixed to shows the appropriate error message based on the quota type:
- "invalid user id" for -u (user quota)
- "invalid group id" for -g (group quota)
- "invalid project id" for -p (project quota)