|
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.
|