Normally, "Quota over Disk" may appear in the first boot time only, and "Quota usage warning" prompt may appear in the first boot up or after using handset for some time. Before the proposed solution, we have to understand the Quota Management of System Drive
on MTK platform Quota Management will be applied on System Drive. All applications that store data in System Drive need to register following settings in “mcu\custom\common\fs_quota.c”.
1. Priority
The purpose of this set is that when the System Drive run out of space, FS will do sweep operation according to the priority-level. Folders with “DELETED” and “LOW” priority-level will be swept first.
Please refer to comments in front of “fs_quota.c” for detailed information.
2. Qmin
The minimum required size.
3. Qmax
The maximum required size. Most applications will not set this limit.
During file system initialization in each boot up time, it will calculate whether the current System Drive free space meets all applications’ minimum requirement. If not meets, FS will try to sweep System Drive. If free space does not meet quota requirement after sweep, “Quota usage warning” will be popped-up.
During file system initialization in each boot up time, if FS finds that the total space of System Drive can’t meet the all applications’ minimum requires, then handset will prompt “Quota over disk” In conclusion, “Quota usage warning” is due to improper usage on System Drive or caused by improper configuration. “Quota over disk” is due to configuration errors. Both of them are not a fatal error, and can be inspected separately from the following aspects.
For "Quota over disk",
1. System Drive configuration is too small, try to increase its size.
2. Some applications’ configuration is irrational, please check fs_quota.c.
You could check “mcu\build\<BB>\log\cksysdrv.log”. The last line shows the remaining free space in System Drive after auto-format.
For "Quota usage warning",
1. System Drive configuration may be too small.
2. Whether you add your own application in System Drive without registering it in fs_quota.c
1. Priority
The purpose of this set is that when the System Drive run out of space, FS will do sweep operation according to the priority-level. Folders with “DELETED” and “LOW” priority-level will be swept first.
Please refer to comments in front of “fs_quota.c” for detailed information.
2. Qmin
The minimum required size.
3. Qmax
The maximum required size. Most applications will not set this limit.
During file system initialization in each boot up time, it will calculate whether the current System Drive free space meets all applications’ minimum requirement. If not meets, FS will try to sweep System Drive. If free space does not meet quota requirement after sweep, “Quota usage warning” will be popped-up.
During file system initialization in each boot up time, if FS finds that the total space of System Drive can’t meet the all applications’ minimum requires, then handset will prompt “Quota over disk” In conclusion, “Quota usage warning” is due to improper usage on System Drive or caused by improper configuration. “Quota over disk” is due to configuration errors. Both of them are not a fatal error, and can be inspected separately from the following aspects.
For "Quota over disk",
1. System Drive configuration is too small, try to increase its size.
2. Some applications’ configuration is irrational, please check fs_quota.c.
You could check “mcu\build\<BB>\log\cksysdrv.log”. The last line shows the remaining free space in System Drive after auto-format.
For "Quota usage warning",
1. System Drive configuration may be too small.
2. Whether you add your own application in System Drive without registering it in fs_quota.c