{"id":3292,"date":"2017-05-21T16:36:51","date_gmt":"2017-05-21T23:36:51","guid":{"rendered":"http:\/\/kmwoley.com\/blog\/?p=3292"},"modified":"2017-05-24T10:11:59","modified_gmt":"2017-05-24T17:11:59","slug":"from-windows-to-unraid-choosing-my-next-home-server-os","status":"publish","type":"post","link":"https:\/\/kmwoley.com\/blog\/from-windows-to-unraid-choosing-my-next-home-server-os\/","title":{"rendered":"From Windows to unRAID: choosing my next home-server OS"},"content":{"rendered":"<p><em>This is the first in several posts about getting unRAID setup for the first time. <a href=\"https:\/\/kmwoley.com\/blog\/tag\/unraid\">Look for the unRAID tag to see all of the related posts<\/a>.<\/em><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2017\/05\/20170516_134716-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3341\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2017\/05\/20170516_134716-1.jpg\" alt=\"\" width=\"1024\" height=\"768\" srcset=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2017\/05\/20170516_134716-1.jpg 1024w, https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2017\/05\/20170516_134716-1-300x225.jpg 300w, https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2017\/05\/20170516_134716-1-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>I&#8217;ve run a Windows 10 (and Vista, 7, 8, 8.1) machine as our household&#8217;s file server for many, many years. It worked well enough. I had two hard drives set up as a RAID, and an SSD to run the OS from. But I began to realize that this setup was a lil risky and pretty inflexible &#8211; most notably it would never notify me if one of my disks started to fail (or any other data-oriented problems, for that matter). And it wasn&#8217;t easy to run the open source software packages I was wanting to run (like <a href=\"https:\/\/openvpn.net\/\">OpenVPN <\/a>or <a href=\"https:\/\/zoneminder.com\/\">ZoneMinder<\/a>).<\/p>\n<p>This was a prescient\u00a0worry given that my two 1.5TB drives which stored all of my family&#8217;s most important photos &amp; files were about to fail.<\/p>\n<p>I looked around at getting a dedicated box for just file serving (<a href=\"http:\/\/thewirecutter.com\/reviews\/best-network-attached-storage\/\">Synology, QNAP<\/a>). I looked at software to add to the Windows install to solve some of my issues like better data protection (most notably <a href=\"http:\/\/www.snapraid.it\/\">SnapRAID<\/a>). And I looked at the slew of dedicated home NAS software like <a href=\"http:\/\/www.freenas.org\/\">FreeNAS<\/a>, <a href=\"https:\/\/www.nas4free.org\/\">Nas4Free<\/a>, and <a href=\"https:\/\/lime-technology.com\/\">unRAID<\/a>.<\/p>\n<p>Ultimately I picked unRAID because it looked to be the easiest to get everything running, had a good and active support community, was cheap (but not free) and was based on a Linux distribution (instead of FreeBSD). The biggest thing going <em>against<\/em> unRAID to me was that (1) it didn&#8217;t have native bit rot (data degradation) protection like SnapRAID or FreeNAS and (2) it&#8217;s not open source.\u00a0I decided I can live with a commercial project and that I can find a work around to protect against bit rot.<\/p>\n<p>I was really close to choosing FreeNAS, but they were going through some turmoil with a failed release of their next-generation version 10 that had the Docker support I wanted&#8230; so I passed for now.<\/p>\n<p>It should be clear that this isn&#8217;t intended to be a comparison of all the NAS options out there &#8211; if you&#8217;re interested in doing your own comparison, there&#8217;s a bunch of info out there and you should judge for yourself. For example,\u00a0<a href=\"http:\/\/www.snapraid.it\/compare\">SnapRAID has a really nice comparison table of the file system capabilities<\/a> that I found very useful.<\/p>\n<p><strong>What my computer did before (running Windows):<\/strong><\/p>\n<ul>\n<li>Store and serve files (documents, pictures, music, and video)<\/li>\n<li>Backup those files to the cloud (via CrashPlan)<\/li>\n<li>Provide a backup location for the computers in our extended family (via CrashPlan)<\/li>\n<li>Run our in-house music system (via Logitech Squeezebox family of devices)<\/li>\n<li>Run my IP security camera system<\/li>\n<li>Monitor the UPS (backup battery) and gracefully shut down in the event of power loss<\/li>\n<li>Occasionally watch Hulu via the web browser &amp; the TV it was connected to.<\/li>\n<\/ul>\n<p><strong>What it didn&#8217;t do:<\/strong><\/p>\n<ul>\n<li>Monitor the health of the disks (and files) and inform me of impending problems<\/li>\n<li>Provide a dashboard of system health, status, and related controls<\/li>\n<li>Operate power-efficiently, because\u2026\n<ul>\n<li>Both disks in the RAID spinning up when reading any file<\/li>\n<li>Case fans ran all the time (vs. being controlled by HDD temperatures)<\/li>\n<li>Spending time &amp; energy updating parts of the OS I&#8217;ll never use (looking at you, Windows Modules Installer Worker)<\/li>\n<li>Spend time\/energy protecting itself from viruses (looking at you, Antimalware Service Executable)<\/li>\n<\/ul>\n<\/li>\n<li>Parity check the files in a way to allow for recovery in the event of\u00a0bit rot (data degradation)<\/li>\n<li>Enable me to run open source packages easily (in particular, leverage Docker to manage software installs)\n<ul>\n<li>OpenVPN, NextCloud, ZoneMinder, for example.<\/li>\n<\/ul>\n<\/li>\n<li>Be more resilient to ransomware attacks (e.g. <a href=\"https:\/\/en.wikipedia.org\/wiki\/WannaCry_ransomware_attack\">WannaCry<\/a>)<\/li>\n<\/ul>\n<p>Choosing unRAID got me all of these missing things on my existing hardware. The only thing that is missing right now is a good parity checking solution to enable finding &amp; fixing data degradation on unRAID.<\/p>\n<p>In the next few posts I&#8217;ll cover how I did the conversion, and document some of the hassles I had to overcome to get unRAID working exactly the way I want it to.<\/p>\n<p>In that process I was able to:<\/p>\n<ol>\n<li><a href=\"https:\/\/kmwoley.com\/blog\/how-to-migrate-from-windows-raid-to-unraid\/\">Migrate the basic functionality and data of my Windows machine to unRAID<\/a><\/li>\n<li><a href=\"https:\/\/kmwoley.com\/blog\/convert-a-windows-installation-into-a-unraid-kvm-virtual-machine\/\">Copy my Windows installation to a VM running on unRAID<\/a>, and set it up with exclusive access to one of my disks outside of the NAS RAID array.<\/li>\n<li>Setup OpenVPN (which runs way better than it did on my\u00a0<a href=\"https:\/\/kmwoley.com\/blog\/raspberry-pi-openvpn-the-babys-webcam-secure-access-to-your-home-network\/\">Raspberry Pi<\/a>)<\/li>\n<li>Verify that unRAID&#8217;s parity system does indeed work to recover a failed disk.<\/li>\n<li>Setup custom fan controls so the machine runs very, very quietly (which is important, because it&#8217;s in our TV room)<\/li>\n<\/ol>\n<p><em><a href=\"https:\/\/kmwoley.com\/blog\/tag\/unraid\">Look for the unRAID tag to see all of the posts related to this project.<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the first in several posts about getting unRAID setup for the first time. Look for the unRAID tag to see all of the related posts. I&#8217;ve run a Windows 10 (and Vista, 7, 8, 8.1) machine as our household&#8217;s file server for many, many years. It worked well enough. I had two hard &hellip; <a href=\"https:\/\/kmwoley.com\/blog\/from-windows-to-unraid-choosing-my-next-home-server-os\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">From Windows to unRAID: choosing my next home-server OS<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[370,344,368,369,371,367,139,340],"class_list":["post-3292","post","type-post","status-publish","format-standard","hentry","category-geek","tag-freenas","tag-linux","tag-nas","tag-nas4free","tag-snapraid","tag-unraid","tag-windows","tag-windows-10"],"_links":{"self":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/3292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/comments?post=3292"}],"version-history":[{"count":8,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/3292\/revisions"}],"predecessor-version":[{"id":3348,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/3292\/revisions\/3348"}],"wp:attachment":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/media?parent=3292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/categories?post=3292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/tags?post=3292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}