My installation keeps on writing to disk, even though I have turned off all ‘store-on-disk’ options with graphing and only log critical evens to disk. Every 5 minutes it writes 184 sectors to disk. And since I’m using a CF, I’m afraid my CF can’t handle this forever…
NB. I have a 2.9.2 installation. Since there is no mention that this is a known problem that is fixed in 2.9.3 I’m not upgrading yet. My reason for this is that I want to prove Mikrotik support wrong on this issue
Well, I’ve now upgraded to 2.9.4, rebooted and STILL every 5 minutes there are disk writes taking place! Even slightly more than before the upgrade/reboot. Now it is writing 196 sectors each 5 minutes…!
What else writes to disk, besides logging & graphing…?
CF and PC cards offer extended temperature ranges, extreme endurance, an MTBF (Mean Time Between Failures) of 3 million hours, extended shock and vibration resistance, complete serialization and traceability, and a seven-year warranty. The standard grade cards offer a competitively priced product with high endurance and 1 million hours of MTBF.
So - 3 million hours for their better ones, and 1 million hours for the standard ones. Let’s see … how does that translate into numbers we can understand?
1,000,000 hours is 41,667 days which is 114 years!
3,000,000 hours is 125,000 days which is 342 years!
How is this possible? Manage the physical flash medium by wear leveling and dumping bad blocks. It might shrink a little but not much if managed correctly. My dad invented the first removable flash disk and then an OS to sit on top of it, pretty cool stuff. Its used in almost everything now in some form or another. What a ‘flashback’ that is.
total writes means the total writes in all sectors. But the limitations that you talk about are applied to each sector. so calculate how big your drive is, and how many sectors there are and you will see that the situation is normal. total writes is nothing that you should worry about
we have a CF that has 1.3 million total writes since last upgrade, and the router has been operational for a few years.
A customer of ours had a CF that had 665 million writes on a 128mb IDE slotted flash disk. It ran v2.8 series since v2.8 was beta doing pppoe nas work.
It was unreliable for a while before anyone caught on.