Symptom
Router displays "Flash disk quota exceeded" log messages, but it has still around 50% of free flash memory
Observed the below errors during the reload and also during normal operations.
Jan 30 21:30:19.102 RP0/0: %FLASH_CHECK-3-DISK_QUOTA: Flash disk quota exceeded [free space is 1916692 kB] - Please clean up files on bootflash.
Conditions
By design, the log message gets generated when the amount of free flash space goes below 50% of total DRAM.
Further Problem Description
16.6.5 does not have this fix.
With this fix the warning threshold is reduced do 30% of total DRAM, i.e. the log message will be generated when the free flash space drops below 30% of total DRAM.
On a platform with 4GB of DRAM and 4GB of bootflash space the warning message is printed when the free bootflash space goes below 1.2GB.