{"id":1179,"date":"2014-07-22T20:33:23","date_gmt":"2014-07-22T20:33:23","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=1179"},"modified":"2014-07-22T20:34:18","modified_gmt":"2014-07-22T20:34:18","slug":"qnap-raid-rebuild-way-too-slow","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=1179","title":{"rendered":"QNAP RAID rebuild way too slow, resolved"},"content":{"rendered":"<p>In an 8-drive Qnap TS 879 Pro, we had a drive fail.  After replacing the drive, the rebuild started automatically.  A couple hours later, the status showed only 1% rebuilt.  At this rate, it will take a week to rebuild &#8211; that&#8217;s no good, what if another drive fails in the meanwhile? <\/p>\n<p>Searching brought me to <a href=\"http:\/\/dwaves.de\/index.php\/2014\/05\/14\/qnap-raid-rebuild-slow-how-to-increase-raid-rebuild-speed\/\">this page<\/a> that explains how to improve this.  We logged into the unit as user admin and executed the following command:<br \/>\n<code>echo 40000 > \/proc\/sys\/dev\/raid\/speed_limit_min<\/code><\/p>\n<p>Then monitoring with <code>cat \/proc\/mdstat<\/code> I saw the &#8220;finish&#8221; value drop from over 8800 minutes to less than 1400.  Now the rebuild should be done in one day instead of one week.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In an 8-drive Qnap TS 879 Pro, we had a drive fail. After replacing the drive, the rebuild started automatically. A couple hours later, the status showed only 1% rebuilt. At this rate, it will take a week to rebuild &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=1179\">Continue reading <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":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1179"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1179"}],"version-history":[{"count":2,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1179\/revisions"}],"predecessor-version":[{"id":1182,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1179\/revisions\/1182"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}