[LU-9554] upgrade to Lustre 2.10 breaks quota if project quota is not enabled Created: 24/May/17 Updated: 07/Nov/18 Resolved: 25/May/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Andreas Dilger | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
I was reading in the Lustre manual section for project quota:
This doesn't make sense to me. Does this mean that quota is broken on Lustre until "tune2fs --project" is enabled (i.e. that feature HAS to be enabled)? Or is it only that project quota is not working until "tune2fs --project" is run on all targets? If project quota HAS to be enabled for regular quota to work, I would consider that a defect that needs to be fixed before the 2.10 release. If project quota is not enabled on the targets, then the regular user/group quota should continue to work normally on an upgraded system, especially since this would otherwise prevent a system from being downgraded to an older version of Lustre/ldiskfs that doesn't support the project quota feature. |
| Comments |
| Comment by Andreas Dilger [ 24/May/17 ] |
|
If my understanding of the description in the manual is incorrect, then I'm happy to close this ticket. In that case, the description of enabling project quota on the servers should be changed in the user manual. |
| Comment by Wang Shilong (Inactive) [ 25/May/17 ] |
|
Hi Andreas, Sorry, my Manaul updates are confusing, of course usr/group quota could be worked without problems Lustre filesystem formatted with a Lustre release prior to 2.10 can be still safely upgraded to release 2.10, but will not have project functional space usage report until tune2fs --project is run against all targets. This command sets the PROJECT feature flag in the superblock and runs e2fsck (as a result, the target must be offline) to build the per-PROJID disk usage database. |
| Comment by Peter Jones [ 25/May/17 ] |
|
Thanks for the quick clarification Wang Shilong |