[LU-2437] Add Mechanism to Verify Global and Per Slave Consistency Into LFSCK Infrastructure Created: 07/Mar/12  Updated: 20/Jul/17

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Johann Lombardi (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Epic/Theme: ORI-414
Project: Orion
Rank (Obsolete): 2807

 Comments   
Comment by Andreas Dilger [ 28/Oct/15 ]

Johann, is this something that is still needed? If yes, can you provide a description beyond the summary line of what needs to be implemented.

Comment by Johann Lombardi (Inactive) [ 28/Oct/15 ]

The quota master maintains multiple different local quota files (IAM files for ldiskfs):

  • a global quota file with the global limits as well as how much space is globally allocated to all slaves
  • one quota file per slave storing how much space is allocated to this slave

For quota allocation/release, the global quota file and the slave one are updated transactionally so they should never be inconsistent in theory. However, in case of corruption, it would be great to have a mechanism to verify that, for each uid/gid, sum(slave_space) = global_space and to fix it if it is inconsistent.

Generated at Sat Feb 10 01:25:11 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.