{"id":46,"date":"2015-08-14T15:06:08","date_gmt":"2015-08-14T22:06:08","guid":{"rendered":"http:\/\/andylittle.us\/?p=46"},"modified":"2015-08-14T15:57:47","modified_gmt":"2015-08-14T22:57:47","slug":"raspberry-pi-disk-errors-two","status":"publish","type":"post","link":"https:\/\/andylittle.us\/?p=46","title":{"rendered":"Raspberry PI disk errors two"},"content":{"rendered":"<p>Just unmount the dos partition, fix and remount while the pi is running?<\/p>\n<p>  #aptitude install dosfstools<br \/>\n  #mount<br \/>\n  #umount \/dev\/mmcblk0p1<br \/>\n  #dosfsck -t -a -w \/dev\/mmcblk0p1<br \/>\n  #mount \/dev\/mmcblk0p1 <\/p>\n<p>root@weather:~# dosfsck -t -a -w \/dev\/mmcblk0p1<br \/>\nfsck.fat 3.0.27 (2014-11-12)<br \/>\n0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.<br \/>\n Automatically removing dirty bit.<br \/>\nPerforming changes.<br \/>\n\/dev\/mmcblk0p1: 58 files, 79271\/100792 clusters<br \/>\nroot@weather:~# dosfsck -t -a -w \/dev\/mmcblk0p1<br \/>\nfsck.fat 3.0.27 (2014-11-12)<br \/>\n\/dev\/mmcblk0p1: 58 files, 79271\/100792 clusters<br \/>\nroot@weather:~# mount \/dev\/mmcblk0p1 <\/p>\n<p><strong>And so I know it is fixed:<\/strong><br \/>\nroot@pi-sprinkler:~# echo &#8220;Fixed the DOS FS today&#8221; > \/dev\/kmsg<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just unmount the dos partition, fix and remount while the pi is running? #aptitude install dosfstools #mount #umount \/dev\/mmcblk0p1 #dosfsck -t -a -w \/dev\/mmcblk0p1 #mount \/dev\/mmcblk0p1 root@weather:~# dosfsck -t -a -w \/dev\/mmcblk0p1 fsck.fat 3.0.27 (2014-11-12) 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. Automatically removing dirty bit. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":5,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}