{"id":314,"date":"2013-03-30T20:17:00","date_gmt":"2013-03-30T20:17:00","guid":{"rendered":"http:\/\/thomas.w-p.me.uk\/blog\/2013\/03\/solved-rpi-samba-usb-disk-and-read-only-frustrations\/"},"modified":"2013-03-30T20:17:00","modified_gmt":"2013-03-30T20:17:00","slug":"solved-rpi-samba-usb-disk-and-read-only-frustrations","status":"publish","type":"post","link":"https:\/\/thomas.w-p.me.uk\/blog\/2013\/03\/solved-rpi-samba-usb-disk-and-read-only-frustrations\/","title":{"rendered":"SOLVED: rPi, samba, usb disk and read only frustrations."},"content":{"rendered":"<p>We&#8217;re leaving for holiday tomorrow, so *of course* I decided that it was the *ideal* time to fix the album art in our music connection.\u00a0 Don&#8217;t ask.<\/p>\n<p>I found that I couldn&#8217;t access the windows (samba) share on my Raspberry Pi without it being read only.\u00a0 Two hours of testing later I worked out that it was switching to read only when I tried to edit a file on it from the Windows machine.\u00a0 Much googling later I worked out that it was probably a self defence mechanism of the disk switching to read-only because it had problems.<\/p>\n<p>I knew it had problems but had ignored them.<\/p>\n<p>A little googling later and I had downloaded dosfstools, unmounted the disk and run<\/p>\n<blockquote><p><span>sudo dosfsck -r \/dev\/sdsa1<\/span><\/p><\/blockquote>\n<p>repeatedly until it had no errors.\u00a0 Then it worked perfectly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re leaving for holiday tomorrow, so *of course* I decided that it was the *ideal* time to fix the album art in our music connection.\u00a0 Don&#8217;t ask. I found that I couldn&#8217;t access the windows (samba) share on my Raspberry Pi without it being read only.\u00a0 Two hours of testing later I worked out that &hellip; <a href=\"https:\/\/thomas.w-p.me.uk\/blog\/2013\/03\/solved-rpi-samba-usb-disk-and-read-only-frustrations\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">SOLVED: rPi, samba, usb disk and read only frustrations.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[37,33],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","tag-frustration","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":0,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"wp:attachment":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}