Manual:RouterBOARD bad blocks: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
New page: right Every once in a while, one can notice a number of '''bad blocks''' appearing in the RouterBOARD resource page. A bad block indicates a problem to write in one pa...
 
 
(12 intermediate revisions by 5 users not shown)
Line 3: Line 3:
Every once in a while, one can notice a number of '''bad blocks''' appearing in the RouterBOARD resource page. A bad block indicates a problem to write in one part of the NAND storage device, but it doesn't affect the performance of your router, and it doesn't give any indication of quality. According to the manufacturer of NAND chips, up to 5 blocks can be bad when NAND is manufactured, and up to 80 bad blocks could develop during operation, but it will '''not''' disturb the operation of your router, because complex workaround mechanisms are in place, that will copy the data to another block and attempt to fix the bad block.
Every once in a while, one can notice a number of '''bad blocks''' appearing in the RouterBOARD resource page. A bad block indicates a problem to write in one part of the NAND storage device, but it doesn't affect the performance of your router, and it doesn't give any indication of quality. According to the manufacturer of NAND chips, up to 5 blocks can be bad when NAND is manufactured, and up to 80 bad blocks could develop during operation, but it will '''not''' disturb the operation of your router, because complex workaround mechanisms are in place, that will copy the data to another block and attempt to fix the bad block.


* '''Note'''! ''If more than a 100 bad blocks should develop in the NAND chip of a RouterBOARD device, you should try to FORMAT NAND from the BOOTLOADER setup menu, and it will reduce the number of bad blocks''  
* '''Note'''! ''If more than a 100 bad blocks (more than 5% in new versions) should develop in the NAND chip of a RouterBOARD device, you should try to reinstall RouterOS with [[Netinstall]], and it will reduce the number of bad blocks''  


The manufaturer of the NAND chip guarantees a 100'000 write cycles to the NAND sectors, so storing files and logs will be no problem for many years to come, but if you are planning to use the RouterBOARD as an active caching or logging server, and external drive or a replacable memory card could be a better alternative. Note that several RouterBOARD models support USB external drives and different types of memory cards.  
Since RouterOS v5.18, NAND is refreshed every few minutes which increases sector writes by ~32 per refresh. This is to ensure evenly distributed NAND wear, to increase protection against data loss as compared to previous versions. As the manufacturer of the NAND chip guarantees 100'000 write cycles to the NAND sectors, 32 sector writes per refresh would mean NAND life is about 100'000 weeks.
 
If you are planning to use the RouterBOARD as an active caching or logging server, an external drive or a replaceable memory card could be a better alternative than keeping them on the NAND chip. Note that several RouterBOARD models support USB external drives and different types of memory cards.  


'''Important'''! As you can see in the screenshot above, RouterOS shows you writes per NAND TOTAL, not writes per sector. This is different than the given 100'000 write guarantee per sector.  
'''Important'''! As you can see in the screenshot above, RouterOS shows you writes per NAND TOTAL, not writes per sector. This is different than the given 100'000 write guarantee per sector.  
Line 11: Line 13:
== See also ==
== See also ==


* Hynix [http://www.hynix.com/datasheet/pdf/flash/HY27(U_S)S(08_16)121A%20Series(Rev1.1).pdf NAND datasheet]
* Hynix [http://www.hynix.com/product/filedata/fileDownload.do?seq=4165 NAND datasheet]
 
[[Category:Routerboard|RouterBOARD_bad_blocks]]
[[Category:Manual|RouterBOARD_bad_blocks]]

Latest revision as of 16:00, 23 October 2018

Every once in a while, one can notice a number of bad blocks appearing in the RouterBOARD resource page. A bad block indicates a problem to write in one part of the NAND storage device, but it doesn't affect the performance of your router, and it doesn't give any indication of quality. According to the manufacturer of NAND chips, up to 5 blocks can be bad when NAND is manufactured, and up to 80 bad blocks could develop during operation, but it will not disturb the operation of your router, because complex workaround mechanisms are in place, that will copy the data to another block and attempt to fix the bad block.

  • Note! If more than a 100 bad blocks (more than 5% in new versions) should develop in the NAND chip of a RouterBOARD device, you should try to reinstall RouterOS with Netinstall, and it will reduce the number of bad blocks

Since RouterOS v5.18, NAND is refreshed every few minutes which increases sector writes by ~32 per refresh. This is to ensure evenly distributed NAND wear, to increase protection against data loss as compared to previous versions. As the manufacturer of the NAND chip guarantees 100'000 write cycles to the NAND sectors, 32 sector writes per refresh would mean NAND life is about 100'000 weeks.

If you are planning to use the RouterBOARD as an active caching or logging server, an external drive or a replaceable memory card could be a better alternative than keeping them on the NAND chip. Note that several RouterBOARD models support USB external drives and different types of memory cards.

Important! As you can see in the screenshot above, RouterOS shows you writes per NAND TOTAL, not writes per sector. This is different than the given 100'000 write guarantee per sector.

See also