UBIFS FS CHECK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UBIFS FS CHECK

1,418 Views
sim_guo
Contributor I

On the imx6ul board, when the ubifs error occurs, can i repair the rootfs by fsck ?

Labels (1)
0 Kudos
3 Replies

1,325 Views
igorpadykov
NXP Employee
NXP Employee

Hi gxf

seems not according to linux ubifs documentation

linux/ubifs.txt at master · spotify/linux · GitHub 

some workarounds are suggested on

Force fscheck ubifs - NETGEAR Communities 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,325 Views
sim_guo
Contributor I

By default, about 2% of the whole chip size (20/1024 PEB) are reserved for bad blocks handling. If the number of blocks that turn bad exceeds that allocation, an error message will be printed and UBI will switch to read-only mode.

Can I improve the bad block handling size to reduce the possibility of errors?
If I can, what should I do?

0 Kudos

1,325 Views
igorpadykov
NXP Employee
NXP Employee

this is general linux question and may be posted on kernel mail list

Majordomo Lists at VGER.KERNEL.ORG 

Best regards
igor

0 Kudos