{"id":1100,"date":"2020-08-08T14:39:50","date_gmt":"2020-08-08T19:39:50","guid":{"rendered":"http:\/\/tiemensfamily.com\/TimOnCS\/?p=1100"},"modified":"2020-08-08T14:39:50","modified_gmt":"2020-08-08T19:39:50","slug":"freenas-11-zfs-replace-failed-drive","status":"publish","type":"post","link":"https:\/\/tiemensfamily.com\/timoncs\/2020\/08\/08\/freenas-11-zfs-replace-failed-drive\/","title":{"rendered":"FreeNas 11 ZFS Replace Failed Drive"},"content":{"rendered":"<p>This documents the steps to replace a failed drive in a mirror configuration in FreeNAS 11.1-U7.  This process is really easy with FreeNAS.<\/p>\n<p>This scenario is in contrast to <a href=\"\/TimOnCS\/2019\/10\/12\/zfs-replace-drive-before-it-fails\/\">replacing a failed drive before it fails<\/a> (in a Centos &#8220;ad-hoc&#8221; ZFS system).<\/p>\n<p>(Note: at this time, FreeNAS 11.3-U4.1 is available.  It has a different GUI from the description below.)<\/p>\n<p>First, confirm FreeNAS agrees that the drive is dead.  Your alert in the upper right corner will be showing red &#8220;Critical&#8221;.<\/p>\n<p>Second, physically replace the drive with an equal-or-larger sized drive.<\/p>\n<p>Third, from the FreeNAS 11 GUI:<\/p>\n<ol>\n<li> Click &#8220;Storage&#8221;\n<li> Click on the pool name row (first row, not the second row)\n<li> At the bottom, click &#8220;Volume Status&#8221;\n<li> Click on the row below the &#8220;mirror-0&#8221; that says &#8220;UNAVAIL&#8221;<br \/>\n <br \/>note: the failed disk will probably have a number, like 11421970349345372421, instead of a device, like ada4p2<br \/>\n <br \/>after you do this, a &#8220;Replace&#8221; button appears at the bottom of the screen<\/p>\n<li> Click on &#8220;Replace&#8221;<br \/>\n <br \/>after you do this, a dialog &#8220;Replacing disk 11421970349345372421&#8221;<br \/>\n <br \/>The drop-down dialog will be pre-populated with the newly-inserted disk, by device name, like ada5 (X.Y TB)<\/p>\n<li> Push &#8220;Replace Disk&#8221;<br \/>\n <br \/>after you do this, the dialog changes to &#8220;Please wait&#8230;&#8221;<br \/>\n <br \/>after about 60 seconds, the dialog closes, and returns to your pool status\n<\/ol>\n<p>At this point, all of the disks should show &#8220;ONLINE&#8221;, and the top status changes to &#8220;Resilver&#8221;.<br \/>\nEventually, a &#8220;Progress: NN.nn%&#8221; will start showing the resilvering status of the drive.<br \/>\nYou can also run &#8220;zpool status&#8221; to see the resilver progress.<\/p>\n<p>Extra tidbit: the 4TB drive resilver (2.7TB used) took 8h35m, which is 91MB\/second.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This documents the steps to replace a failed drive in a mirror configuration in FreeNAS 11.1-U7. This process is really easy with FreeNAS. This scenario is in contrast to replacing a failed drive before it fails (in a Centos &#8220;ad-hoc&#8221; &hellip; <a href=\"https:\/\/tiemensfamily.com\/timoncs\/2020\/08\/08\/freenas-11-zfs-replace-failed-drive\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,10],"tags":[],"_links":{"self":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/1100"}],"collection":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":0,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"wp:attachment":[{"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tiemensfamily.com\/timoncs\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}