[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:
Related
is related to LU-4017 Add project quota support feature Resolved
is related to LUDOC-202 Lustre Manual Documentation for proje... Resolved
is related to LU-7991 Add project quota for ZFS Resolved
is related to LU-10857 sanity-quota fix: allow to disable pr... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I was reading in the Lustre manual section for project quota:

Lustre filesystem formatted with a Lustre release prior to 2.10 can be still safely upgraded to release 2.10, but will not have 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.

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
even project quota feature disabled in default, it should point out that only affect project quota.

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

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