{"id":97,"date":"2014-02-01T00:01:00","date_gmt":"2014-02-01T00:01:00","guid":{"rendered":"http:\/\/www.micha.name\/blog\/?p=97"},"modified":"2014-02-01T00:01:00","modified_gmt":"2014-02-01T00:01:00","slug":"luksclose-fails-device-busy","status":"publish","type":"post","link":"https:\/\/www.micha.name\/blog\/2014\/02\/01\/luksclose-fails-device-busy\/","title":{"rendered":"luksClose fails, device busy"},"content":{"rendered":"<p>Ok, so I recently put my backup system back into my server only to find an issue with my mount\/unmount scripts.<\/p>\n<p>Namely: on unmount, luksClose fails with the device showing as busy. Which is funny because nothing should have been accessing it.<\/p>\n<p>There&#8217;s plenty of posts\/bugs\/etc online of people having the same issue, but either no solutions are posted, or the solutions didn&#8217;t apply in my case.\u00a0 Well, I finally tracked it down: noflushd.<\/p>\n<p>noflushd is a daemon which spins down idle disks.\u00a0 It probably wasn&#8217;t running on my old server which is why I didn&#8217;t have any problems before.<\/p>\n<p>Long story short, shutting down noflushd finally let me close my encrypted backup disk and shut it down. Yayy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, so I recently put my backup system back into my server only to find an issue with my mount\/unmount scripts. Namely: on unmount, luksClose fails with the device showing as busy. Which is funny because nothing should have been accessing it. There&#8217;s plenty of posts\/bugs\/etc online of people having the same issue, but either no solutions are posted, or the solutions didn&#8217;t apply in my case.\u00a0 Well, I finally tracked it down: noflushd. noflushd is a daemon which spins down idle disks.\u00a0 It probably wasn&#8217;t running on my old server which is why I didn&#8217;t have any problems before. Long story short, shutting down noflushd finally let me close my encrypted backup disk and shut it down. Yayy.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[12,21],"_links":{"self":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/97"}],"collection":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":1,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.micha.name\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}