{
  "created": "2015-12-20T19:57:07Z",
  "hierarchy": [
    {
      "name": "ROOT",
      "type": "folder",
      "uri": "/ROOT"
    },
    {
      "name": "Testing New Hard Drives",
      "type": "article",
      "uri": "Testing_New_Hard_Drives"
    }
  ],
  "html": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\"/>\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta property=\"og:image\" content=\"/img/logo512.png\"/>\n    <meta property=\"og:site_name\" content=\"Nikhil's Personal Wiki\"/>\n    <link rel=\"og:image\" href=\"/img/logo512.png\"/>\n    <link rel=\"icon\" href=\"/img/favicon.png\"/>\n    <link rel=\"apple-touch-icon\" href=\"/img/logo192.png\"/>\n    <link rel=\"stylesheet\" href=\"/css/styles.css\"/>\n    <link rel=\"stylesheet\" href=\"/css/highlight.css\"/>\n    <title>Testing New Hard Drives &ndash; Nikhil's Personal Wiki</title>\n    <script type=\"text/javascript\" id=\"MathJax-script\" defer src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js\"></script>\n    <script defer data-domain=\"wiki.nikhil.io\" src=\"https://plausible.io/js/plausible.js\"></script>\n  </head>\n  <body>\n    <noscript>\n      👉 A few things won&#8217;t work if you have JavaScript disabled.\n    </noscript>\n    <div class=\"container article\">\n      <header>\n        <nav>\n          <ul>\n            <li>\n              <a href=\"/archive\"  title=\"Archive\">\n                <span>Archive</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/Home\"  title=\"Home\">\n                <span>Home</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/random\"  title=\"See a random article\">\n                <span>Random</span>\n              </a>\n            </li>\n            \n            \n              \n                <li>\n                  <a href=\"/Testing_New_Hard_Drives/raw.txt\"  title=\"View Source\">\n                    <span>Raw</span>\n                  </a>\n                </li>\n              \n              \n            \n            \n            \n            \n              \n                <li>\n                  <a href=\"/Testing_New_Hard_Drives/revisions\" >\n                    <span>Revisions</span>\n                  </a>\n                </li>\n              \n            \n            \n              \n                \n                  <li>\n                    <a href=\"/Testing_New_Hard_Drives/index.json\" title=\"View JSON Object\">\n                      <span>JSON</span>\n                    </a>\n                  </li>\n                \n              \n            \n          </ul>\n        </nav>\n      </header>\n      <main>\n        \n  <nav>\n  <ul>\n    \n      <li>\n        <a data-entity-type=\"folder\" href=\"/ROOT\" title=\"ROOT\">Root</a>\n      </li>\n    \n      <li>\n        <a data-entity-type=\"article\" href=\"/Testing_New_Hard_Drives\" title=\"Testing New Hard Drives\">Testing New Hard Drives</a>\n      </li>\n    \n    \n    \n    \n    \n  </ul>\n</nav>\n\n  <h1>Testing New Hard Drives\n    \n  </h1>\n  <p>Find out the disks on the system</p>\n<pre><code>cat /var/run/dmesg.boot\n</code></pre>\n<p>Run the short test in the background<sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup>.</p>\n<pre><code>smartctl -t short /dev/ada0\n</code></pre>\n<p>Then run a conveyance test (for any damage during shipping)</p>\n<pre><code>smartctl -t conveyance /dev/ada0\n</code></pre>\n<p>Then check for <a href=\"https://wiki.archlinux.org/index.php/Badblocks\">bad blocks</a><sup id=\"fnref:2\"><a href=\"#fn:2\" class=\"footnote-ref\" role=\"doc-noteref\">2</a></sup><sup id=\"fnref:3\"><a href=\"#fn:3\" class=\"footnote-ref\" role=\"doc-noteref\">3</a></sup>.</p>\n<pre><code>badblocks -ws /dev/ada0\n</code></pre>\n<p>Then run a long test<sup id=\"fnref:4\"><a href=\"#fn:4\" class=\"footnote-ref\" role=\"doc-noteref\">4</a></sup>.</p>\n<pre><code>smartctl -t long /dev/ada0\n</code></pre>\n<p>The <code>-a</code> flag shows you everything about the drives</p>\n<pre><code>smartctl -a /dev/ada0\n</code></pre>\n<p>including the time remaining for the tests</p>\n<pre><code>Self-test execution status:      ( 249) Self-test routine in progress...\n                                        90% of test remaining.\n</code></pre>\n<p>and the time it would take to run the tests:</p>\n<pre><code>Short self-test routine\nrecommended polling time:    (   2) minutes.\nExtended self-test routine\nrecommended polling time:    ( 529) minutes.\nConveyance self-test routine\nrecommended polling time:    (   5) minutes.\n</code></pre>\n<p>To see the results <em>after</em> the tests have run</p>\n<pre><code>smartctl -l selftest /dev/ada0\n</code></pre>\n<h2>References</h2>\n<ul>\n<li><a href=\"https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/\">Interpreting <code>badblocks</code> data</a>.</li>\n</ul>\n<h2>Footnotes</h2>\n<div class=\"footnotes\" role=\"doc-endnotes\">\n<hr />\n<ol>\n<li id=\"fn:1\">\n<p>Use <code>-C</code> to run in foreground. But then again, why would you?&#160;<a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n<li id=\"fn:2\">\n<p>The non-destructive version is <code>badblocks -ns</code>.&#160;<a href=\"#fnref:2\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n<li id=\"fn:3\">\n<p>This is a 2-phase, 4-pass command that will take a <em>long</em> time. On<br />\na 4TB WD Red, the whole process was done in about 75 hours.&#160;<a href=\"#fnref:3\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n<li id=\"fn:4\">\n<p>This took about 8 hours on a 4TB WD Red.&#160;<a href=\"#fnref:4\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n</ol>\n</div>\n\n\n      </main>\n      <footer>\n        <p>\n          \n        </p>\n        <ul>\n          \n  <li>1,616 bytes</li>\n  \n    <li>Created on Sunday, 20 December 2015 at 19:57 UTC</li>\n    <li>Modified on Thursday, 28 May 2026 at 13:06 UTC</li>\n    <br/>\n    <li>\n      <a\n        href=\"https://github.com/afreeorange/wiki.nikhil.io.articles/edit/master/Testing New Hard Drives.md\"\n        title=\"Edit this article\">Edit this article</a>\n    </li>\n  \n\n          <li>\n            <a href=\"https://github.com/afreeorange/bock\" title=\"View the project that generates this wiki on Github\">bock\n            5.3.0-beta</a>\n          </li>\n        </ul>\n      </footer>\n    </div>\n    \n    \n      <script type=\"text/javascript\">\n        /**\n         * Quick shortcut to take me to the search box which is 90% of how I navigate\n         * this wiki anyway.\n         */\n        document.body.addEventListener(\n          \"keypress\", (e) => e.key === \"f\"\n          ? window.location.assign(\"/archive\")\n          : null);\n        window.MathJax = {\n          tex: {\n            inlineMath: [\n              [\n                '$', '$'\n              ],\n              [\n                '\\\\(', '\\\\)'\n              ]\n            ]\n          },\n          svg: {\n            fontCache: 'global'\n          }\n        };\n      </script>\n    \n  </body>\n</html></head></html>\n",
  "id": "e5006eb8-4a3b-5ad7-8757-47709303770f",
  "modified": "2026-05-28T13:06:24Z",
  "revisions": [
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-05-28T13:06:24Z",
      "id": "775dab2e0ac6d0d00b6aa3e283bd67833cd08cea",
      "shortId": "775dab2e",
      "subject": "Formatting fixes -- Claude\n",
      "content": "Find out the disks on the system\n\n    cat /var/run/dmesg.boot\n\nRun the short test in the background[^1].\n\n    smartctl -t short /dev/ada0\n\nThen run a conveyance test (for any damage during shipping)\n\n    smartctl -t conveyance /dev/ada0\n\nThen check for [bad blocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n    badblocks -ws /dev/ada0\n\nThen run a long test[^4].\n\n    smartctl -t long /dev/ada0\n\nThe `-a` flag shows you everything about the drives\n\n    smartctl -a /dev/ada0\n\nincluding the time remaining for the tests\n\n    Self-test execution status:      ( 249) Self-test routine in progress...\n                                            90% of test remaining.\n\nand the time it would take to run the tests:\n\n    Short self-test routine\n    recommended polling time:    (   2) minutes.\n    Extended self-test routine\n    recommended polling time:    ( 529) minutes.\n    Conveyance self-test routine\n    recommended polling time:    (   5) minutes.\n\nTo see the results *after* the tests have run\n\n    smartctl -l selftest /dev/ada0\n\n## References\n\n*   [Interpreting `badblocks` data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\n## Footnotes\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-01-13T18:47:28Z",
      "id": "2436477560f26e23d00a24add1cbfeafdca4af78",
      "shortId": "24364775",
      "subject": "No compression\n",
      "content": "Find out the disks on the system\n\n    cat /var/run/dmesg.boot\n\nRun the short test in the background[^1].\n\n    smartctl -t short /dev/ada0\n\nThen run a conveyance test (for any damage during shipping)\n\n    smartctl -t conveyance /dev/ada0\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n    badblocks -ws /dev/ada0\n\nThen run a long test[^4].\n\n    smartctl -t long /dev/ada0\n\nThe `-a` flag shows you everything about the drives\n\n    smartctl -a /dev/ada0\n\nincluding the time remaining for the tests\n\n    Self-test execution status:      ( 249) Self-test routine in progress...  \n                                            90% of test remaining.\n\nand the time it would take to run the tests:\n\n    Short self-test routine  \n    recommended polling time:    (   2) minutes.  \n    Extended self-test routine  \n    recommended polling time:    ( 529) minutes.  \n    Conveyance self-test routine  \n    recommended polling time:    (   5) minutes.\n\nTo see the results *after* the tests have run\n\n    smartctl -l selftest /dev/ada0\n\nReferences\n----------\n\n*   [Interpreting `badblocks` data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-27T07:27:56Z",
      "id": "1aa29105a45aa67523ffb61e73bcc415f935a47e",
      "shortId": "1aa29105",
      "subject": "Fix Markdown conversion\n\nSaw half a season of The Office\n",
      "content": "Find out the disks on the system\n\n    cat /var/run/dmesg.boot\n\nRun the short test in the background[^1].\n\n    smartctl -t short /dev/ada0\n\nThen run a conveyance test (for any damage during shipping)\n\n    smartctl -t conveyance /dev/ada0\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n    badblocks -ws /dev/ada0\n\nThen run a long test[^4].\n\n    smartctl -t long /dev/ada0\n\nThe `-a` flag shows you everything about the drives\n\n    smartctl -a /dev/ada0\n\nincluding the time remaining for the tests\n\n    Self-test execution status:      ( 249) Self-test routine in progress...  \n                                            90% of test remaining.\n\nand the time it would take to run the tests:\n\n    Short self-test routine  \n    recommended polling time:    (   2) minutes.  \n    Extended self-test routine  \n    recommended polling time:    ( 529) minutes.  \n    Conveyance self-test routine  \n    recommended polling time:    (   5) minutes.\n\nTo see the results *after* the tests have run\n\n    smartctl -l selftest /dev/ada0\n\nReferences\n----------\n\n*   [Interpreting `badblocks` data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-21T02:30:47Z",
      "id": "d658e80d1ecb97b196531c7b15a0f9af709c05de",
      "shortId": "d658e80d",
      "subject": "Incremental\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test[^4].\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nReferences\n----------\n\n-   [Interpreting `badblocks`\n    data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "98df4c4dcadea017ceca30ffc5632ff916229edc",
      "shortId": "98df4c4d",
      "subject": "Testing New Hard Drives : v8\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test[^4].\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nReferences\n----------\n\n-   [Interpreting `badblocks`\n    data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "f4b80202d22188b0d56e5f2be0a24ea96cacc747",
      "shortId": "f4b80202",
      "subject": "Testing New Hard Drives : v7\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2]. This is a\n2-phase, 4-pass command that will take a *long* time. On a 4TB WD Red,\nthe whole process was done in about 75 hours.\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nReferences\n----------\n\n-   [Interpreting `badblocks`\n    data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "a687eb68ec97a32b62c37cec060db0af2bca38bb",
      "shortId": "a687eb68",
      "subject": "Testing New Hard Drives : v6\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2]. This is a\n2-phase, 4-pass command that will take a *long* time. On a 4TB WD Red,\neach phase took \\~8 hours.\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nReferences\n----------\n\n-   [Interpreting `badblocks`\n    data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "696b09b2496e0e060463d798743ea87e61f48071",
      "shortId": "696b09b2",
      "subject": "Testing New Hard Drives : v5\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2]\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nReferences\n----------\n\n-   [Interpreting `badblocks`\n    data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "ba1b9e19cdf23b4ceb3f876a63a03abf84dcd976",
      "shortId": "ba1b9e19",
      "subject": "Testing New Hard Drives : v4\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for [bad\nblocks](https://wiki.archlinux.org/index.php/Badblocks)[^2]\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:08Z",
      "id": "06ce9e9f64032516f2663f2a557d66040fdf20d4",
      "shortId": "06ce9e9f",
      "subject": "Testing New Hard Drives : v3\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen check for bad blocks[^2]\n\n` badblocks -ws /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:07Z",
      "id": "c0e76a0c86e1ca2b6a167beef90af4ebac633ef7",
      "shortId": "c0e76a0c",
      "subject": "Testing New Hard Drives : v2\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:07Z",
      "id": "148056bc3c0738f711d5d2f7cb5cb79fd3974630",
      "shortId": "148056bc",
      "subject": "Testing New Hard Drives : First Draft\n",
      "content": "Find out the disks on the system\n\n` cat /var/run/dmesg.boot`\n\nRun the short test in the background[^1].\n\n` smartctl -t short /dev/ada0`\n\nThen run a conveyance test (for any damage during shipping)\n\n` smartctl -t conveyance /dev/ada0`\n\nThen run a long test\n\n` smartctl -t long /dev/ada0`\n\nThe `-a` flag shows you everything about the drives\n\n` smartctl -a long /dev/ada0`\n\nincluding the time remaining for the tests\n\n` Self-test execution status:      ( 249) Self-test routine in progress...`  \n`                                         90% of test remaining.`\n\nand the time it would take to run the tests:\n\n` Short self-test routine`  \n` recommended polling time:    (   2) minutes.`  \n` Extended self-test routine`  \n` recommended polling time:    ( 529) minutes.`  \n` Conveyance self-test routine`  \n` recommended polling time:    (   5) minutes.`\n\nTo see the results *after* the tests have run\n\n` smartctl -l selftest /dev/ada0`\n\nFootnotes\n---------\n\n<references markdown=\"1\">\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: FreeNAS](Category:_FreeNAS \"wikilink\")\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n"
    }
  ],
  "sizeInBytes": 1616,
  "source": "Find out the disks on the system\n\n    cat /var/run/dmesg.boot\n\nRun the short test in the background[^1].\n\n    smartctl -t short /dev/ada0\n\nThen run a conveyance test (for any damage during shipping)\n\n    smartctl -t conveyance /dev/ada0\n\nThen check for [bad blocks](https://wiki.archlinux.org/index.php/Badblocks)[^2][^3].\n\n    badblocks -ws /dev/ada0\n\nThen run a long test[^4].\n\n    smartctl -t long /dev/ada0\n\nThe `-a` flag shows you everything about the drives\n\n    smartctl -a /dev/ada0\n\nincluding the time remaining for the tests\n\n    Self-test execution status:      ( 249) Self-test routine in progress...\n                                            90% of test remaining.\n\nand the time it would take to run the tests:\n\n    Short self-test routine\n    recommended polling time:    (   2) minutes.\n    Extended self-test routine\n    recommended polling time:    ( 529) minutes.\n    Conveyance self-test routine\n    recommended polling time:    (   5) minutes.\n\nTo see the results *after* the tests have run\n\n    smartctl -l selftest /dev/ada0\n\n## References\n\n*   [Interpreting `badblocks` data](https://forums.freenas.org/index.php?threads/interpreting-badblocks-output.27421/).\n\n## Footnotes\n\n[^1]: Use `-C` to run in foreground. But then again, why would you?\n\n[^2]: The non-destructive version is `badblocks -ns`.\n\n[^3]: This is a 2-phase, 4-pass command that will take a *long* time. On\n    a 4TB WD Red, the whole process was done in about 75 hours.\n\n[^4]: This took about 8 hours on a 4TB WD Red.\n",
  "title": "Testing New Hard Drives",
  "untracked": false,
  "uri": "/Testing_New_Hard_Drives",
  "relativePath": "Testing New Hard Drives.md"
}
