How to deal with “Quota over disk” or “Quota usage warning” during boot up procedure

本文详细解释了MTK平台下系统磁盘配额管理的工作原理,包括优先级、最小需求、最大需求等关键设置,并提供了解决磁盘超限警告(Quota over disk)和磁盘使用警告(Quota usage warning)的具体方法。通过调整系统驱动配置和应用程序配置,可以有效避免这些警告信息的出现。
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值