Filesystem has been set read-only problem.


case:

  when system is running well ,sudden tf became read-only;

analyze:

  read the kernel log using dmesg , find follow log:

FAT-fs (mmcblk0p1): error, clusters badly computed (59 != 58)
FAT-fs (mmcblk0p1): Filesystem has been set read-only

   what happen:

    when we writing to tf card ,    tf card have  bad clusters ,  so filesystem  been set read-only.

solution:

  umout tf card , the remount tf card, that can solution.

 

       when we can't write to tf card , we can find the problem,

     first : judge the file system is writabe from /proc/mount

     second : maybe tf card none free space. thought : df  -h 

        

  

 

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM